separate-database #2

Merged
giles merged 16 commits from separate-database into master 2023-10-20 10:16:52 +00:00
2 changed files with 2 additions and 0 deletions
Showing only changes of commit 16e37774ac - Show all commits

View File

@ -1,4 +1,5 @@
export LOCAL_DOCKER_REGISTRY=${REGISTRY_DOMAIN}:${REGISTRY_PORT}/${ROOT}/${NAME}/ \ export LOCAL_DOCKER_REGISTRY=${REGISTRY_DOMAIN}:${REGISTRY_PORT}/${ROOT}/${NAME}/ \
&& echo $1 \
&& export TAG=$1 \ && export TAG=$1 \
&& docker stack rm gitea \ && docker stack rm gitea \
&& echo 'sleeping...zzz' \ && echo 'sleeping...zzz' \

View File

@ -330,6 +330,7 @@ steps:
- export ROOT=stack - export ROOT=stack
- cd /stack/gitea - cd /stack/gitea
- "n=0\nwhile :\ndo\n docker login $${REGISTRY_DOMAIN}:$${REGISTRY_PORT}/ --username client --password \"$${REGISTRY_PASSWORD}\" \\\\\n && break # substitute your command here\n n=$((n+1))\n if [ $n -ge 10 ]; then\n echo \"login failed\"\n exit 1\n fi\n echo \"retrying login..$n\"\n sleep 5\ndone\n" - "n=0\nwhile :\ndo\n docker login $${REGISTRY_DOMAIN}:$${REGISTRY_PORT}/ --username client --password \"$${REGISTRY_PASSWORD}\" \\\\\n && break # substitute your command here\n n=$((n+1))\n if [ $n -ge 10 ]; then\n echo \"login failed\"\n exit 1\n fi\n echo \"retrying login..$n\"\n sleep 5\ndone\n"
- echo $${DRONE_COMMIT_SHA}
- sh .drone/pull.sh $${DRONE_COMMIT_SHA} - sh .drone/pull.sh $${DRONE_COMMIT_SHA}
- sh .drone/deploy.sh $${DRONE_COMMIT_SHA} - sh .drone/deploy.sh $${DRONE_COMMIT_SHA}
environment: environment: