test: push GITHUB_TOKEN to the e2e-aws/gcp steps

This should avoid constant GitHub API rate limiting errors.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
This commit is contained in:
Andrey Smirnov 2022-03-31 16:02:51 +03:00
parent 95d900de77
commit c26fa4ccc1
No known key found for this signature in database
GPG Key ID: 7B26396447AB6DFD

View File

@ -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={