Skip to content

Commit

Permalink
Downgrade ubuntu-latest to ubuntu-22.04 (AcademySoftwareFoundation#1535
Browse files Browse the repository at this point in the history
)

grpcio and grpcio-tools packages are failing to be built on pip for
ubuntu-latest. For now we're locking the ubuntu version to make the
pipeline more stable.
  • Loading branch information
DiegoTavares authored Oct 15, 2024
1 parent e5ce1ed commit 78df440
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/packaging-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
integration_test:
name: Run Integration Test
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
ARTIFACTS: cueadmin-${BUILD_ID}-all.tar.gz

name: Build ${{ matrix.NAME }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
create_other_artifacts:
name: Create Other Build Artifacts
needs: build_components
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/post-release-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
create_blog_post:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Create Blog Post
steps:
- name: Trigger blog post workflow
Expand All @@ -18,7 +18,7 @@ jobs:
WORKFLOW_ID: 2618928
run: |
# Trigger the workflow in the opencue.io repository.
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Content-Type: application/json" \
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
preflight:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Preflight
steps:
- name: Checkout code
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
release_docker_images:
needs: preflight
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
component: [cuebot, rqd, pycue, pyoutline, cuegui, cuesubmit, cueadmin]
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
create_release:
needs: preflight
name: Create Release
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sonar-cloud-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
analyze_python:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: aswf/ci-opencue:2024.1
name: Analyze Python Components
env:
Expand All @@ -30,7 +30,7 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

analyze_cuebot:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: aswf/ci-opencue:2024.1
name: Analyze Cuebot
env:
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/testing-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
test_python_2022:
name: Run Python Unit Tests (CY2022)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: aswf/ci-opencue:2022
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
Expand All @@ -20,7 +20,7 @@ jobs:

test_cuebot_2022:
name: Build Cuebot and Run Unit Tests (CY2022)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container:
image: aswf/ci-opencue:2022
env:
Expand All @@ -34,7 +34,7 @@ jobs:
test_python_2023:
name: Run Python Unit Tests (CY2023)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: aswf/ci-opencue:2023
steps:
- uses: actions/checkout@v3
Expand All @@ -43,7 +43,7 @@ jobs:

test_cuebot_2023:
name: Build Cuebot and Run Unit Tests (CY2023)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container:
image: aswf/ci-opencue:2023
steps:
Expand All @@ -55,7 +55,7 @@ jobs:
test_python_2024:
name: Run Python Unit Tests (CY2024)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: aswf/ci-opencue:2024
steps:
- uses: actions/checkout@v3
Expand All @@ -64,7 +64,7 @@ jobs:

test_cuebot_2024:
name: Build Cuebot and Run Unit Tests (CY2024)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container:
image: aswf/ci-opencue:2024
steps:
Expand All @@ -76,7 +76,7 @@ jobs:
lint_python:
name: Lint Python Code
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container: aswf/ci-opencue:2022
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
Expand All @@ -87,7 +87,7 @@ jobs:

test_sphinx:
name: Test Documentation Build
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
container:
image: aswf/ci-opencue:2023
steps:
Expand All @@ -97,7 +97,7 @@ jobs:

check_changed_files:
name: Check Changed Files
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Get Changed Files
Expand All @@ -108,15 +108,15 @@ jobs:

check_migration_files:
name: Check Database Migration Files
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Check Migration Files
run: ci/check_database_migrations.py

check_for_version_bump:
name: Check for Version Bump
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Get Changed Files
Expand Down

0 comments on commit 78df440

Please sign in to comment.