CICD repo for con-pca. Contains terraform for deployments and github actions jobs for building.
There are four environments:
- Development
- Managed in the sandbox folder.
- Purpose: test incoming new features
- Test
- Managed in the sandbox folder.
- Purpose: load and stress testing
- Staging
- Managed in the cool folder.
- Purpose: CISA cool testing
- Production
- Managed in the cool folder.
- Purpose: live, production application
Env vars for all environments are managed by github secrets
There are three different repositories that can trigger this pipeline to run via a repository dispatch event.
This pipeline can also be triggered on push to the develop branch on this repository via a [push event])
The source repositories access dispatch the CICD repository through the using of a Github access token. This access token is loaded into the secret called "CON_PCA_ACCESS_TOKEN".
There is a deploy script that allows you to deploy manually. On configure, it will ask for a Github access token. You can find the instructions for creating one here. The following permissions are required.
- repo
- public_repo
After creating an access token, you can simply run the following for a deployment.
pip install -r requirements.txt
python deploy.py configure
python deploy.py deploy --environment sandbox|staging|production
We welcome contributions! Please see here for details.
This project is in the worldwide public domain.
This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.
All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.