Skip to content

Commit 08af957

Browse files
Merge pull request #81 from sysdiglabs/update-plain-text-with-secrets-and-runner
Update push actions to remove plain text and use small runner
2 parents a312637 + 1ecce41 commit 08af957

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/push-dry-run.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
# This workflow contains a single job called "build"
1111
on-success:
1212
# The type of runner that the job will run on
13-
runs-on: ubuntu-latest
13+
runs-on: tools-runner
1414
steps:
1515
- name: Trigger jenkins job to upload master to Quay.io
16-
uses: franco-nonne/jenkins-job-trigger-action@update-bundler
16+
uses: draios/jenkins-job-trigger-action@1.1.0
1717
with:
18-
jenkins_url: "https://jenkins.internal.sysdig.tools/"
19-
jenkins_user: 'jenkins-bot@sysdig.com'
18+
jenkins_url: ${{ secrets.JENKINS_INTERNAL_URL }}
19+
jenkins_user: ${{ secrets.JENKINS_BOT_API_USER }}
2020
jenkins_token: ${{ secrets.JENKINS_BOT_API_TOKEN }}
2121
job_timeout: "300"
2222
job_name: "promcat/job/exporters/job/integrations-redis-exporter"

.github/workflows/push.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
# This workflow contains a single job called "build"
1313
on-success:
1414
# The type of runner that the job will run on
15-
runs-on: ubuntu-latest
15+
runs-on: tools-runner
1616
steps:
1717
- name: Trigger jenkins job to upload master to Quay.io
18-
uses: franco-nonne/jenkins-job-trigger-action@update-bundler
18+
uses: draios/jenkins-job-trigger-action@1.1.0
1919
with:
20-
jenkins_url: "https://jenkins.internal.sysdig.tools/"
21-
jenkins_user: 'jenkins-bot@sysdig.com'
20+
jenkins_url: ${{ secrets.JENKINS_INTERNAL_URL }}
21+
jenkins_user: ${{ secrets.JENKINS_BOT_API_USER }}
2222
jenkins_token: ${{ secrets.JENKINS_BOT_API_TOKEN }}
2323
job_timeout: "300"
2424
job_name: "promcat/job/exporters/job/integrations-redis-exporter"

0 commit comments

Comments
 (0)