Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: automation to deploy IaC #6

Open
kevholmes opened this issue Sep 13, 2023 · 2 comments
Open

feat: automation to deploy IaC #6

kevholmes opened this issue Sep 13, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@kevholmes
Copy link
Owner

kevholmes commented Sep 13, 2023

I need to add some automation here. Right off the top of my head I'm thinking it would be best to write an Actions workflow that has a few parts:

CI/CD

  1. Lint Go code / Pulumi code with SA tools in PRs
  2. Ensure code builds in PRs
  3. GitOps approach with PRs planning and deploying to dev env. Release-please PRs will plan/deploy to staging env before they are merged. Official/full Releases generated in GH w/ semantic versions will be automatically deployed to production when the Release creation event is generated in GH or through manual workflow_dispatch with a provided tag/semver.

For Authentication/Authorization to Azure I'll need to set up a Service Principal w/ scoped access to the areas where this IaC touches. That will be outside the scope of this repo but I can include a manual az cli command that will accomplish that task within this repo's documentation so we have a full A -> Z setup routine that's repeatable.

@kevholmes kevholmes added the enhancement New feature or request label Sep 13, 2023
@kevholmes
Copy link
Owner Author

Items 1 and 2 have been resolved here #23.

@kevholmes
Copy link
Owner Author

I have CI checks for pulumi preview per each environment now added to all PRs: #83.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant