Seafile : migrate to gitea registry : first try?

This commit is contained in:
Gitouche 2022-08-14 14:17:34 +02:00
parent 090c577020
commit 49171320c0
5 changed files with 7 additions and 3 deletions

View File

@ -8,6 +8,7 @@ seafile:
stage: test
script:
- cd podman-seafile
- ./ci_build-images.sh
- GARBAYE_SEAFILE_MYSQL_ROOT_PASSWORD=ecruebdfklj GARBAYE_SEAFILE_ENV_LISTENPORT=18082 ./05_freshinstall.sh
- ./20_enable.sh
- ./30_start.sh && sleep 10

View File

@ -35,7 +35,7 @@ export memcached_release
export listen_if
export listen_port
source ${ABSDIR}/zz_build-images.sh
podman image pull ${seafile_image}:${seafile_release} &&
podman image exists ${seafile_image}:${seafile_release} &&
podman pull docker.io/library/memcached:${memcached_release} &&
podman pull docker.io/library/mariadb:${mariadb_release} &&

View File

@ -16,7 +16,6 @@ Modifier la version cible dans `vars.sh` (ici pour l'exemple : `8.0.8`)
```
cd /opt/services-garbaye/podman-seafile
export GARBAYE_SEAFILE_MYSQL_ROOT_PASSWORD=XXXXXXXXXXXXXXXX
./zz_build-images.sh
./40_stop.sh
./70_disable.sh
./80_destroy.sh

View File

@ -20,4 +20,8 @@ if ! podman image exists ${seafile_image}:${seafile_release}; then
${buildfolder}/image/seafile_9.0 &&
podman rmi phusion/baseimage:focal-1.0.0
rm -rf ${buildfolder}
else
echo "Image ${seafile_image}:${seafile_release} already built"
fi
oci_push_to_registry ${seafile_image}:${seafile_release}

View File

@ -4,7 +4,7 @@ pod_name='podman-seafile'
service_name="pod-${pod_name}.service"
mariadb_release='10.5'
memcached_release='1.6'
seafile_image='localhost/seafileltd/seafile-mc'
seafile_image='git.garbaye.fr/garbaye/seafile-mc'
seafile_release='9.0.6'
dbvolume='podman-seafile_seafile-db'
datavolume='podman-seafile_seafile-data'