Skip to content

Install the CodeSee workflow. Learn more at https://docs.codesee.io #15

Install the CodeSee workflow. Learn more at https://docs.codesee.io

Install the CodeSee workflow. Learn more at https://docs.codesee.io #15

Workflow file for this run

# Do not edit this file directly. It is generated by https://deno.land/x/fluent_github_actions
name: Zenith Example
on:
push:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Dagger Zenith
run: |
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.9.7 sh
sudo mv bin/dagger /usr/local/bin
dagger version
- name: Setup Pulumi Access Token
run: |
sed -i "s/PULUMI_ACCESS_TOKEN/$PULUMI_ACCESS_TOKEN/g" example/preview.gql
sed -i "s/PULUMI_ACCESS_TOKEN/$PULUMI_ACCESS_TOKEN/g" example/up.gql
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
- name: Setup Service Account
run: |
echo $GCP_SERVICE_ACCOUNT > fluentci-086b644d4c53.json
env:
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}
working-directory: example
- name: Run Dagger Pipelines
run: |
dagger call preview --src . --stack dev --token PULUMI_ACCESS_TOKEN --google-application-credentials ./fluentci-086b644d4c53.json
dagger call up --src . --stack dev --token PULUMI_ACCESS_TOKEN --google-application-credentials ./fluentci-086b644d4c53.json
working-directory: example
env:
GOOGLE_APPLICATION_CREDENTIALS: ./fluentci-086b644d4c53.json
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}