Skip to content

Commit

Permalink
clean .gitlab-ci and test-lint workflow (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouba-cassation authored Jun 26, 2024
1 parent e4e61c5 commit af65476
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ on:
- dev
- re7
- master
#- opsDeployDev
push:
branches:
- dev
- re7
- master
#- opsDeployDev

jobs:
build:
Expand Down
3 changes: 0 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,12 @@ deploy_label_backend:
image: alpine/ansible:2.16.1
script:
- inventaire=$(eval "echo \$$CI_COMMIT_BRANCH")
- echo $docker_backend_image
- mkdir /root/.ssh
- cat $SSH_KEY > /root/.ssh/id_rsa
- cat $KNOWN_HOSTS > /root/.ssh/known_hosts
- chmod 600 /root/.ssh/id_rsa
- chmod 600 /root/.ssh/known_hosts
- ansible-playbook -e label_backend_image=$docker_backend_image -i ansible/inventories/$inventaire.yml ansible/deploy_label_backend.yml --vault-password-file=$ANSIBLE_VAULT_PASS
- echo $label_backend_image
rules:
- if: $CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH == "re7"
when: manual
Expand All @@ -114,7 +112,6 @@ deploy_label_client:
- chmod 600 /root/.ssh/id_rsa
- chmod 600 /root/.ssh/known_hosts
- ansible-playbook -e label_client_image=$docker_client_image -i ansible/inventories/$inventaire.yml ansible/deploy_label_client.yml --vault-password-file=$ANSIBLE_VAULT_PASS
- echo $label_client_image
rules:
- if: $CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH == "re7"
when: manual
Expand Down

0 comments on commit af65476

Please sign in to comment.