From bddef14cc91beb70de12e2f55844b1997c408b66 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Tue, 28 Sep 2021 12:29:14 +0100 Subject: [PATCH] Add CI/CD info to readme --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 78b871443..4d00d36a2 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,16 @@ Once the app is deployed: `cf ssh dluhc-core -t -c "/tmp/lifecycle/launcher /home/vcap/app 'rails console' ''"` +### CI/CD + +When a commit is made to `main` the following Github action jobs are triggered: + +1. Test - RSpec runs our test suite +2. Deploy - If the Test stage passes, this deploys the app to our Gov PaaS account using the cloudfoundry cli + +When a pull request is opened to `main` only the test stage runs. + + ### Single log submission The form for this is driven by a json file in `/config/forms/{start_year}_{end_year}.json`