diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f5ce4a1da..d08bf3bf5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -5,6 +5,12 @@ name: Build on: push: branches: [ build ] + workflow_dispatch: + inputs: + branch: + description: 'Branch you want to build' + required: true + default: 'build' # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: diff --git a/.github/workflows/push-dry-run.yaml b/.github/workflows/push-dry-run.yaml index a41ee201a..0561c4ce5 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-mongodb-exporter" job_params: | { diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 094ccc4f3..0eb9e2a76 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-mongodb-exporter" job_params: | { diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 92edae2cd..2ed5c6cfe 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,12 +14,12 @@ 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: mongodb-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 \ No newline at end of file + repository: us-docker.pkg.dev \ No newline at end of file