Skip to content

Commit

Permalink
Deal with issues with the github action base images
Browse files Browse the repository at this point in the history
  • Loading branch information
fbanados committed Oct 17, 2024
1 parent dd26213 commit 3872ac1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/reformat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

reformat-altlabel:
if: "! contains(toJSON(github.event.commits.*.message), '[skip reformat]')"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -31,7 +31,7 @@ jobs:
commit_message: "🤖🧹 reformat crk.altlabel [skip ci]"

reformat-python:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
# Ensure this is run **sequentially**
needs: reformat-altlabel
steps:
Expand All @@ -53,7 +53,7 @@ jobs:
commit_message: "🤖🧹 reformat Python files [skip ci]"

reformat-javascript:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
# Ensure this is run **sequentially**
needs: reformat-python
steps:
Expand All @@ -77,7 +77,7 @@ jobs:
reformat-importjson:
if: "! contains(toJSON(github.event.commits.*.message), '[skip reformat]')"
needs: reformat-javascript
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# when using [skip ci]. See
# https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/
should-deploy:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

outputs:
should-run: ${{github.repository_owner == 'UAlbertaALTLab' && github.ref == 'refs/heads/main' }}
Expand All @@ -23,7 +23,7 @@ jobs:
- run: true

should-update-dev:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

outputs:
should-run: ${{ github.repository_owner == 'UAlbertaALTLab' && github.ref == 'refs/heads/dev' }}
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:

# Runs Cypress acceptance tests
integration-test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
cypress/videos
build-docker-image-dev:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

# Only build the Docker Image when we're deploying!
needs:
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
ghcr.io/ualbertaaltlab/itwewina.altlab.app:${{ github.sha }}
update-docker-dev-tag:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

needs:
- should-update-dev
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
GHCR_PERSONAL_ACCESS_TOKEN: ${{ secrets.GHCR_PERSONAL_ACCESS_TOKEN }}

build-docker-image:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

# Only build the Docker Image when we're deploying!
needs:
Expand Down Expand Up @@ -251,7 +251,7 @@ jobs:
ghcr.io/ualbertaaltlab/itwewina.altlab.app:${{ github.sha }}
trigger-deployment:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

needs:
- should-deploy
Expand Down

0 comments on commit 3872ac1

Please sign in to comment.