-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #267 from d-rec/develop
Dev to Stage Push
- Loading branch information
Showing
50 changed files
with
2,132 additions
and
1,959 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,6 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
[*] | ||
# Ensure consistent file encoding in UNIX style | ||
charset = utf-8 | ||
end_of_line = lf |
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 @@ | ||
name: Check Docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
pull_request: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
prettier: | ||
name: Lint prettier | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: lts/gallium | ||
|
||
- name: Run Prettier on Docs | ||
working-directory: docs | ||
run: npx prettier . --check |
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,40 @@ | ||
# Generic checks to ease collaboration: | ||
# - consistent file encoding in UNIX style | ||
# - whitespaces in all purposes files like markdown, yaml, etc | ||
name: Check Generic | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
pull_request: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
editorconfig-checker: | ||
name: Run editorconfig-checker | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Run editorconfig-checker | ||
run: docker run --rm --volume=$PWD:/check mstruebing/editorconfig-checker | ||
|
||
markdownlint: | ||
name: Run markdownlint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Run markdownlint-cli2 | ||
uses: DavidAnson/markdownlint-cli2-action@v13 | ||
|
||
yamllint: | ||
name: Run yamllint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Run yamllint | ||
run: yamllint . |
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,14 @@ | ||
# Disable some built-in rules | ||
config: | ||
line-length: false | ||
no-inline-html: false | ||
first-line-h1: false | ||
code-fence-style: | ||
style: backtick | ||
|
||
# Define glob expressions to use (only valid at root) | ||
globs: | ||
- "**/*.md" | ||
|
||
# Ignore files that are not part of version control | ||
gitignore: true |
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,16 +1,12 @@ | ||
{ | ||
"printWidth": 100, | ||
"singleQuote": true, | ||
"useTabs": false, | ||
"semi": true, | ||
"tabWidth": 4, | ||
"trailingComma": "none", | ||
"overrides": [ | ||
{ | ||
"files": "*.{yaml,yml}", | ||
"options": { | ||
"tabWidth": 2 | ||
} | ||
} | ||
] | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"overrides": [ | ||
{ | ||
"files": "*.{yaml,yml}", | ||
"options": { | ||
"singleQuote": false | ||
} | ||
} | ||
] | ||
} |
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 @@ | ||
extends: default | ||
|
||
ignore-from-file: | ||
- .gitignore | ||
- .yamllintignore | ||
|
||
rules: | ||
document-start: disable | ||
indentation: | ||
spaces: 2 | ||
line-length: disable | ||
quoted-strings: | ||
quote-type: double | ||
required: only-when-needed | ||
allow-quoted-quotes: true | ||
check-keys: true | ||
truthy: | ||
check-keys: false |
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 @@ | ||
pnpm-lock.yaml |
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 |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
"prettier --write --config-precedence file-override './src/**/*'", | ||
"eslint --fix" | ||
] | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
version: 0.2 | ||
env: | ||
parameter-store: | ||
docker_username: /powertrust/docker/username | ||
docker_password: /powertrust/docker/password | ||
phases: | ||
install: | ||
# runtime-versions: | ||
# nodejs: 18 | ||
# docker: 18 | ||
commands: | ||
- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://127.0.0.1:2375 --storage-driver=overlay2 & | ||
- timeout 15 sh -c "until docker info; do echo .; sleep 1; done" | ||
- curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" | ||
- chmod +x ./kubectl | ||
- curl -Lo aws-iam-authenticator https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v0.5.9/aws-iam-authenticator_0.5.9_linux_amd64 | ||
- chmod +x ./aws-iam-authenticator | ||
- export PATH=$PWD/:$PATH | ||
build: | ||
commands: | ||
- chmod +x ./buildscript.sh | ||
- ./buildscript.sh | ||
version: 0.2 | ||
env: | ||
parameter-store: | ||
docker_username: /powertrust/docker/username | ||
docker_password: /powertrust/docker/password | ||
phases: | ||
install: | ||
# runtime-versions: | ||
# nodejs: 18 | ||
# docker: 18 | ||
commands: | ||
- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://127.0.0.1:2375 --storage-driver=overlay2 & | ||
- timeout 15 sh -c "until docker info; do echo .; sleep 1; done" | ||
- curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" | ||
- chmod +x ./kubectl | ||
- curl -Lo aws-iam-authenticator https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v0.5.9/aws-iam-authenticator_0.5.9_linux_amd64 | ||
- chmod +x ./aws-iam-authenticator | ||
- export PATH=$PWD/:$PATH | ||
build: | ||
commands: | ||
- chmod +x ./buildscript.sh | ||
- ./buildscript.sh |
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
Oops, something went wrong.