CI: Add a periodic multinode job #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# This workflow provides a scheduled deploy of a multi-node test cluster. | |
name: Multinode periodic | |
'on': | |
push: | |
schedule: | |
# Runs nightly at 2:42 AM. | |
- cron: "42 2 * * *" | |
jobs: | |
generate-inputs: | |
name: Generate inputs | |
runs-on: ubuntu-latest | |
outputs: | |
os_distribution: ${{ steps.generate-inputs.outputs.os_distribution }} | |
os_release: ${{ steps.generate-inputs.outputs.os_release }} | |
ssh_username: ${{ steps.generate-inputs.outputs.ssh_username }} | |
neutron_plugin: ${{ steps.generate-inputs.outputs.neutron_plugin }} | |
upgrade: ${{ steps.generate-inputs.outputs.upgrade }} | |
stackhpc_kayobe_config_version: ${{ steps.generate-inputs.outputs.stackhpc_kayobe_config_version }} | |
stackhpc_kayobe_config_previous_version: ${{ steps.generate-inputs.outputs.stackhpc_kayobe_config_previous_version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Generate inputs | |
id: generate-inputs | |
run: | | |
python3 .github/workflows/multinode-inputs.py >> $GITHUB_OUTPUT | |
multinode: | |
name: Multinode periodic | |
needs: | |
- generate-inputs | |
# FIXME: slack | |
uses: stackhpc/stackhpc-openstack-gh-workflows/.github/workflows/multinode.yml@slack | |
with: | |
multinode_name: mn-prdc-${{ github.run_id }} | |
os_distribution: ${{ needs.generate-inputs.outputs.os_distribution }} | |
os_release: ${{ needs.generate-inputs.outputs.os_release }} | |
ssh_username: ${{ needs.generate-inputs.outputs.ssh_username }} | |
neutron_plugin: ${{ needs.generate-inputs.outputs.neutron_plugin }} | |
upgrade: ${{ toJSON(needs.generate-inputs.outputs.upgrade) }} | |
stackhpc_kayobe_config_version: ${{ needs.generate-inputs.outputs.stackhpc_kayobe_config_version }} | |
# NOTE(upgrade): Reference the PREVIOUS release here. | |
stackhpc_kayobe_config_previous_version: ${{ needs.generate-inputs.outputs.stackhpc_kayobe_config_previous_version }} | |
enable_slack_alert: true | |
# FIXME: Remove | |
break_on: failure | |
secrets: inherit |