Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #4

Merged
merged 3 commits into from
Jan 23, 2025
Merged
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
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions: read-all

jobs:
build-linux-amd64:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -35,7 +35,7 @@ jobs:
path: dist/

build-linux-arm64:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -133,8 +133,8 @@ jobs:
path: dist/

generate-manifest:
needs: [build-linux-amd64, build-macos-arm64, build-windows]
runs-on: ubuntu-latest
needs: [build-linux-amd64, build-linux-arm64, build-macos-arm64, build-windows]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:

build:
name: Build, lint and unit tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: generate-manifest
outputs:
plugin-id: ${{ steps.metadata.outputs.plugin-id }}
Expand Down Expand Up @@ -241,7 +241,6 @@ jobs:
echo "archive=${GRAFANA_PLUGIN_ARTIFACT}" >> $GITHUB_OUTPUT

- name: Add execute permissions on binary
if: needs.build.outputs.has-backend == 'true'
run: |
chmod +x ./dist/gpx_*

Expand All @@ -260,7 +259,7 @@ jobs:

resolve-versions:
name: Resolve e2e images
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 3
needs: build
if: ${{ needs.build.outputs.has-e2e == 'true' }}
Expand All @@ -281,7 +280,7 @@ jobs:
matrix:
GRAFANA_IMAGE: ${{fromJson(needs.resolve-versions.outputs.matrix)}}
name: e2e test ${{ matrix.GRAFANA_IMAGE.name }}@${{ matrix.GRAFANA_IMAGE.VERSION }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

Expand Down
Loading