diff --git a/.changeset/fuzzy-planes-leave.md b/.changeset/fuzzy-planes-leave.md new file mode 100644 index 00000000..adf68464 --- /dev/null +++ b/.changeset/fuzzy-planes-leave.md @@ -0,0 +1,35 @@ +--- +"cicd-build-publish-artifacts-go": patch +"cicd-build-publish-artifacts-ts": patch +"guard-from-missing-changesets": patch +"policy-bot-config-validator": patch +"helm-version-bump-receiver": patch +"cicd-build-publish-charts": patch +"cicd-build-publish-docker": patch +"llm-action-error-reporter": patch +"crib-purge-environment": patch +"slack-notify-git-ref": patch +"md-confluence-sync": patch +"ci-sonarqube-go": patch +"ci-sonarqube-ts": patch +"cicd-changesets": patch +"license-checker": patch +"ci-kubeconform": patch +"ci-lint-charts": patch +"manifest-build": patch +"pr-slack-alert": patch +"setup-nix-gati": patch +"update-actions": patch +"llm-pr-writer": patch +"ci-lint-misc": patch +"ci-prettier": patch +"ci-test-sol": patch +"ci-lint-go": patch +"ci-lint-ts": patch +"ci-test-go": patch +"ci-test-ts": patch +"setup-gap": patch +"nx-chainlink": patch +--- + +chore: remove metrics inputs and step (push-gha-metrics-action) diff --git a/.github/workflows/pull-request-main.yml b/.github/workflows/pull-request-main.yml index 084e7c74..dab572b8 100644 --- a/.github/workflows/pull-request-main.yml +++ b/.github/workflows/pull-request-main.yml @@ -18,11 +18,6 @@ jobs: with: # general inputs checkout-repo: "false" - # grafana inputs - metrics-job-name: ci-lint - gc-basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} - gc-host: ${{ secrets.GRAFANA_INTERNAL_HOST }} - gc-org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} pnpm-version: "^9.0.0" ci-prettier: @@ -36,11 +31,6 @@ jobs: with: # general inputs checkout-repo: "false" - # grafana inputs - metrics-job-name: ci-prettier - gc-basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} - gc-host: ${{ secrets.GRAFANA_INTERNAL_HOST }} - gc-org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} pnpm-version: "^9.0.0" ci-lint-misc: @@ -54,11 +44,6 @@ jobs: with: # general inputs checkout-repo: "false" - # grafana inputs - metrics-job-name: ci-lint-misc - gc-basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} - gc-host: ${{ secrets.GRAFANA_INTERNAL_HOST }} - gc-org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} cd-signed-commits: # Disable this job until it's updated to be: @@ -116,11 +101,6 @@ jobs: with: # general inputs checkout-repo: "false" - # grafana inputs - metrics-job-name: ci-test - gc-basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} - gc-host: ${{ secrets.GRAFANA_INTERNAL_HOST }} - gc-org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} pnpm-version: "^9.0.0" ci-build-artifacts: @@ -134,11 +114,6 @@ jobs: with: # general inputs checkout-repo: "false" - # grafana inputs - metrics-job-name: ci-build-artifacts - gc-basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} - gc-host: ${{ secrets.GRAFANA_INTERNAL_HOST }} - gc-org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} pnpm-version: "^9.0.0" ci-actions-dependencies-updater: diff --git a/.github/workflows/push-main.yml b/.github/workflows/push-main.yml index e5e509da..c47c4c15 100644 --- a/.github/workflows/push-main.yml +++ b/.github/workflows/push-main.yml @@ -17,11 +17,6 @@ jobs: with: # general inputs checkout-repo: "false" - # grafana inputs - metrics-job-name: ci-lint - gc-basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} - gc-host: ${{ secrets.GRAFANA_INTERNAL_HOST }} - gc-org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} pnpm-version: "^9.0.0" ci-prettier: @@ -35,11 +30,6 @@ jobs: with: # general inputs checkout-repo: "false" - # grafana inputs - metrics-job-name: ci-prettier - gc-basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} - gc-host: ${{ secrets.GRAFANA_INTERNAL_HOST }} - gc-org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} pnpm-version: "^9.0.0" ci-test: @@ -53,11 +43,6 @@ jobs: with: # general inputs checkout-repo: "false" - # grafana inputs - metrics-job-name: ci-test - gc-basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} - gc-host: ${{ secrets.GRAFANA_INTERNAL_HOST }} - gc-org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} pnpm-version: "^9.0.0" cicd-build-publish-artifacts-dev: @@ -78,13 +63,7 @@ jobs: - name: cicd-build-publish-artifacts-dev uses: ./actions/cicd-build-publish-artifacts-ts with: - # general inputs checkout-repo: "false" - # grafana inputs - metrics-job-name: cicd-build-publish-artifacts-dev - gc-basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} - gc-host: ${{ secrets.GRAFANA_INTERNAL_HOST }} - gc-org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} pnpm-version: "^9.0.0" cd-release: @@ -103,15 +82,10 @@ jobs: uses: ./actions/cicd-changesets with: # general inputs + pnpm-version: "^9.0.0" git-user: app-token-issuer-releng-renovate[bot] git-email: app-token-issuer-releng-renovate[bot]@users.noreply.github.com # aws inputs aws-region: ${{ secrets.AWS_REGION }} aws-role-arn: ${{ secrets.AWS_OIDC_IAM_ROLE_ARN_GATI }} aws-lambda-url: ${{ secrets.AWS_LAMBDA_URL_GATI }} - # grafana inputs - metrics-job-name: cd-release - gc-basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} - gc-host: ${{ secrets.GRAFANA_INTERNAL_HOST }} - gc-org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} - pnpm-version: "^9.0.0" diff --git a/.github/workflows/run-e2e-tests.yml b/.github/workflows/run-e2e-tests.yml index 2c8b455e..eddb05a3 100644 --- a/.github/workflows/run-e2e-tests.yml +++ b/.github/workflows/run-e2e-tests.yml @@ -284,13 +284,13 @@ jobs: image_versions="${{ github.sha }}" else image_versions+=",${{ github.sha }}" - fi + fi fi # Convert the comma-separated string to a JSON array image_versions=$(echo "$image_versions" | jq -Rc 'if . == "" then "" else split(",") | if . == [""] then "" else . end end') - echo "Required Chainlink image versions: $image_versions" + echo "Required Chainlink image versions: $image_versions" echo "versions=$image_versions" >> "$GITHUB_OUTPUT" - name: Create matrix for required Chainlink plugin versions @@ -298,7 +298,7 @@ jobs: shell: bash run: | image_versions=$(echo "${{ inputs.require_chainlink_plugin_versions_in_qa_ecr }}" | jq -Rc 'if . == "" then "" else split(",") | if . == [""] then "" else . end end') - echo "Required Chainlink plugin image versions: $image_versions" + echo "Required Chainlink plugin image versions: $image_versions" echo "versions=$image_versions" >> "$GITHUB_OUTPUT" check-test-configurations: @@ -456,7 +456,7 @@ jobs: echo "::error::Error: Some of the tests require custom test secrets to run. Please see workflow logs and set 'test_secrets_override_key' to run these tests." exit 1 else - echo "No tests require secrets. Proceeding without additional secret setup." + echo "No tests require secrets. Proceeding without additional secret setup." fi - name: Generate random workflow id @@ -573,19 +573,6 @@ jobs: inputs.test_config_override_path }} TEST_ID: ${{ matrix.tests.id_sanitized || matrix.tests.id }} steps: - - name: Collect Metrics - if: always() - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: e2e_tests_${{ env.TEST_ID }} - org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} - basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} - hostname: ${{ secrets.GRAFANA_INTERNAL_HOST }} - this-job-name: ${{ inputs.workflow_name }} / ${{ matrix.tests.id }} - test-results-file: '{"testType":"go","filePath":"/tmp/gotest.log"}' - continue-on-error: true - - name: Checkout repository uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 - name: Install jq @@ -881,18 +868,6 @@ jobs: inputs.test_config_override_path }} TEST_ID: ${{ matrix.tests.id_sanitized || matrix.tests.id }} steps: - - name: Collect Metrics - if: always() - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: e2e_tests_${{ env.TEST_ID }} - org-id: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }} - basic-auth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }} - hostname: ${{ secrets.GRAFANA_INTERNAL_HOST }} - this-job-name: ${{ inputs.workflow_name }} / ${{ matrix.tests.id }} - continue-on-error: true - - name: Checkout repository uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 - name: Install jq diff --git a/actions/ci-kubeconform/action.yml b/actions/ci-kubeconform/action.yml index bc8fac99..8d3f35a2 100644 --- a/actions/ci-kubeconform/action.yml +++ b/actions/ci-kubeconform/action.yml @@ -39,25 +39,6 @@ inputs: description: "charts directory" required: true default: "charts" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -101,15 +82,3 @@ runs: run: | helm dependency build helm template . | kubeconform -kubernetes-version ${{ inputs.kubernetes-version }} ${{ env.STRICT }} ${{ env.IGNORE_MISSING_SCHEMAS }} ${{ env.SUMMARY }} - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/ci-lint-charts/action.yml b/actions/ci-lint-charts/action.yml index b085705b..5caee8bc 100644 --- a/actions/ci-lint-charts/action.yml +++ b/actions/ci-lint-charts/action.yml @@ -24,25 +24,6 @@ inputs: description: "charts directory" required: false default: "charts" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -74,15 +55,3 @@ runs: CHART_TESTING_EXTRA_ARGS: ${{ inputs.chart-testing-extra-args }} run: | ct lint --config "${CHART_TESTING_CONFIG_PATH}" "${CHART_TESTING_EXTRA_ARGS}" - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/ci-lint-go/action.yml b/actions/ci-lint-go/action.yml index b4754d16..c32bbcdf 100644 --- a/actions/ci-lint-go/action.yml +++ b/actions/ci-lint-go/action.yml @@ -63,25 +63,6 @@ inputs: go-directory: description: "" default: . - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -149,15 +130,3 @@ runs: with: name: golangci-lint-report path: ${{ inputs.go-directory }}/golangci-lint-report.xml - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/ci-lint-misc/action.yml b/actions/ci-lint-misc/action.yml index fbc465fe..a06c63d6 100644 --- a/actions/ci-lint-misc/action.yml +++ b/actions/ci-lint-misc/action.yml @@ -11,25 +11,6 @@ inputs: description: "number of commits to fetch" required: false default: "0" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -47,15 +28,3 @@ runs: uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # v2.0.0 with: scandir: "./tools/scripts" - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/ci-lint-ts/action.yml b/actions/ci-lint-ts/action.yml index 79ab0f01..5a5c5cde 100644 --- a/actions/ci-lint-ts/action.yml +++ b/actions/ci-lint-ts/action.yml @@ -28,25 +28,6 @@ inputs: description: "" required: false default: "^8.0.0" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -82,15 +63,3 @@ runs: with: name: ts-lint-results path: ./eslint-report.json - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/ci-prettier/action.yml b/actions/ci-prettier/action.yml index f7489c4a..e4ff8aec 100644 --- a/actions/ci-prettier/action.yml +++ b/actions/ci-prettier/action.yml @@ -30,25 +30,6 @@ inputs: description: "" required: false default: "^9.0.0" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -79,15 +60,3 @@ runs: - name: Run Prettier Check shell: bash run: ${{ inputs.prettier-command }} - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/ci-sonarqube-go/action.yml b/actions/ci-sonarqube-go/action.yml index 067a5b28..6167abb5 100644 --- a/actions/ci-sonarqube-go/action.yml +++ b/actions/ci-sonarqube-go/action.yml @@ -50,25 +50,6 @@ inputs: description: "enable linting" required: false default: "false" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -110,9 +91,9 @@ runs: uses: sonarsource/sonarqube-scan-action@aecaf43ae57e412bd97d70ef9ce6076e672fe0a9 # v2.3.0 with: args: > - -Dsonar.go.tests.reportPaths=${{ + -Dsonar.go.tests.reportPaths=${{ inputs.test-result-report-path - }} -Dsonar.go.coverage.reportPaths=${{ + }} -Dsonar.go.coverage.reportPaths=${{ inputs.test-coverage-report-path }} env: @@ -124,25 +105,13 @@ runs: uses: sonarsource/sonarqube-scan-action@aecaf43ae57e412bd97d70ef9ce6076e672fe0a9 # v2.3.0 with: args: > - -Dsonar.go.tests.reportPaths=${{ - inputs.test-result-report-path - }} -Dsonar.go.coverage.reportPaths=${{ + -Dsonar.go.tests.reportPaths=${{ + inputs.test-result-report-path + }} -Dsonar.go.coverage.reportPaths=${{ inputs.test-coverage-report-path - }} -Dsonar.go.golangci-lint.reportPaths=${{ + }} -Dsonar.go.golangci-lint.reportPaths=${{ inputs.lint-report-path }} env: SONAR_TOKEN: ${{ inputs.sonar-token }} SONAR_HOST_URL: ${{ inputs.sonar-host-url }} - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/ci-sonarqube-ts/action.yml b/actions/ci-sonarqube-ts/action.yml index 1c7916df..c10db67a 100644 --- a/actions/ci-sonarqube-ts/action.yml +++ b/actions/ci-sonarqube-ts/action.yml @@ -52,25 +52,6 @@ inputs: description: "enable linting" required: false default: "false" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -112,10 +93,10 @@ runs: uses: sonarsource/sonarqube-scan-action@aecaf43ae57e412bd97d70ef9ce6076e672fe0a9 # v2.3.0 with: args: > - -Dsonar.junit.reportPaths=${{ - inputs.junit-xml-report-path + -Dsonar.junit.reportPaths=${{ + inputs.junit-xml-report-path }} -Dsonar.typescript.lcov.reportPaths=${{ - inputs.typescript-lcov-report-path + inputs.typescript-lcov-report-path }} env: SONAR_TOKEN: ${{ inputs.sonar-token }} @@ -126,25 +107,13 @@ runs: uses: sonarsource/sonarqube-scan-action@aecaf43ae57e412bd97d70ef9ce6076e672fe0a9 # v2.3.0 with: args: > - -Dsonar.junit.reportPaths=${{ - inputs.junit-xml-report-path + -Dsonar.junit.reportPaths=${{ + inputs.junit-xml-report-path }} -Dsonar.typescript.lcov.reportPaths=${{ - inputs.typescript-lcov-report-path + inputs.typescript-lcov-report-path }} -Dsonar.eslint.reportPaths=${{ - inputs.eslint-json-report-path + inputs.eslint-json-report-path }} env: SONAR_TOKEN: ${{ inputs.sonar-token }} SONAR_HOST_URL: ${{ inputs.sonar-host-url }} - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/ci-test-go/action.yml b/actions/ci-test-go/action.yml index b5d97acc..5b3868a1 100644 --- a/actions/ci-test-go/action.yml +++ b/actions/ci-test-go/action.yml @@ -92,25 +92,6 @@ inputs: description: "" required: false default: "." - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -195,15 +176,3 @@ runs: with: name: go-test-race-results path: race/*.txt - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/ci-test-sol/action.yml b/actions/ci-test-sol/action.yml index a788425b..b4c09d50 100644 --- a/actions/ci-test-sol/action.yml +++ b/actions/ci-test-sol/action.yml @@ -49,25 +49,6 @@ inputs: description: "" required: false default: "^8.0.0" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -142,15 +123,3 @@ runs: run: pnpm run coverage:affected --base=${{ inputs.base-ref }} ${{ inputs.forge-coverage-args }} - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/ci-test-ts/action.yml b/actions/ci-test-ts/action.yml index 1635f62e..cd1d5a14 100644 --- a/actions/ci-test-ts/action.yml +++ b/actions/ci-test-ts/action.yml @@ -28,25 +28,6 @@ inputs: description: "" required: false default: "^8.0.0" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -85,15 +66,3 @@ runs: path: | ./junit.xml ./lcov.info - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/cicd-build-publish-artifacts-go/action.yml b/actions/cicd-build-publish-artifacts-go/action.yml index 1f9ac22a..f245df34 100644 --- a/actions/cicd-build-publish-artifacts-go/action.yml +++ b/actions/cicd-build-publish-artifacts-go/action.yml @@ -100,25 +100,6 @@ inputs: description: "" required: false default: "0.10.1" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -226,15 +207,3 @@ runs: GORELEASER_KEY: ${{ inputs.goreleaser-key }} GITHUB_TOKEN: ${{ github.token }} # ${{ steps.get-gh-token.outputs.access-token }} ZIG_EXEC: ${{ steps.process-params.outputs.zig-exec }} - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/cicd-build-publish-artifacts-ts/action.yml b/actions/cicd-build-publish-artifacts-ts/action.yml index c34bf38f..c38ca33b 100644 --- a/actions/cicd-build-publish-artifacts-ts/action.yml +++ b/actions/cicd-build-publish-artifacts-ts/action.yml @@ -64,25 +64,6 @@ inputs: description: "" required: false default: nightly - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -148,15 +129,3 @@ runs: inputs.monorepo-release-version }} overwrite: true file_glob: true - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/cicd-build-publish-charts/action.yml b/actions/cicd-build-publish-charts/action.yml index 41737eae..b13848f2 100644 --- a/actions/cicd-build-publish-charts/action.yml +++ b/actions/cicd-build-publish-charts/action.yml @@ -42,25 +42,6 @@ inputs: aws-role-arn: description: "" required: false - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -115,15 +96,3 @@ runs: --publish ${{ inputs.publish }} \ --overwrite ${{ inputs.overwrite }} \ --charts_repo ${{ steps.process-params.outputs.charts-repo }} - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/cicd-build-publish-docker/action.yml b/actions/cicd-build-publish-docker/action.yml index 574e8698..e38615a4 100644 --- a/actions/cicd-build-publish-docker/action.yml +++ b/actions/cicd-build-publish-docker/action.yml @@ -53,25 +53,6 @@ inputs: aws-role-arn: description: "AWS role ARN for pushing docker image" required: true - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -124,15 +105,3 @@ runs: file: ${{ inputs.dockerfile }} tags: ${{ steps.docker_meta.outputs.tags }} labels: ${{ steps.docker_meta.outputs.labels }} - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/cicd-changesets/action.yml b/actions/cicd-changesets/action.yml index 5963baf5..03a1f7ef 100644 --- a/actions/cicd-changesets/action.yml +++ b/actions/cicd-changesets/action.yml @@ -62,25 +62,6 @@ inputs: description: "whether to put the PR in draft mode or not" required: false default: "false" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false outputs: published: description: @@ -157,15 +138,3 @@ runs: echo "publishedPackages: ${{ steps.changesets.outputs.publishedPackages }}" echo "hasChangesets: ${{ steps.changesets.outputs.hasChangesets }}" echo "pullRequestNumber: ${{ steps.changesets.outputs.pullRequestNumber }}" - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/crib-purge-environment/action.yml b/actions/crib-purge-environment/action.yml index b43ce06b..39540067 100644 --- a/actions/crib-purge-environment/action.yml +++ b/actions/crib-purge-environment/action.yml @@ -8,31 +8,6 @@ inputs: namespace: description: "The CRIB namespace that should be destroyed." required: true - # Grafana inputs (optional) - metrics-job-name: - description: - "The name of the Grafana metrics job. Required if other Grafana metrics - inputs are provided." - required: false - metrics-id: - description: - "The Grafana metrics ID used for continuity of metrics during job name - changes. Required if `metrics-job-name` is provided." - required: false - gc-host: - description: - "The Grafana hostname. Required if `metrics-job-name` is provided." - required: false - gc-basic-auth: - description: - "The basic authentication credentials for Grafana. Required if - `metrics-job-name` is provided." - required: false - gc-org-id: - description: - "The Grafana organization or tenant ID. Required if `metrics-job-name` is - provided." - required: false runs: using: composite @@ -52,15 +27,3 @@ runs: else echo "Namespace $NAMESPACE does not exist. Skipping deletion." fi - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/guard-from-missing-changesets/action.yml b/actions/guard-from-missing-changesets/action.yml index 39829010..5c8acf05 100644 --- a/actions/guard-from-missing-changesets/action.yml +++ b/actions/guard-from-missing-changesets/action.yml @@ -10,25 +10,6 @@ inputs: step with `fetch-depth: 0`. required: false default: "false" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -44,14 +25,3 @@ runs: env: TRUNK_BRANCH: ${{ inputs.trunk-branch }} run: ${{ github.action_path }}/scripts/fail-if-changesets-missing.sh - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/helm-version-bump-receiver/action.yml b/actions/helm-version-bump-receiver/action.yml index 8f8e6507..7bc1ad20 100644 --- a/actions/helm-version-bump-receiver/action.yml +++ b/actions/helm-version-bump-receiver/action.yml @@ -68,25 +68,6 @@ inputs: description: "Used to append to the branch name and the PR title." required: true default: "sandbox" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false outputs: pr-number: @@ -165,15 +146,3 @@ runs: Bump Helm Chart to ${{ inputs.helm-chart-version }} for ${{ steps.get-filename-from-path.outputs.filename-path }} token: ${{ inputs.github-token }} - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/license-checker/action.yml b/actions/license-checker/action.yml index 8a1aa1ed..9aed657a 100644 --- a/actions/license-checker/action.yml +++ b/actions/license-checker/action.yml @@ -19,25 +19,6 @@ inputs: description: "working directory for license_finder" required: false default: "." - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -51,14 +32,3 @@ runs: run: | license_finder --decisions-file=${{ github.action_path }}/doc/dependency_decisions.yml ${{ inputs.license-finder-custom-args }} shell: bash - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/llm-action-error-reporter/action.yml b/actions/llm-action-error-reporter/action.yml index 19b57105..f3536b68 100644 --- a/actions/llm-action-error-reporter/action.yml +++ b/actions/llm-action-error-reporter/action.yml @@ -28,25 +28,6 @@ inputs: description: "ref of the workflow to checkout" required: false default: "main" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: "composite" @@ -193,15 +174,3 @@ runs: else gh pr comment $PR_NUMBER -b "$pr_message" fi - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/llm-pr-writer/action.yml b/actions/llm-pr-writer/action.yml index 1eb43fe8..151febf8 100644 --- a/actions/llm-pr-writer/action.yml +++ b/actions/llm-pr-writer/action.yml @@ -37,25 +37,6 @@ inputs: description: "ref of the workflow to checkout" required: false default: "main" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -202,15 +183,3 @@ runs: --- $pr_message " - - - name: Collect metrics - if: always() - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/manifest-build/action.yml b/actions/manifest-build/action.yml index 0cca9661..e8e465ae 100644 --- a/actions/manifest-build/action.yml +++ b/actions/manifest-build/action.yml @@ -21,26 +21,6 @@ inputs: required: false default: "" - # grafana inputs (optional) -------------------- - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false - runs: using: composite steps: @@ -99,15 +79,3 @@ runs: run: | # push to bucket nix copy --verbose --narinfo-cache-positive-ttl 0 --to ${{ inputs.cache-url }} ${{ steps.buildPaths.outputs.paths }} - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id }} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/md-confluence-sync/action.yml b/actions/md-confluence-sync/action.yml index 4505d294..bded759d 100644 --- a/actions/md-confluence-sync/action.yml +++ b/actions/md-confluence-sync/action.yml @@ -33,26 +33,6 @@ inputs: description: "Enabled debug mode" default: "false" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false - runs: using: composite steps: @@ -92,15 +72,3 @@ runs: MARK_DRY_RUN: ${{ inputs.dry-run }} shell: bash run: ${{ github.action_path }}/mark-sync.sh - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/policy-bot-config-validator/action.yml b/actions/policy-bot-config-validator/action.yml index f81665cf..45e7b523 100644 --- a/actions/policy-bot-config-validator/action.yml +++ b/actions/policy-bot-config-validator/action.yml @@ -33,25 +33,6 @@ inputs: The AWS role with API Gateway invoke permissions. Required if setup-gap is true. required: false - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -104,15 +85,3 @@ runs: else echo "::info::$message" fi - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/pr-slack-alert/action.yml b/actions/pr-slack-alert/action.yml index 3d30e2b4..6ca19691 100644 --- a/actions/pr-slack-alert/action.yml +++ b/actions/pr-slack-alert/action.yml @@ -32,25 +32,6 @@ inputs: # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request # available event types default: "" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -93,15 +74,3 @@ runs: GITHUB_PR_TITLE: ${{ github.event.pull_request.title }} GITHUB_REPO: ${{ github.event.repository.name }} GITHUB_WORKFLOW: ${{ github.event.workflow.name }} - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/setup-gap/action.yml b/actions/setup-gap/action.yml index 61d92b5a..969ab167 100644 --- a/actions/setup-gap/action.yml +++ b/actions/setup-gap/action.yml @@ -115,25 +115,6 @@ inputs: description: "The region for the EKS cluster, if different from aws-region input." required: false - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -311,15 +292,3 @@ runs: --grpc-web --username ${{ inputs.argocd-user }} \ --password ${{ inputs.argocd-pass }} - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/setup-nix-gati/action.yml b/actions/setup-nix-gati/action.yml index 67f5b24b..7b25a850 100644 --- a/actions/setup-nix-gati/action.yml +++ b/actions/setup-nix-gati/action.yml @@ -20,24 +20,6 @@ inputs: description: "Enable magic nix cache" required: false default: "false" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname" - required: false - gc-basic-auth: - description: "grafana basic auth" - required: false - gc-org-id: - description: "grafana org/tenant id" - required: false runs: using: composite @@ -68,15 +50,3 @@ runs: - name: use magic nix cache if: inputs.enable-magic-cache == 'true' uses: DeterminateSystems/magic-nix-cache-action@b46e247b898aa56e6d2d2e728dc6df6c84fdb738 #v7 - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/slack-notify-git-ref/action.yml b/actions/slack-notify-git-ref/action.yml index 33e553b6..6a210a1e 100644 --- a/actions/slack-notify-git-ref/action.yml +++ b/actions/slack-notify-git-ref/action.yml @@ -41,25 +41,6 @@ inputs: changelog-url: description: "URL for CHANGELOG to include in Slack message" required: false - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -134,15 +115,3 @@ runs: channel-id: ${{ inputs.slack-channel-id }} env: SLACK_BOT_TOKEN: ${{ inputs.slack-bot-token }} - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/actions/update-actions/action.yml b/actions/update-actions/action.yml index e7b335af..118f90ce 100644 --- a/actions/update-actions/action.yml +++ b/actions/update-actions/action.yml @@ -31,25 +31,6 @@ inputs: aws-lambda-url-updater: description: "" required: true - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: - "grafana metrics id, used for continuity of metrics during job name - changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: - "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -103,15 +84,3 @@ runs: author: "App Token Issuer Releng Renovate Bot <376532+app-token-issuer-releng-renovate[bot]@users.noreply.github.com>" - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/libs/nx-chainlink/src/generators/create-gh-action/files/composite/debug/action.yml.template b/libs/nx-chainlink/src/generators/create-gh-action/files/composite/debug/action.yml.template index 9d0c23e4..ad3223cf 100644 --- a/libs/nx-chainlink/src/generators/create-gh-action/files/composite/debug/action.yml.template +++ b/libs/nx-chainlink/src/generators/create-gh-action/files/composite/debug/action.yml.template @@ -11,22 +11,7 @@ inputs: description: "number of commits to fetch" required: false default: "0" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: "grafana metrics id, used for continuity of metrics during job name changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: "grafana org/tenant id - required if metrics-job-name is passed" - required: false + runs: using: composite @@ -40,15 +25,3 @@ runs: - name: Run debug script shell: bash run: ${{ github.action_path }}/debug.sh - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true diff --git a/libs/nx-chainlink/src/generators/create-gh-action/files/composite/default/action.yml.template b/libs/nx-chainlink/src/generators/create-gh-action/files/composite/default/action.yml.template index 1844c3ad..d0e8cf0f 100644 --- a/libs/nx-chainlink/src/generators/create-gh-action/files/composite/default/action.yml.template +++ b/libs/nx-chainlink/src/generators/create-gh-action/files/composite/default/action.yml.template @@ -11,22 +11,6 @@ inputs: description: "number of commits to fetch" required: false default: "0" - # grafana inputs (optional) - metrics-job-name: - description: "grafana metrics job name" - required: false - metrics-id: - description: "grafana metrics id, used for continuity of metrics during job name changes - required if metrics-job-name is passed" - required: false - gc-host: - description: "grafana hostname - required if metrics-job-name is passed" - required: false - gc-basic-auth: - description: "grafana basic auth - required if metrics-job-name is passed" - required: false - gc-org-id: - description: "grafana org/tenant id - required if metrics-job-name is passed" - required: false runs: using: composite @@ -36,15 +20,3 @@ runs: uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: fetch-depth: ${{ inputs.checkout-repo-fetch-depth }} - - - name: Collect metrics - if: always() && inputs.metrics-job-name != '' - id: collect-gha-metrics - uses: smartcontractkit/push-gha-metrics-action@d9da21a2747016b3e13de58c7d4115a3d5c97935 # v3.0.1 - with: - id: ${{ inputs.metrics-id || inputs.metrics-job-name }} - basic-auth: ${{ inputs.gc-basic-auth }} - hostname: ${{ inputs.gc-host }} - org-id: ${{ inputs.gc-org-id}} - this-job-name: ${{ inputs.metrics-job-name }} - continue-on-error: true