From 65f6c69503707b5d171199f10f70c2eac3802290 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Fri, 12 Jul 2019 15:36:17 -0400 Subject: [PATCH] ceph-volume: allow passing GITHUB_TOKEN as a password to manually set github status Signed-off-by: Alfredo Deza --- ceph-volume-ansible-prs/config/definitions/ceph-volume-pr.yml | 3 +++ ceph-volume-pr/config/definitions/ceph-volume-pr.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ceph-volume-ansible-prs/config/definitions/ceph-volume-pr.yml b/ceph-volume-ansible-prs/config/definitions/ceph-volume-pr.yml index 4bdfe5bf..916f17c0 100644 --- a/ceph-volume-ansible-prs/config/definitions/ceph-volume-pr.yml +++ b/ceph-volume-ansible-prs/config/definitions/ceph-volume-pr.yml @@ -102,6 +102,9 @@ - string: name: GITHUB_SHA description: "The tip (last commit) in the PR, a sha1 like 7d787849556788961155534039886aedfcdb2a88 (if set, will report status to Github)" + - password: + name: GITHUB_OAUTH_TOKEN + description: "Secret API Token to set status. Only needed when manually triggering a PR test" triggers: diff --git a/ceph-volume-pr/config/definitions/ceph-volume-pr.yml b/ceph-volume-pr/config/definitions/ceph-volume-pr.yml index 93431a22..8aceae46 100644 --- a/ceph-volume-pr/config/definitions/ceph-volume-pr.yml +++ b/ceph-volume-pr/config/definitions/ceph-volume-pr.yml @@ -30,6 +30,9 @@ - string: name: GITHUB_SHA description: "The tip (last commit) in the PR, a sha1 like 7d787849556788961155534039886aedfcdb2a88 (if set, will report status to Github)" + - password: + name: GITHUB_OAUTH_TOKEN + description: "Secret API Token to set status. Only needed when manually triggering a PR test" triggers: - github-pull-request: -- 2.39.5