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
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
NX_BRANCH: ${{ github.event.number || github.ref_name }}
steps:
- id: get-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@get-vault-secrets/v1.2.1
uses: grafana/shared-workflows/actions/get-vault-secrets@9f37f656e063f0ad0b0bfc38d49894b57d363936 # get-vault-secrets/v1.2.1
with:
# Secrets placed in the ci/repo/grafana/plugin-tools in vault
repo_secrets: |
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
WORKING_DIR: 'myorg-nobackend-panel'
steps:
- id: get-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@get-vault-secrets/v1.2.1
uses: grafana/shared-workflows/actions/get-vault-secrets@9f37f656e063f0ad0b0bfc38d49894b57d363936 # get-vault-secrets/v1.2.1
with:
# Secrets placed in the ci/repo/grafana/plugin-tools in vault
repo_secrets: |
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
working-directory: ./${{ env.WORKING_DIR }}

- name: Wait for grafana server (10.4.0)
uses: grafana/plugin-actions/wait-for-grafana@wait-for-grafana/v1.0.1
uses: grafana/plugin-actions/wait-for-grafana@752a92aaebfcd83121acc27293c93b7013d30deb # wait-for-grafana/v1.0.1
with:
url: http://localhost:3000/login

Expand Down Expand Up @@ -228,7 +228,7 @@ jobs:
working-directory: ./${{ env.WORKING_DIR }}

- name: Wait for grafana server (10.4.0)
uses: grafana/plugin-actions/wait-for-grafana@wait-for-grafana/v1.0.1
uses: grafana/plugin-actions/wait-for-grafana@752a92aaebfcd83121acc27293c93b7013d30deb # wait-for-grafana/v1.0.1
with:
url: http://localhost:3000/login

Expand Down Expand Up @@ -273,15 +273,15 @@ jobs:
hasBackend: false
steps:
- id: get-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@get-vault-secrets/v1.2.1
uses: grafana/shared-workflows/actions/get-vault-secrets@9f37f656e063f0ad0b0bfc38d49894b57d363936 # get-vault-secrets/v1.2.1
with:
# Secrets placed in the ci/repo/grafana/plugin-tools in vault
repo_secrets: |
GRAFANA_ACCESS_POLICY_TOKEN=gcom_access_policy_token:gcom_access_policy_token
export_env: false

- name: Get secrets for DockerHub login
uses: grafana/shared-workflows/actions/get-vault-secrets@get-vault-secrets/v1.2.1
uses: grafana/shared-workflows/actions/get-vault-secrets@9f37f656e063f0ad0b0bfc38d49894b57d363936 # get-vault-secrets/v1.2.1
with:
common_secrets: |
DOCKERHUB_USERNAME=dockerhub:username
Expand Down Expand Up @@ -352,7 +352,7 @@ jobs:
working-directory: ./${{ matrix.workingDir }}

- name: Log in to Docker Hub
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
with:
username: ${{ env.DOCKERHUB_USERNAME }}
password: ${{ env.DOCKERHUB_PASSWORD }}
Expand All @@ -362,7 +362,7 @@ jobs:
working-directory: ./${{ matrix.workingDir }}

- name: Wait for grafana server (latest)
uses: grafana/plugin-actions/wait-for-grafana@wait-for-grafana/v1.0.1
uses: grafana/plugin-actions/wait-for-grafana@752a92aaebfcd83121acc27293c93b7013d30deb # wait-for-grafana/v1.0.1
with:
url: http://localhost:3000/login

Expand All @@ -377,7 +377,7 @@ jobs:
working-directory: ./${{ matrix.workingDir }}

- name: Upload e2e test summary (latest)
uses: grafana/plugin-actions/playwright-gh-pages/upload-report-artifacts@upload-report-artifacts/v1.0.1
uses: grafana/plugin-actions/playwright-gh-pages/upload-report-artifacts@fa3356df288e68f5e900ab466e98b0bf9bad3118 # upload-report-artifacts/v1.0.1
if: ${{ always() && steps.run-e2e-tests.outcome == 'failure' }}
with:
plugin-name: ${{ matrix.workingDir }}
Expand Down Expand Up @@ -408,7 +408,7 @@ jobs:
working-directory: ./${{ matrix.workingDir }}

- name: Wait for grafana server (${{ steps.min-version.outputs.MIN_VERSION }})
uses: grafana/plugin-actions/wait-for-grafana@wait-for-grafana/v1.0.1
uses: grafana/plugin-actions/wait-for-grafana@752a92aaebfcd83121acc27293c93b7013d30deb # wait-for-grafana/v1.0.1
with:
url: http://localhost:3000/login

Expand All @@ -422,7 +422,7 @@ jobs:
working-directory: ./${{ matrix.workingDir }}

- name: Upload e2e test summary (${{ steps.min-version.outputs.MIN_VERSION }})
uses: grafana/plugin-actions/playwright-gh-pages/upload-report-artifacts@upload-report-artifacts/v1.0.1
uses: grafana/plugin-actions/playwright-gh-pages/upload-report-artifacts@fa3356df288e68f5e900ab466e98b0bf9bad3118 # upload-report-artifacts/v1.0.1
if: ${{ always() && steps.run-e2e-tests-min-version.outcome == 'failure' }}
with:
plugin-name: ${{ matrix.workingDir }}
Expand Down Expand Up @@ -478,7 +478,7 @@ jobs:
persist-credentials: false

- name: Publish report
uses: grafana/plugin-actions/playwright-gh-pages/deploy-report-pages@deploy-report-pages/v1.0.1
uses: grafana/plugin-actions/playwright-gh-pages/deploy-report-pages@376226a5245b6b8bbb95127241c430ef8d6aa643 # deploy-report-pages/v1.0.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
retention-days: 7
Expand All @@ -495,7 +495,7 @@ jobs:
id-token: write
steps:
- id: get-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@get-vault-secrets/v1.2.1
uses: grafana/shared-workflows/actions/get-vault-secrets@9f37f656e063f0ad0b0bfc38d49894b57d363936 # get-vault-secrets/v1.2.1
with:
# Secrets placed in the ci/repo/grafana/plugin-tools in vault
repo_secrets: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-developer-portal-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
NX_BRANCH: ${{ github.event.number || github.ref_name }}
steps:
- id: get-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@get-vault-secrets/v1.2.1
uses: grafana/shared-workflows/actions/get-vault-secrets@9f37f656e063f0ad0b0bfc38d49894b57d363936 # get-vault-secrets/v1.2.1
with:
# Secrets placed in the ci/repo/grafana/plugin-tools in vault
repo_secrets: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-to-developer-portal-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
NX_BRANCH: ${{ github.event.number || github.ref_name }}
steps:
- id: get-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@get-vault-secrets/v1.2.1
uses: grafana/shared-workflows/actions/get-vault-secrets@9f37f656e063f0ad0b0bfc38d49894b57d363936 # get-vault-secrets/v1.2.1
with:
# Secrets placed in the ci/repo/grafana/plugin-tools in vault
repo_secrets: |
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Build documentation website
run: npm run docs:build

- uses: grafana/shared-workflows/actions/login-to-gcs@login-to-gcs/v0.2.1
- uses: grafana/shared-workflows/actions/login-to-gcs@d624b4697def2465e048a72469769490afc607f0 # login-to-gcs/v0.2.1
id: login-to-gcs
with:
service_account: 'github-developer-portal@grafanalabs-workload-identity.iam.gserviceaccount.com'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lapo-create-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-x64
steps:
- id: get-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@get-vault-secrets/v1.2.1
uses: grafana/shared-workflows/actions/get-vault-secrets@9f37f656e063f0ad0b0bfc38d49894b57d363936 # get-vault-secrets/v1.2.1
with:
# Secrets placed in the ci/repo/grafana/plugin-tools
repo_secrets: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lapo-generate-embeddings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
id-token: write
steps:
- id: get-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@get-vault-secrets/v1.2.1
uses: grafana/shared-workflows/actions/get-vault-secrets@9f37f656e063f0ad0b0bfc38d49894b57d363936 # get-vault-secrets/v1.2.1
with:
# Secrets placed in the ci/repo/grafana/plugin-tools in vault
repo_secrets: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: Resolve Grafana E2E versions
id: resolve-versions
uses: grafana/plugin-actions/e2e-version@e2e-version/v1.1.2
uses: grafana/plugin-actions/e2e-version@698612a13f3253e7dcd5b3c66823acc73321a5ed # e2e-version/v1.1.2
with:
version-resolver-type: plugin-grafana-dependency
grafana-dependency: '>=8.5.0'
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
export_env: false

- name: Log in to Docker Hub
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
with:
username: ${{ fromJSON(steps.get-secrets.outputs.secrets).DOCKERHUB_USERNAME }}
password: ${{ fromJSON(steps.get-secrets.outputs.secrets).DOCKERHUB_PASSWORD }}
Expand All @@ -83,7 +83,7 @@ jobs:
ANONYMOUS_AUTH_ENABLED=false GRAFANA_IMAGE=${{ matrix.GRAFANA_IMAGE.NAME }} GRAFANA_VERSION=${{ matrix.GRAFANA_IMAGE.VERSION }} docker compose up -d

- name: Wait for grafana server
uses: grafana/plugin-actions/wait-for-grafana@wait-for-grafana/v1.0.1
uses: grafana/plugin-actions/wait-for-grafana@752a92aaebfcd83121acc27293c93b7013d30deb # wait-for-grafana/v1.0.1
with:
url: http://localhost:3000/login

Expand All @@ -92,7 +92,7 @@ jobs:
run: npm run playwright:test --w @grafana/plugin-e2e

- name: Upload e2e test summary
uses: grafana/plugin-actions/playwright-gh-pages/upload-report-artifacts@upload-report-artifacts/v1.0.1
uses: grafana/plugin-actions/playwright-gh-pages/upload-report-artifacts@fa3356df288e68f5e900ab466e98b0bf9bad3118 # upload-report-artifacts/v1.0.1
if: ${{ always() && !cancelled() }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -112,7 +112,7 @@ jobs:
persist-credentials: false

- name: Publish report
uses: grafana/plugin-actions/playwright-gh-pages/deploy-report-pages@deploy-report-pages/v1.0.1
uses: grafana/plugin-actions/playwright-gh-pages/deploy-report-pages@376226a5245b6b8bbb95127241c430ef8d6aa643 # deploy-report-pages/v1.0.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
retention-days: 7
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
stale:
runs-on: ubuntu-x64
steps:
- uses: actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
with:
# Number of days of inactivity before a stale Issue or Pull Request is closed.
# Set to -1 to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
Expand Down
Loading