Skip to content
This repository was archived by the owner on May 2, 2023. It is now read-only.

Commit d082c98

Browse files
Add GitHub Actions info
1 parent 0c98cf5 commit d082c98

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

README.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,54 @@ I created this repository as an easy, versioned git repository that shows change
3030
├── ...
3131
├── ...
3232
```
33+
34+
## GitHub Actions
35+
36+
This repository automatically updates itself over time.
37+
38+
### Build Steps
39+
40+
- Checkout repo
41+
- Install Python 3.7
42+
- Install dependencies via Pipenv
43+
- Lint with flake8
44+
- Look for and update new CFN specs if found
45+
- Audit documentation links and cfn user guide
46+
- Create pull request if any files were updated
47+
48+
> ***NOTE:*** _The **Install dependencies via Pipenv** step also updates the `aws-cloudformation-user-guide` submodule, if any updates are available._
49+
50+
#### Step: Look for and update new CFN specs if found
51+
52+
The following is executed:
53+
54+
- `tools/cfn-resource-list.py`
55+
56+
I went the _Continuous Deployment_ route when it comes to how the repository updates the specification files in the `spec` directory, meaning I don't need to visit the repo and accept a PR whenever new spec files are published.
57+
58+
The following JSON file is also auto-updated / merged to `master` whenever the `spec` dir is updated:
59+
60+
- `all-cfn-versions.json`
61+
62+
#### Step: Audit documentation links and cfn user guide
63+
64+
The following is executed:
65+
66+
- `tools/cfn-supported-region-generator.py`
67+
68+
The following files may be updated:
69+
70+
- `supported-regions-per-resource.json`
71+
- `documentation-lookup-errors.json`
72+
73+
> ***NOTE:*** __If any files are updated, either the JSON files listed above or the `aws-cloudformation-user-guide` submodule, then the last build step creates a new branch with a PR: **Create pull request if any files were updated**_
74+
75+
#### Yet to Automate
76+
77+
The following is still manually managed:
78+
79+
- `documentation-broken-links-detailed.json`
80+
81+
Some of the troubleshooting steps for finding a fix to the documentation errors can be rather involved. I'd like to reduce this to the most helpful potential-fix steps done in an automated fashion.
82+
83+
> ***NOTE:*** _This doc also tracks the amount of days passed since certain bugs were discovered. This has helped in understanding that the [AWS CloudFormation User Guide source](https://github.com/awsdocs/aws-cloudformation-user-guide/) is being managed in a confusing (mostly manual) fashion by AWS._

0 commit comments

Comments
 (0)