From 757e25d4bcd4e3d91f6f4acb2bf6fab0b3880092 Mon Sep 17 00:00:00 2001 From: Radek Scheibinger Date: Mon, 22 Apr 2024 18:48:16 +0200 Subject: [PATCH] cleanup old code from the previous workflow, suggestions from pr comments --- .github/workflows/crib-helm-chart-pr.yml | 5 ++-- .../crib-helm-chart-push-develop.yml | 27 +------------------ 2 files changed, 4 insertions(+), 28 deletions(-) diff --git a/.github/workflows/crib-helm-chart-pr.yml b/.github/workflows/crib-helm-chart-pr.yml index ae13f277a02..7ccf8061556 100644 --- a/.github/workflows/crib-helm-chart-pr.yml +++ b/.github/workflows/crib-helm-chart-pr.yml @@ -42,5 +42,6 @@ jobs: with: # grafana inputs metrics-job-name: ci-build-charts - gc-basic-auth: ${{ secrets.GRAFANA_CLOUD_BASIC_AUTH }} - gc-host: ${{ secrets.GRAFANA_CLOUD_HOST }} \ No newline at end of file + gc-basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} + gc-host: ${{ secrets.GRAFANA_INTERNAL_HOST }} + gc-org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} \ No newline at end of file diff --git a/.github/workflows/crib-helm-chart-push-develop.yml b/.github/workflows/crib-helm-chart-push-develop.yml index a03e3e3823e..5b06344b461 100644 --- a/.github/workflows/crib-helm-chart-push-develop.yml +++ b/.github/workflows/crib-helm-chart-push-develop.yml @@ -6,34 +6,9 @@ on: - develop paths: - "charts/**" - - ".github/workflows/crib-helm-chart.yml" + - ".github/workflows/crib-helm-chart-pr.yml" - ".github/workflows/crib-helm-chart-push-develop.yml" jobs: - helm_release: - runs-on: ubuntu-latest - environment: build-develop - permissions: - id-token: write - contents: read - steps: - - name: Checkout repo - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 - - - name: Configure aws credentials - uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 - with: - role-to-assume: ${{ secrets.AWS_ROLE_ARN_GATI }} - role-duration-seconds: ${{ secrets.AWS_ROLE_DURATION_SECONDS }} - aws-region: ${{ secrets.AWS_REGION }} - mask-aws-account-id: true - role-session-name: helm-publish.helm-release - - - name: Get Github Token - id: get-gh-token - uses: smartcontractkit/chainlink-github-actions/github-app-token-issuer@5874ff7211cf5a5a2670bb010fbff914eaaae138 # v2.3.12 - with: - url: ${{ secrets.GATI_LAMBDA_FUNCTION_URL }} - ci-lint-charts: runs-on: ubuntu-latest steps: