Update .gitlab-ci.yml file
This commit is contained in:
parent
33b709bac9
commit
272537e080
@ -1,5 +1,3 @@
|
|||||||
image: debian:bullseye
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
- deploy
|
- deploy
|
||||||
@ -15,6 +13,7 @@ before_script:
|
|||||||
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
||||||
|
|
||||||
docker-compose-test:
|
docker-compose-test:
|
||||||
|
image: debian:bullseye
|
||||||
stage: test
|
stage: test
|
||||||
when: always
|
when: always
|
||||||
rules:
|
rules:
|
||||||
@ -27,6 +26,7 @@ docker-compose-test:
|
|||||||
|
|
||||||
|
|
||||||
server-deploy:
|
server-deploy:
|
||||||
|
image: debian:bullseye
|
||||||
stage: deploy
|
stage: deploy
|
||||||
when: always
|
when: always
|
||||||
rules:
|
rules:
|
||||||
@ -37,6 +37,7 @@ server-deploy:
|
|||||||
- ssh joey@joey-server "cd /home/joey/homelab && git pull"
|
- ssh joey@joey-server "cd /home/joey/homelab && git pull"
|
||||||
|
|
||||||
seedbox-deploy:
|
seedbox-deploy:
|
||||||
|
image: debian:bullseye
|
||||||
stage: deploy
|
stage: deploy
|
||||||
when: always
|
when: always
|
||||||
rules:
|
rules:
|
||||||
@ -47,6 +48,7 @@ seedbox-deploy:
|
|||||||
- ssh joey@joey-seedbox "cd /home/joey/homelab && git pull"
|
- ssh joey@joey-seedbox "cd /home/joey/homelab && git pull"
|
||||||
|
|
||||||
jafner-tools-deploy:
|
jafner-tools-deploy:
|
||||||
|
image: debian:bullseye
|
||||||
stage: deploy
|
stage: deploy
|
||||||
when: always
|
when: always
|
||||||
rules:
|
rules:
|
||||||
|
Loading…
Reference in New Issue
Block a user