Compare commits

...

3 Commits

Author SHA1 Message Date
316293ed95
dirty temporary fix
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-05-13 20:43:10 +02:00
4ebb1b9a1f
changed registry and updated drone pipeline format
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing
2023-05-13 20:15:04 +02:00
4d8a9cf78d
fix warning on ISO build
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2020-03-02 00:17:21 +01:00
3 changed files with 13 additions and 8 deletions

View File

@ -1,4 +1,5 @@
kind: pipeline
type: docker
name: default
steps:
@ -8,7 +9,7 @@ steps:
settings:
daemon_off: false
dry_run: true
repo: registry.libreschool.org/libreschool-automation/libreschool-iso-builder
repo: git.libreschool.org/libreschool-automation/libreschool-iso-builder
tags:
- latest
when:
@ -21,14 +22,15 @@ steps:
pull: always
settings:
daemon_off: false
password:
from_secret: docker_password
registry: registry.libreschool.org
repo: registry.libreschool.org/libreschool-automation/libreschool-iso-builder
tags:
- latest
force_tag: true
registry: git.libreschool.org
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: git.libreschool.org/libreschool-automation/libreschool-iso-builder
tags:
- latest
when:
event:
- tag

View File

@ -1,8 +1,10 @@
FROM centos:7
RUN yum install -y epel-release && \
yum localinstall -y http://mirror.nethserver.org/nethserver/7/base/x86_64/Packages/nethserver-release-7-15.ns7.noarch.rpm && \
yum localinstall -y http://mirror.nethserver.org/nethserver/7/base/x86_64/Packages/nethserver-release-7-19.ns7.noarch.rpm && \
yum localinstall -y https://repo.libreschool.org/nethserver/7/base/x86_64/Packages/libreschool-release-1.0-1.noarch.rpm && \
sed -i 's/^gpgcheck.*/gpgcheck=0/' /etc/yum.repos.d/LibreSchool.repo && \
sed -i 's/^repo_gpgcheck.*/repo_gpgcheck=0/' /etc/yum.repos.d/LibreSchool.repo && \
yum install -y curl wget p7zip p7zip-plugins createrepo genisoimage syslinux isomd5sum cpio
ADD run.sh /usr/local/bin

1
run.sh
View File

@ -30,6 +30,7 @@ cp -vfr /drone/src/root/* /src/
echo "+ Adding GPG signing key"
curl -s "http://repo.libreschool.org/nethserver/RPM-GPG-KEY-LibreSchool" > /src/RPM-GPG-KEY-LibreSchool
rpm --import /src/RPM-GPG-KEY-LibreSchool
echo "+ Adding custom packages"
# TODO: find a way to remove packages already on ISO