Skip to content

Terraform POC - #130

Open
itsarune wants to merge 88 commits into
devfrom
arun_terraform_test
Open

Terraform POC#130
itsarune wants to merge 88 commits into
devfrom
arun_terraform_test

Conversation

@itsarune

Copy link
Copy Markdown
Collaborator

Context

Describe your changes

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my code
  • If it is a core feature, I have added thorough tests.
  • I verified that my code will compile by running npm run build
  • I have run npm run lint and fixed linting errors

@github-actions

Copy link
Copy Markdown

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Terraform Plan 📖success

Show Plan ```

terraform
google_cloudbuild_trigger.build-trigger: Refreshing state... [id=projects/automatic-bot-376307/triggers/f06262c0-1dc0-4ccb-8e7d-49266191a2fc]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Once merged and build is complete, your deployment will be available at:
dev-hmcu4gyu5a-pd.a.run.app/

</details>

*Pushed by: @itsarune, Action: `pull_request`*

Comment thread cloudbuild/build.yaml
Comment on lines -2 to -12
# Docker Build (Prod container)
- name: 'gcr.io/cloud-builders/docker'
entrypoint: 'bash'
args: ['-c', 'docker build . --tag northamerica-northeast2-docker.pkg.dev/automatic-bot-376307/continuus/$BRANCH_NAME-prod -f docker/prod/Dockerfile']
waitFor: ['-']

# Docker Push
- name: 'gcr.io/cloud-builders/docker'
entrypoint: 'bash'
args: ['-c', 'docker push northamerica-northeast2-docker.pkg.dev/automatic-bot-376307/continuus/$BRANCH_NAME-prod']

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will be done by feature-build-and-deploy

Comment on lines +3 to +17
on:
push:
branches:
- 'dev'
- 'qa'
- 'prod'
- 'demo'
- 'arunterraformdemo'
pull_request:
branches:
- 'dev'
- 'qa'
- 'prod'
- 'demo'
- 'arunterraformdemo'

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this actions yaml will be run TWICE

  • the first time is when we open a pull request to dev qa prod demo
  • the second time is when we push to dev qa prod demo

note that some of the stages will be skipped depending on whether the yaml is run on a push event or a pull request event

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant