Compare commits

..

No commits in common. "9cdbfa177d781a4366b4d89f6d607d4c7980ede1" and "0fc131043a3512e2612971b7f8add10a7678447f" have entirely different histories.

3 changed files with 0 additions and 16 deletions

View File

@ -41,8 +41,6 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
ref: dev ref: dev
- name: prepare
run: chmod 777 ./run.sh && ./run.sh
- name: deploy swarmpit - name: deploy swarmpit
run: docker stack deploy --with-registry-auth -c ./.deploy-swarmpit/deploy-dev.yaml swarmpit run: docker stack deploy --with-registry-auth -c ./.deploy-swarmpit/deploy-dev.yaml swarmpit
- name: deploy portainer - name: deploy portainer

View File

@ -41,8 +41,6 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
ref: prod ref: prod
- name: prepare
run: chmod 777 ./run.sh && ./run.sh
- name: deploy swarmpit - name: deploy swarmpit
run: docker stack deploy --with-registry-auth -c ./.deploy-swarmpit/deploy-prod.yaml swarmpit run: docker stack deploy --with-registry-auth -c ./.deploy-swarmpit/deploy-prod.yaml swarmpit
- name: deploy portainer - name: deploy portainer

12
run.sh
View File

@ -1,12 +0,0 @@
docker login -u mathwave -p $DOCKERHUB_PASSWORD
docker network create -d overlay --attachable swarmpit-nginx || true
docker network create -d overlay --attachable common-infra-nginx || true
docker network create -d overlay --attachable queues || true
mkdir /sprint-data/mongo || true
mkdir /sprint-data/redis || true
mkdir /sprint-data/rabbitmq || true
mkdir /sprint-data/certs || true
mkdir /sprint-data/gitea || true
chmod 777 /sprint-data/redis
chmod 777 /sprint-data/rabbitmq
chmod 777 /sprint-data/gitea