Skip to content

Commit

Permalink
Remove tests for unused playbooks
Browse files Browse the repository at this point in the history
These playbooks are no longer in use for deploying to any of the
clusters. Removing the tests so as not to block real work.
  • Loading branch information
ssoriche committed Jan 31, 2024
1 parent 5a939f8 commit e9736ab
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 193 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/check-ubuntu-host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,35 +47,3 @@ jobs:
idempotence=$(mktemp)
sudo ansible-playbook -i inventories/ansible_test tests/deploy_docker_mgmt.yml | tee -a ${idempotence}
tail ${idempotence} | grep -q 'changed=2.*failed=0' && (echo 'Idempotence test: pass' && exit 0) || (echo 'Idempotence test: fail' && exit 1)
- name: playbooks/deploy_github-meets-cpan.yml
run: |
ansible-playbook -i inventories/ansible_test tests/deploy_github-meets-cpan.yml --syntax-check
ansible-playbook -vvvv -i inventories/ansible_test tests/deploy_github-meets-cpan.yml
idempotence=$(mktemp)
sudo ansible-playbook -i inventories/ansible_test tests/deploy_github-meets-cpan.yml | tee -a ${idempotence}
tail ${idempotence} | grep -q 'changed=1.*failed=0' && (echo 'Idempotence test: pass' && exit 0) || (echo 'Idempotence test: fail' && exit 1)
- name: playbooks/deploy_grep_metacpan.yml
run: |
ansible-playbook -i inventories/ansible_test tests/deploy_grep_metacpan.yml --syntax-check
ansible-playbook -vvvv -i inventories/ansible_test tests/deploy_grep_metacpan.yml
idempotence=$(mktemp)
sudo ansible-playbook -i inventories/ansible_test tests/deploy_grep_metacpan.yml | tee -a ${idempotence}
tail ${idempotence} | grep -q 'changed=1.*failed=0' && (echo 'Idempotence test: pass' && exit 0) || (echo 'Idempotence test: fail' && exit 1)
- name: playbooks/deploy_hound_metacpan.yml
run: |
ansible-playbook -i inventories/ansible_test tests/deploy_hound_metacpan.yml --syntax-check
ansible-playbook -vvvv -i inventories/ansible_test tests/deploy_hound_metacpan.yml
idempotence=$(mktemp)
sudo ansible-playbook -i inventories/ansible_test tests/deploy_hound_metacpan.yml | tee -a ${idempotence}
tail ${idempotence} | grep -q 'changed=1.*failed=0' && (echo 'Idempotence test: pass' && exit 0) || (echo 'Idempotence test: fail' && exit 1)
- name: playbooks/deploy_web_metacpan.yml
run: |
ansible-playbook -i inventories/ansible_test tests/deploy_web_metacpan.yml --syntax-check
ansible-playbook -vvvv -i inventories/ansible_test tests/deploy_web_metacpan.yml
idempotence=$(mktemp)
sudo ansible-playbook -i inventories/ansible_test tests/deploy_web_metacpan.yml | tee -a ${idempotence}
tail ${idempotence} | grep -q 'changed=0.*failed=0' && (echo 'Idempotence test: pass' && exit 0) || (echo 'Idempotence test: fail' && exit 1)
15 changes: 0 additions & 15 deletions inventories/ansible_test/hosts
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
# required for creating local docker containers based on inventory
[docker-hosts]
localhost ansible_connection=local ansible_python_interpreter="/usr/bin/env python3"

[container_hosts]
localhost

[github-meets-cpan]
localhost

[grep_metacpan]
localhost

[hound_metacpan]
localhost

[web_metacpan]
localhost
36 changes: 0 additions & 36 deletions tests/deploy_docker_mgmt.yml

This file was deleted.

20 changes: 0 additions & 20 deletions tests/deploy_github-meets-cpan.yml

This file was deleted.

33 changes: 0 additions & 33 deletions tests/deploy_grep_metacpan.yml

This file was deleted.

33 changes: 0 additions & 33 deletions tests/deploy_hound_metacpan.yml

This file was deleted.

24 changes: 0 additions & 24 deletions tests/deploy_web_metacpan.yml

This file was deleted.

0 comments on commit e9736ab

Please sign in to comment.