forked from oliver006/redis_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 1.06 KB
/
push.yaml
File metadata and controls
31 lines (29 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Push
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
workflow_run:
workflows: [Release]
types: [completed]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
on-success:
# The type of runner that the job will run on
runs-on: tools-runner
steps:
- name: Trigger jenkins job to upload master to Quay.io
uses: sysdiglabs/jenkins-job-trigger-action@1.1.0
with:
jenkins_external_base_url: ${{ secrets.JENKINS_EXTERNAL_BASE_URL }}
jenkins_url: ${{ secrets.JENKINS_INTERNAL_URL }}
jenkins_user: ${{ secrets.JENKINS_BOT_API_USER }}
jenkins_token: ${{ secrets.JENKINS_BOT_API_TOKEN }}
job_timeout: "300"
job_name: "promcat/job/exporters/job/integrations-redis-exporter"
job_params: |
{
"DRY_RUN": "false",
"SCRATCH": "true",
"EXPORTER": "redis-exporter"
}