You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,17 @@ Project utilizing various DevOps tech stacks for web hosting.
7
7
- Google Cloud permissioning for direct access to a single Google Drive file is not so straightforward
8
8
- On Github, secrets stored under Secrets and Variables -> Actions can be accessed by anyone with collaborator access. Secrets and Variables -> Codespaces are encrypted, not passed to forks and are not accessible by all collaborators.
9
9
- Github Codespaces secrets are NOT accessible in Github Actions Workflows.
10
+
-[Reusable Workflows](https://docs.github.com/en/actions/sharing-automations/reusing-workflows#creating-a-reusable-workflow) as well as more info on [Reusing Workflows](https://docs.github.com/en/actions/sharing-automations/reusing-workflows)
Note - most common way to store variables in Github involves using and echo statemnt where a value is stored in variable and then piping the result of that statement into the `$GITHB_OUTPUT` environment variable, ex:
13
+
```
14
+
echo "MY_VAR=value" >> $GITHUB_OUTPUT
15
+
```
16
+
- Workflow Call and Workflow Dispatch events can be triggered on any branch, HOWEVER Workflow Run will ONLY trigger on the main branch [Github Documentation on Workflow Events]
- BEWARE of the ":" character when doing command-line substitutions
19
+
- Composite actions allow for chaining simple job steps commands together to be executed in a single, reusable step (See [Composite Action](https://docs.github.com/en/actions/sharing-automations/creating-actions/creating-a-composite-action))
20
+
- Nested expressions are NOT supported by Github actions and instead requires the use of the `format` function. For more information on evaluating expresssions in workflows and actions, see [here](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/evaluate-expressions-in-workflows-and-actions#format)
10
21
11
22
12
23
# references
@@ -25,5 +36,6 @@ In order to test locally, `tflocal` was used in conjunction with localstack to e
25
36
*[ ] add deployment configuration for ansible
26
37
*[X] add github actions CI/CD
27
38
*[ ] add AWS CodePipline CI/CD
28
-
*~~[] add localstack testing to CI/CD pipeline to verify html page works~~ (using Google Drive direct download to HTML file)
29
-
*[ ] create repository(s) to build Docker images used for downloading the Google Drive file and another image for deploying resources (justification - potential setup/ startup efficiency gain on CI/CD environment initiation)
39
+
*[x]~~~add localstack testing to CI/CD pipeline to verify html page works~~ (using Google Drive direct download to HTML file)
40
+
* [ ] create repository(s) to build Docker images used for downloading the Google Drive file and another image for deploying resources (justification - potential setup/ startup efficiency gain on CI/CD environment initiation)
41
+
* [ ] Refactor the [download.yaml](.github/workflows/download.yaml) and [deploy.yaml](.github/workflows/deploy.yaml) so that the deploy workflow calls the download workflow instead. (Triggering things from the download workflow initially allowed for easier testing.)
0 commit comments