-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
32 lines (31 loc) · 1.34 KB
/
action.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: 'Configure CLI tools for CI/CD'
description: 'Setup CI/CD tools and authentication'
inputs:
google_workload_identity_provider:
required: true
description: "Google workload identity provider, created in `deploy/setup.sh`."
google_service_account:
required: true
description: "Google service account email, created in `deploy/setup.sh`."
runs:
using: "composite"
steps:
- uses: google-github-actions/auth@v1
with:
workload_identity_provider: ${{ inputs.google_workload_identity_provider }}
service_account: ${{ inputs.google_service_account }}
- uses: google-github-actions/setup-gcloud@v1
- uses: giantswarm/install-binary-action@v1
with:
binary: 'atlas'
version: '1.4.0'
smoke_test: "${binary} --version"
tarball_binary_path: "*/bin/${binary}"
download_url: 'https://fastdl.mongodb.org/mongocli/mongodb-atlas-cli_${version}_linux_x86_64.tar.gz'
- uses: giantswarm/install-binary-action@v1
with:
binary: 'auth0'
version: '1.0.0-beta.1'
smoke_test: "${binary} --version"
tarball_binary_path: "${binary}"
download_url: 'https://github.com/auth0/auth0-cli/releases/download/v${version}/auth0-cli_${version}_Linux_x86_64.tar.gz'