steep-lamp-20408
07/26/2022, 9:52 AMname: Build staging resources
on:
push:
branches:
- develop
paths-ignore:
- "*.md"
- "*.gitignore"
jobs:
deploy:
name: Build staging resources
runs-on: ubuntu-latest
steps:
- uses: pulumi/actions@v3
with:
command: up
stack-name: tachikoma/tachikoma-backend/staging
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
However, when pushing, I get the following output from GitHub Actions: `stderr: error: no Pulumi.yaml project file found (searching upwards from ). If you have not created a project yet, use pulumi new
to do so`
I don’t get it since I got a Pulumi.yaml file at the root of the project and I’m following the Pulumi GitHub Actions example. What did I got wrong?gray-vr-25374
07/26/2022, 12:02 PMsteep-lamp-20408
07/26/2022, 12:03 PMException: invoke of auth0:index/getTenant:getTenant failed: invocation of auth0:index/getTenant:getTenant returned an error: 1 error occurred:
* missing required configuration key "auth0:domain":
Set a value using the command `pulumi config set auth0:domain <value>`.
How can I add a step to do the config pulumi config set auth0:domain XXXXXXXXXXXXXX
?
(I tried adding AUTH0_DOMAIN as a secret in GH instead, but with no success)
Thanks again!!name: Build staging resources
on:
push:
branches:
- develop
paths-ignore:
- "*.md"
- "*.gitignore"
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
jobs:
deploy:
name: Build staging resources
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Set auth0:domain config
run: |
pulumi config set auth0:domain ${{ secrets.AUTH0_DOMAIN }} -s tachikoma/tachikoma-backend/staging
pulumi up -s tachikoma/tachikoma-backend/staging -y
- name: Set auth0:client_id config
run: |
pulumi config set auth0:client_id ${{ secrets.AUTH0_CLIENT_ID }} -s tachikoma/tachikoma-backend/staging
- name: Set auth0:client_secret config
run: |
pulumi config set auth0:client_secret ${{ secrets.AUTH0_CLIENT_SECRET }} -s tachikoma/tachikoma-backend/staging
- uses: pulumi/actions@v3
with:
command: up
stack-name: tachikoma/tachikoma-backend/staging
gray-vr-25374
07/26/2022, 12:32 PMsteep-lamp-20408
07/26/2022, 12:33 PMname: Build staging resources
on:
push:
branches:
- develop
paths-ignore:
- "*.md"
- "*.gitignore"
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
jobs:
deploy:
name: Build staging resources
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-region: ${{ secrets.AWS_REGION }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Set auth0 config
run: |
pulumi config set auth0:domain ${{ secrets.AUTH0_DOMAIN }} -s tachikoma/tachikoma-backend/staging
pulumi config set auth0:client_id ${{ secrets.AUTH0_CLIENT_ID }} --secret -s tachikoma/tachikoma-backend/staging
pulumi config set auth0:client_secret ${{ secrets.AUTH0_CLIENT_SECRET }} --secret -s tachikoma/tachikoma-backend/staging
- name: Deploy resources with Pulumi
uses: pulumi/actions@v3
with:
command: up
stack-name: tachikoma/tachikoma-backend/staging