Skip to content

Commit

Permalink
ci: Weekly test workflow batch #3
Browse files Browse the repository at this point in the history
  • Loading branch information
dashmage committed Feb 9, 2024
1 parent 29d919f commit 44e86b7
Showing 1 changed file with 138 additions and 0 deletions.
138 changes: 138 additions & 0 deletions .github/workflows/weekly_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,114 @@ jobs:
ref: master
wait_interval: 60

- name: Tests for charm-prometheus-libvirt-exporter
uses: convictional/[email protected]
id: charm-prometheus-libvirt-exporter
if: ${{ always() }}
with:
owner: canonical
repo: charm-prometheus-libvirt-exporter
github_token: ${{ secrets.GHA_WORKFLOW_TRIGGER }}
workflow_file_name: check.yaml
ref: master
wait_interval: 60

- name: Tests for charm-storage-connector
uses: convictional/[email protected]
id: charm-storage-connector
if: ${{ always() }}
with:
owner: canonical
repo: charm-storage-connector
github_token: ${{ secrets.GHA_WORKFLOW_TRIGGER }}
workflow_file_name: check.yaml
ref: master
wait_interval: 60

- name: Tests for charm-sysconfig
uses: convictional/[email protected]
id: charm-sysconfig
if: ${{ always() }}
with:
owner: canonical
repo: charm-sysconfig
github_token: ${{ secrets.GHA_WORKFLOW_TRIGGER }}
workflow_file_name: check.yaml
ref: master
wait_interval: 60

- name: Tests for charm-userdir-ldap
uses: convictional/[email protected]
id: charm-userdir-ldap
if: ${{ always() }}
with:
owner: canonical
repo: charm-userdir-ldap
github_token: ${{ secrets.GHA_WORKFLOW_TRIGGER }}
workflow_file_name: check.yaml
ref: master
wait_interval: 60

- name: Tests for prometheus-hardware-exporter
uses: convictional/[email protected]
id: prometheus-hardware-exporter
if: ${{ always() }}
with:
owner: canonical
repo: prometheus-hardware-exporter
github_token: ${{ secrets.GHA_WORKFLOW_TRIGGER }}
workflow_file_name: check.yaml
ref: main
wait_interval: 60

- name: Tests for prometheus-juju-exporter
uses: convictional/[email protected]
id: prometheus-juju-exporter
if: ${{ always() }}
with:
owner: canonical
repo: prometheus-juju-exporter
github_token: ${{ secrets.GHA_WORKFLOW_TRIGGER }}
workflow_file_name: pr.yaml
ref: main
wait_interval: 60

- name: Tests for prometheus-juju-backup-all-exporter
uses: convictional/[email protected]
id: prometheus-juju-backup-all-exporter
if: ${{ always() }}
with:
owner: canonical
repo: prometheus-juju-backup-all-exporter
github_token: ${{ secrets.GHA_WORKFLOW_TRIGGER }}
workflow_file_name: check.yaml
ref: main
wait_interval: 60

- name: Tests for snap-tempest
uses: convictional/[email protected]
id: snap-tempest
if: ${{ always() }}
with:
owner: canonical
repo: snap-tempest
github_token: ${{ secrets.GHA_WORKFLOW_TRIGGER }}
workflow_file_name: pr.yaml
ref: main
wait_interval: 60

- name: Tests for charmed-openstack-upgrader
uses: convictional/[email protected]
id: charmed-openstack-upgrader
if: ${{ always() }}
with:
owner: canonical
repo: charmed-openstack-upgrader
github_token: ${{ secrets.GHA_WORKFLOW_TRIGGER }}
workflow_file_name: check.yaml
ref: main
wait_interval: 60

- name: Collect failed tests
id: collect-failed-tests
if: ${{ failure() }}
Expand Down Expand Up @@ -214,6 +322,36 @@ jobs:
if [ "${{ steps.charm-prometheus-blackbox-exporter.outcome }}" != "success" ]; then
failed_tests+="[charm-prometheus-blackbox-exporter](https://github.com/canonical/charm-prometheus-blackbox-exporter/actions), "
fi
if [ "${{ steps.charm-prometheus-libvirt-exporter.outcome }}" != "success" ]; then
failed_tests+="[charm-prometheus-libvirt-exporter](https://github.com/canonical/charm-prometheus-libvirt-exporter/actions), "
fi
if [ "${{ steps.charm-simple-streams.outcome }}" != "success" ]; then
failed_tests+="[charm-simple-streams](https://github.com/canonical/charm-simple-streams/actions), "
fi
if [ "${{ steps.charm-storage-connector.outcome }}" != "success" ]; then
failed_tests+="[charm-storage-connector](https://github.com/canonical/charm-storage-connector/actions), "
fi
if [ "${{ steps.charm-sysconfig.outcome }}" != "success" ]; then
failed_tests+="[charm-sysconfig](https://github.com/canonical/charm-sysconfig/actions), "
fi
if [ "${{ steps.charm-userdir-ldap.outcome }}" != "success" ]; then
failed_tests+="[charm-userdir-ldap](https://github.com/canonical/charm-userdir-ldap/actions), "
fi
if [ "${{ steps.prometheus-hardware-exporter.outcome }}" != "success" ]; then
failed_tests+="[prometheus-hardware-exporter](https://github.com/canonical/prometheus-hardware-exporter/actions), "
fi
if [ "${{ steps.prometheus-juju-exporter.outcome }}" != "success" ]; then
failed_tests+="[prometheus-juju-exporter](https://github.com/canonical/prometheus-juju-exporter/actions), "
fi
if [ "${{ steps.prometheus-juju-backup-all-exporter.outcome }}" != "success" ]; then
failed_tests+="[prometheus-juju-backup-all-exporter](https://github.com/canonical/prometheus-juju-backup-all-exporter/actions), "
fi
if [ "${{ steps.snap-tempest.outcome }}" != "success" ]; then
failed_tests+="[snap-tempest](https://github.com/canonical/snap-tempest/actions), "
fi
if [ "${{ steps.charmed-openstack-upgrader.outcome }}" != "success" ]; then
failed_tests+="[charmed-openstack-upgrader](https://github.com/canonical/charmed-openstack-upgrader/actions), "
fi
# Set the output variable to pass the failed tests to the next job
echo "failed_tests=$failed_tests" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 44e86b7

Please sign in to comment.