-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: naming * feat: update .todos * feat: update .todos
- Loading branch information
1 parent
1994d3f
commit bbd9707
Showing
6 changed files
with
61 additions
and
14 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,5 @@ | ||
TF_TOKEN_app_terraform_io= | ||
|
||
AWS_ACCESS_KEY_ID= | ||
AWS_SECRET_ACCESS_KEY= | ||
AWS_DEFAULT_REGION= |
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
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,18 @@ | ||
/* TPM | ||
|
||
team: | ||
vlad.k: | ||
email: [email protected] | ||
|
||
timeline: | ||
v24.9.0: | ||
date: 2024-09-24 | ||
v24.10.0: | ||
date: 2024-10-xx | ||
|
||
tasks: |- | ||
[-:003:v24.10.0] @vlad.k Create repository to test CI/CD skeleton | ||
[-:002:v24.10.0] @vlad.k Split prereq & login command | ||
[+:001:v24.9.0] @vlad.k Set default env in base.yml - '', dispatch/push - dev01 | ||
|
||
*/ |
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 |
---|---|---|
@@ -1 +1,16 @@ | ||
# tln-cicd-github | ||
# tln-cicd-github | ||
CI/CD skeleton | ||
|
||
## Integration | ||
* Add this repository using git subtree (execute from the root of the repository and add into main branch using merge commit) | ||
``` | ||
tln subtree-add -- --prefix .github/workflows --subtree https://github.com/project-talan/tln-cicd-github.git --ref v24.9.0 --squash | ||
``` | ||
* Install Nodejs libraries (execute next command from the root of the repository) | ||
``` | ||
npm i js-yaml assign-deep fast-glob --save | ||
``` | ||
* Copy .github/workflows/.tln.conf.template to the repository root and update it with actuail values: project name, terraform cloud parameters, AWS account etc. | ||
``` | ||
cp .github/workflows/.tln.conf.template .tln.conf | ||
``` |
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ on: | |
environment: | ||
type: string | ||
description: Environment | ||
default: "ci" | ||
default: "" | ||
tests: | ||
type: string | ||
description: Tests | ||
|
@@ -63,7 +63,7 @@ jobs: | |
with: | ||
node-version: "22.6.0" | ||
|
||
- run: npm i -g [email protected] | ||
- run: npm i -g [email protected] [email protected] | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
|
@@ -84,7 +84,7 @@ jobs: | |
large-packages: true | ||
docker-images: false | ||
swap-storage: true | ||
|
||
- name: Configure environment | ||
env: | ||
ENVIRONMENT_GROUP: ${{ secrets.ENVIRONMENT_GROUP }} | ||
|
@@ -96,7 +96,7 @@ jobs: | |
mkdir secrets | ||
echo "$ENVIRONMENT_GROUP" > secrets/.env.${{ inputs.group }} | ||
tln configure-ci:prereq:get-secrets | ||
tln configure-ci:get-secrets:prereq | ||
ls -la secrets | ||
- name: Init | ||
|
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