-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add readme to .github/workflows/ dir [ci skip]
- Loading branch information
Showing
3 changed files
with
32 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
# main.yml | ||
Reports to https://app.kosli.com | ||
The workflow to look in if you want to learn about Kosli. | ||
|
||
# main_staging.yml | ||
Reports to https://staging.app.kosli.com | ||
A workflow for Kosli internal development purposes. | ||
When showing CI workflows in Kosli demos, there is a tension created | ||
by the fact that cyber-dojo Flows are unusual in that they need to | ||
repeat every Kosli step twice; once to report to https://app.kosli.com | ||
and once again to report to https://staging.app.kosli.com | ||
A normal Kosli customer CI workflow yml file would only report to the former. | ||
To resolve this, a git push triggers the two workflows. | ||
|
||
This is basically the same as main.yml but it does NOT... | ||
- rebuild the docker image (since the build is not binary reproducible) | ||
- deploy the image to aws-beta/aws-prod (since main.yml already does that) | ||
It _does_ however re-run the test evidence so it is possible (eg if the unit-tests are flaky) | ||
to get the run from main.yml to report a compliant Artifact and do deployments to aws-beta and | ||
aws-prod but the run from main_staging.yml to report the same Artifact as non-compliant. | ||
In this situation, the Environment report for staging will see the Artifact deployment | ||
from 1)main.yml and so, in staging, the Artifact will appear as non-compliant in its snapshot. | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters