Merge pull request 'master' (#15) from master into prod
Reviewed-on: #15
This commit is contained in:
commit
9cdbfa177d
@ -41,6 +41,8 @@ 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
|
||||||
|
@ -41,6 +41,8 @@ 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
Normal file
12
run.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user