mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
b841403f15
e2e test implementation with GitHub actions on GCP
21 lines
630 B
YAML
21 lines
630 B
YAML
name: gcp_login
|
|
description: "Login to GCP & configure gcloud CLI."
|
|
inputs:
|
|
gcp_service_account_json:
|
|
description: 'Service account with permissions to create Constellation on GCP.'
|
|
required: true
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
# As described at:
|
|
# https://github.com/google-github-actions/setup-gcloud#service-account-key-json
|
|
- name: Authorize GCP access
|
|
uses: google-github-actions/auth@v0
|
|
with:
|
|
credentials_json: ${{ inputs.gcp_service_account_json }}
|
|
- name: Set up Cloud SDK
|
|
uses: google-github-actions/setup-gcloud@v0
|
|
- name: Verify logged in
|
|
run: gcloud info
|
|
shell: bash
|