mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-03 06:51:00 +02:00
Squashed 'ai-context/trustgraph-templates/' content from commit 42a5fd1b
git-subtree-dir: ai-context/trustgraph-templates git-subtree-split: 42a5fd1b678f32be378062e30451e2052ccb95dd
This commit is contained in:
commit
74cc8a4685
1216 changed files with 116347 additions and 0 deletions
45
.github/workflows/undeploy-prod.yaml
vendored
Normal file
45
.github/workflows/undeploy-prod.yaml
vendored
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
|
||||
name: Undeploy to prod
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: 'write'
|
||||
|
||||
jobs:
|
||||
|
||||
deploy:
|
||||
|
||||
name: Undeploy to prod
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- id: auth
|
||||
name: Authenticate with Google Cloud
|
||||
uses: google-github-actions/auth@v2
|
||||
with:
|
||||
token_format: access_token
|
||||
workload_identity_provider: projects/514167726704/locations/global/workloadIdentityPools/deploy/providers/deploy
|
||||
service_account: deploy@kalntera-demo.iam.gserviceaccount.com
|
||||
access_token_lifetime: 900s
|
||||
create_credentials_file: true
|
||||
|
||||
- name: Install Pulumi
|
||||
run: cd pulumi && npm install
|
||||
|
||||
- name: Destroy infrastructure ☠🔥
|
||||
uses: pulumi/actions@v3
|
||||
with:
|
||||
command: destroy
|
||||
stack-name: prod
|
||||
work-dir: pulumi
|
||||
cloud-url: gs://trustgraph-deploy/config-ui
|
||||
env:
|
||||
PULUMI_CONFIG_PASSPHRASE: ""
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue