Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions gocd/pipelines/relay-experimental.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@ pipelines:
jobs:
checks:
environment_variables:
# Required for checkruns.
GITHUB_TOKEN: "{{SECRET:[devinfra-github][token]}}"
# Required for checkruns2.
GITHUB_APP_ID: "{{SECRET:[devinfra-github][app_id]}}"
GITHUB_APP_PRIVATE_KEY: "{{SECRET:[devinfra-github][private_key]}}"
timeout: 1800
elastic_profile_id: relay
tasks:
- script: |
checks-githubactions-checkruns \
checks-githubactions-checkruns2 \
getsentry/relay \
${GO_REVISION_RELAY_REPO} \
"Integration Tests" \
Expand Down
2 changes: 1 addition & 1 deletion gocd/templates/bash/github-check-runs.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

checks-githubactions-checkruns \
checks-githubactions-checkruns2 \
getsentry/relay \
"${GO_REVISION_RELAY_REPO}" \
"Integration Tests" \
Expand Down
3 changes: 2 additions & 1 deletion gocd/templates/libs/utils.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ local gocdtasks = import 'github.com/getsentry/gocd-jsonnet/libs/gocd-tasks.libs
jobs: {
checks: {
environment_variables: {
GITHUB_TOKEN: '{{SECRET:[devinfra-github][token]}}',
GITHUB_APP_ID: '{{SECRET:[devinfra-github][app_id]}}',
GITHUB_APP_PRIVATE_KEY: '{{SECRET:[devinfra-github][private_key]}}',
},
timeout: 1800,
elastic_profile_id: 'relay',
Expand Down
Loading