-
Notifications
You must be signed in to change notification settings - Fork 569
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into yuri/grpc-cluster-val…
…idation
- Loading branch information
Showing
45 changed files
with
991 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,16 @@ on: | |
paths: | ||
- 'operations/helm/**' | ||
|
||
# These permissions are needed to assume roles from Github's OIDC. | ||
permissions: | ||
contents: read | ||
id-token: write | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
jobs: | ||
prepare: | ||
if: github.event.pull_request.user.login == 'renovate[bot]' | ||
runs-on: ubuntu-latest | ||
|
@@ -21,6 +26,22 @@ jobs: | |
- name: Get build image from Makefile | ||
id: build_image_step | ||
run: echo "build_image=$(make print-build-image)" >> "$GITHUB_OUTPUT" | ||
# Retrieve GitHub App Credentials from Vault | ||
- name: Retrieve GitHub App Credentials from Vault | ||
id: get-secrets | ||
uses: grafana/shared-workflows/actions/[email protected] | ||
with: | ||
repo_secrets: | | ||
APP_ID=mimir-github-bot:app_id | ||
PRIVATE_KEY=mimir-github-bot:private_key | ||
# Generate GitHub App Token | ||
- name: Generate GitHub App Token | ||
id: app-token | ||
uses: actions/create-github-app-token@v1 | ||
with: | ||
app-id: ${{ steps.get-secrets.outputs.APP_ID }} | ||
private-key: ${{ steps.get-secrets.outputs.PRIVATE_KEY }} | ||
owner: ${{ github.repository_owner }} | ||
outputs: | ||
build_image: ${{ steps.build_image_step.outputs.build_image }} | ||
|
||
|
@@ -34,27 +55,27 @@ jobs: | |
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.GH_BOT_ACCESS_TOKEN }} | ||
token: ${{ steps.app-token.outputs.token }} | ||
|
||
- name: Run Git Config | ||
run: | | ||
git config --global --add safe.directory '*' | ||
git config --global user.email "${{ github.event.pull_request.user.login }}@users.noreply.github.com" | ||
git config --global user.name "${{ github.event.pull_request.user.login }}" | ||
- name: Install the gh cli | ||
uses: ksivamuthu/actions-setup-gh-cli@v2 | ||
|
||
- name: Checkout Pull Request Branch | ||
run: gh pr checkout ${{ github.event.pull_request.number }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_BOT_ACCESS_TOKEN }} | ||
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} | ||
|
||
- name: Run make targets | ||
id: update | ||
run: | | ||
make BUILD_IN_CONTAINER=false doc build-helm-tests | ||
- name: Check Updates | ||
id: check_updates | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 5 additions & 4 deletions
9
operations/mimir-mixin-compiled-gem/dashboards/federation-frontend.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.