mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-04-20 23:36:29 -04:00
authenticate with cloud providers
This commit is contained in:
parent
7f1e13f7b2
commit
69bad3430d
19
.github/actions/e2e_cleanup_timeframe/action.yml
vendored
19
.github/actions/e2e_cleanup_timeframe/action.yml
vendored
@ -8,10 +8,29 @@ inputs:
|
||||
encryptionSecret:
|
||||
description: 'The secret to use for decrypting the artifacts.'
|
||||
required: true
|
||||
azure_credentials:
|
||||
description: "Credentials authorized to create Constellation on Azure."
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Authenticate AWS
|
||||
uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v4.0.1
|
||||
with:
|
||||
role-to-assume: arn:aws:iam::795746500882:role/GithubActionsE2ECluster
|
||||
aws-region: eu-central-1
|
||||
|
||||
- name: Authenticate Azure
|
||||
uses: ./.github/actions/login_azure
|
||||
with:
|
||||
azure_credentials: ${{ inputs.azure_credentials }}
|
||||
|
||||
- name: Authenticate GCP
|
||||
uses: ./.github/actions/login_gcp
|
||||
with:
|
||||
service_account: "infrastructure-e2e@constellation-e2e.iam.gserviceaccount.com"
|
||||
|
||||
- name: Install unzip
|
||||
uses: ./.github/actions/setup_bazel_nix
|
||||
with:
|
||||
|
1
.github/workflows/e2e-cleanup-weekly.yml
vendored
1
.github/workflows/e2e-cleanup-weekly.yml
vendored
@ -20,3 +20,4 @@ jobs:
|
||||
with:
|
||||
ghToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
encryptionSecret: ${{ secrets.ARTIFACT_ENCRYPT_PASSWD }}
|
||||
azure_credentials: ${{ secrets.AZURE_E2E_CLUSTER_CREDENTIALS }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user