Skip to content

Commit

Permalink
Change Workflows to use SMS ARC runners (#376)
Browse files Browse the repository at this point in the history
Change Workflows to use SMS ARC runners
Fix ansible-lint workflow by pinning python version
  • Loading branch information
MaxBed4d authored Jan 31, 2025
1 parent 6531006 commit 4cdff62
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ jobs:
steps:
- uses: actions/checkout@v4

# Python version must be pinned because of issue with Ubuntu permissions
# See https://github.com/actions/runner-images/issues/11499
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install Ansible collections
run: |
ansible-galaxy collection install -r requirements.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/container-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ env:
jobs:
container-sync:
name: Sync container repositories
runs-on: arc-release-train-runner
runs-on: arc-release-train-runner-sms
timeout-minutes: 720
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package-sync-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
jobs:
sync-matrix-build:
name: Build package matrix of package repo sync jobs
runs-on: arc-release-train-runner
runs-on: arc-release-train-runner-sms
outputs:
matrix: ${{ steps.matrix-build.outputs.matrix }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package-sync-version-test-pulp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
jobs:
package-sync-version-test:
name: Sync specific package repository versions from Ark to Test Pulp
runs-on: arc-release-train-runner
runs-on: arc-release-train-runner-sms
steps:
- name: This workflow does not currently work. Test pulp does not exist.
run: exit 1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/package-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ env:
jobs:
package-sync-ark:
name: Sync package repositories in Ark
runs-on: arc-release-train-runner
runs-on: arc-release-train-runner-sms
timeout-minutes: 480
if: inputs.sync_ark
steps:
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:

package-sync-test:
name: Sync package repositories in test
runs-on: arc-release-train-runner
runs-on: arc-release-train-runner-sms
needs: package-sync-ark
timeout-minutes: 480
if: inputs.sync_test
Expand Down

0 comments on commit 4cdff62

Please sign in to comment.