Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/astarte-apps-build-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
jobs:
warmup:
name: Cache warmup
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: team-alembic/staple-actions/actions/mix-compile@a74b3b61209d35d45526df174766632f8aee03ed
Expand All @@ -28,7 +28,7 @@ jobs:

formatter:
name: Formatting
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- warmup
steps:
Expand All @@ -40,7 +40,7 @@ jobs:

credo:
name: Credo
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- warmup
steps:
Expand All @@ -52,7 +52,7 @@ jobs:

dialyzer:
name: Dialyzer
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- warmup
steps:
Expand All @@ -73,7 +73,7 @@ jobs:
name: Test
needs:
- warmup
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/astarte-build-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
astarte-build:
name: Astarte build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
matrix:
app:
Expand All @@ -29,7 +29,7 @@ jobs:
dockerfile: apps/astarte_trigger_engine/Dockerfile
tag: astarte/astarte_trigger_engine:1.3-snapshot
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build branch slug env variable (job-scoped)
Expand All @@ -51,7 +51,7 @@ jobs:
# Upload the built image as an artifact to be shared with other workflows
# we use the commit SHA to avoid collisions between different workflow runs
- name: Upload ${{ matrix.app.name }} artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
with:
# Give each image a unique artifact name to avoid clashes across matrix jobs
name: astarte-images-${{ matrix.app.name }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/astarte-e2e-build-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ env:
jobs:
end-to-end-build:
name: End-to-end build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: docker/setup-buildx-action@v3
- name: Build branch slug env variable (job-scoped)
run: |
Expand All @@ -29,7 +29,7 @@ jobs:
cache-from: type=gha,scope=astarte_e2e-${{ env.BRANCH_SLUG }}
cache-to: type=gha,mode=max,scope=astarte_e2e-${{ env.BRANCH_SLUG }}
- name: Upload artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
with:
name: astarte-e2e-image
path: ${{ runner.temp }}/astarte-e2e.tar
8 changes: 4 additions & 4 deletions .github/workflows/astarte-end-to-end-test-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,20 @@ jobs:
end-to-end-test:
needs: [e2e-build, astarte-build]
name: End-to-end Test
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Initialize docker compose files
run: docker run -v $(pwd)/compose:/compose astarte/docker-compose-initializer
- name: Restore astarte images
uses: actions/download-artifact@v4
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
with:
# Download all app images; merge them into the same directory for loading
pattern: astarte-images-*
merge-multiple: true
path: ${{ runner.temp }}
- name: Restore astarte e2e image
uses: actions/download-artifact@v4
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
with:
name: astarte-e2e-image
path: ${{ runner.temp }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/astarte-libs-build-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
jobs:
warmup:
name: Cache warmup
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: team-alembic/staple-actions/actions/mix-compile@a74b3b61209d35d45526df174766632f8aee03ed
Expand All @@ -29,7 +29,7 @@ jobs:

formatter:
name: Formatting
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- warmup
steps:
Expand All @@ -41,7 +41,7 @@ jobs:

credo:
name: Credo
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- warmup
steps:
Expand All @@ -53,7 +53,7 @@ jobs:

dialyzer:
name: Dialyzer
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- warmup
steps:
Expand All @@ -76,7 +76,7 @@ jobs:
name: Test
needs:
- warmup
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docs-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
jobs:
warmup:
name: Cache warmup
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: team-alembic/staple-actions/actions/mix-compile@a74b3b61209d35d45526df174766632f8aee03ed
Expand All @@ -28,7 +28,7 @@ jobs:

formatter:
name: Formatting
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- warmup
steps:
Expand All @@ -42,7 +42,7 @@ jobs:
name: Generation
needs:
- warmup
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: team-alembic/staple-actions/actions/mix-compile@a74b3b61209d35d45526df174766632f8aee03ed
Expand All @@ -57,7 +57,7 @@ jobs:
MIX_HOME: ${{ runner.temp }}/.mix
working-directory: doc/
- name: Upload documentation artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
with:
name: Documentation
path: doc/doc/
8 changes: 4 additions & 4 deletions .github/workflows/docs-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ on:

jobs:
docs:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
# Checkout the source
- uses: actions/checkout@v2
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
path: astarte
# Checkout the docs repository
- uses: actions/checkout@v2
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
repository: astarte-platform/docs
path: docs
Expand All @@ -41,7 +41,7 @@ jobs:
mkdir docs/$DOCS_DIRNAME
cp -r astarte/doc/doc/* docs/$DOCS_DIRNAME/
- name: Checkout Swagger UI
uses: actions/checkout@v2
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
repository: swagger-api/swagger-ui
path: swagger-ui
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-container-build-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
test-build-container:
name: Test Container Build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand All @@ -22,7 +22,7 @@ jobs:
- astarte-realm-management
- astarte-trigger-engine
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Building Docker Image
env:
CONTAINER_IMAGE_NAME: gh_actions_test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-snapshot-to-dockerhub-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:

push_snapshot_to_registry:
name: Push Docker images to Docker Hub
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
packages: write
contents: read
Expand All @@ -83,7 +83,7 @@ jobs:
- astarte_trigger_engine
steps:
- name: Check out the repo
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

- name: Get current datetime
id: datetime
Expand Down
Loading