Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

cisagov/con-pca-cicd

Repository files navigation

con-pca-cicd

Description

CICD repo for con-pca. Contains terraform for deployments and github actions jobs for building.

Environments

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

Source Repositories

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".

Deploying Manually

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

Contributing

We welcome contributions! Please see here for details.

License

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.

About

continuous phishing main repository

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published