Skip to content

Commit

Permalink
test: push GITHUB_TOKEN to the e2e-aws/gcp steps
Browse files Browse the repository at this point in the history
This should avoid constant GitHub API rate limiting errors.

Signed-off-by: Andrey Smirnov <[email protected]>
  • Loading branch information
smira committed Mar 31, 2022
1 parent 95d900d commit c26fa4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ local creds_env_vars = {
// TODO(andrewrynhard): Rename this to the GCP convention.
GCE_SVC_ACCT: {from_secret: "gce_svc_acct"},
PACKET_AUTH_TOKEN: {from_secret: "packet_auth_token"},
GITHUB_TOKEN: { from_secret: 'ghcr_token' }, // Use GitHub API token to avoid rate limiting on CAPI -> GitHub calls.
};

local capi_docker = Step("e2e-docker", depends_on=[load_artifacts], target="e2e-docker", environment={
Expand Down

0 comments on commit c26fa4c

Please sign in to comment.