From 297107d128150f2fd421a4035509ad44e3ba537e Mon Sep 17 00:00:00 2001 From: Jaime Yera Hidalgo Date: Tue, 7 Nov 2023 17:43:10 +0100 Subject: [PATCH] FIX registry value and add timeout --- .github/workflows/push-dry-run.yaml | 1 + .github/workflows/push.yaml | 1 + .github/workflows/release.yaml | 8 ++++---- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push-dry-run.yaml b/.github/workflows/push-dry-run.yaml index 0f40b022..17f32ca4 100644 --- a/.github/workflows/push-dry-run.yaml +++ b/.github/workflows/push-dry-run.yaml @@ -18,6 +18,7 @@ jobs: jenkins_url: "https://jenkins.internal.sysdig.tools/" jenkins_user: 'jenkins-bot@sysdig.com' jenkins_token: ${{ secrets.JENKINS_BOT_API_TOKEN }} + job_timeout: "300" job_name: "promcat/job/exporters/job/integrations-jmx-exporter" job_params: | { diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 06db4279..f28e5779 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -20,6 +20,7 @@ jobs: jenkins_url: "https://jenkins.internal.sysdig.tools/" jenkins_user: 'jenkins-bot@sysdig.com' jenkins_token: ${{ secrets.JENKINS_BOT_API_TOKEN }} + job_timeout: "300" job_name: "promcat/job/exporters/job/integrations-jmx-exporter" job_params: | { diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e31c6174..e66a79e2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,13 +14,13 @@ jobs: if: "!startswith(github.ref, 'refs/tags/v')" run: exit 78 - name: build - uses: sysdiglabs/exporter-builder@v0.6 + uses: sysdiglabs/exporter-builder@v1.1 with: exporter: promcat-jmx-exporter - artifactory_token: ${{ secrets.ARTI_TOKEN }} - artifactory_username: david.lorite@sysdig.com + artifactory_token: ${{ secrets.GAR_DEV_RW_JSON_KEY }} + artifactory_username: _json_key sysdig_secure_token: ${{ secrets.SYSDIG_SECURE_TOKEN }} tag_name: ${{ github.event.release.tag_name }} target: ${{ matrix.docker }} - repository: artifactory.internal.sysdig.com + repository: us-docker.pkg.dev dockerfile: "./build/Dockerfile"