-
Notifications
You must be signed in to change notification settings - Fork 1
improve CI #4
Comments
I think the |
Agreed. tfvars files are very simple, so it would be nice if that were the only thing needed to edit. Alternatively, it might actually be simpler to just use a generic name for the cluster, namespace, and helm release like 'hackweek-jhub' and if needed set the environment variable |
With terragrunt we can just modify everything within common.yml and pull values from there maybe. Also, could I create a whole test hackweek infrastructure for this on the pangeo-access account? I realized that the terraform CI actually perform an apply to AWS, so I cancelled it for now ... We'd have to do a plan and apply using terragrunt so that everything spins up all at once :) |
yes feel free to apply and destroy at will! If you need to bypass CI, I've been using the following setup
(~/.aws/config)
Anyone with access to the S3 backend currently (so I think anyone in the aws account 'admin' group) can obtain the github user access keys with I find copying and pasting credentials as environment variables from |
the CI workflows have some hardcoded values and don't do much that is sophisticated. Some ideas for improvement
helm lint
orhelm upgrade --dry-run
in PRs to ensure yaml configuration is correct. ideally the PR would actually get deployed someplace like a staging environment for testing, but that's much more complicated to implement, so will leave for another day.terraform
has some options to post summaries directly in PR comments https://github.com/marketplace/actions/hashicorp-setup-terraform#usageonce initially setup, it would be good to enforce branch protection so that changes have to happen via PRs and can only be merged if PR tests pass.
The text was updated successfully, but these errors were encountered: