-
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.
- Loading branch information
Scaffolder
committed
Mar 15, 2023
0 parents
commit 090a2f4
Showing
31 changed files
with
923 additions
and
0 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,36 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
indent_style = space | ||
|
||
[*.html] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.{ts,json,js,tsx,jsx}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.md] | ||
indent_size = 2 | ||
indent_style = space | ||
|
||
[Dockerfile] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.{yml,yaml}] | ||
indent_size = 2 | ||
indent_style = space | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = false | ||
line_wrap_mode = soft wrap |
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,3 @@ | ||
.github/* @devxp-tech/sre-team | ||
liquibase/* @devxp-tech/dba-team | ||
* @devxp-tech/group:default/guests |
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 @@ | ||
# TITLE | ||
|
||
## JIRA ISSUE | ||
|
||
What this PR does | ||
|
||
- [ ] New features | ||
- [ ] Bugfix | ||
- [ ] Hotfix | ||
- [ ] Others | ||
|
||
>Short description about this changes below: | ||
___ |
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,10 @@ | ||
name: chatgpt | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
|
||
jobs: | ||
chatgpt: | ||
uses: devxp-tech/.github/.github/workflows/chatgpt.yaml@main | ||
secrets: inherit |
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,38 @@ | ||
name: feature | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'feature/**' | ||
|
||
jobs: | ||
env: | ||
uses: devxp-tech/.github/.github/workflows/env.yaml@main | ||
|
||
test: | ||
uses: devxp-tech/.github/.github/workflows/test.yaml@main | ||
needs: | ||
- env | ||
|
||
quality-gate: | ||
uses: devxp-tech/.github/.github/workflows/sonarqube.yaml@main | ||
secrets: inherit | ||
needs: | ||
- env | ||
|
||
code-scan: | ||
uses: devxp-tech/.github/.github/workflows/synk-golang.yaml@main | ||
secrets: inherit | ||
needs: | ||
- env | ||
|
||
notify: | ||
uses: devxp-tech/.github/.github/workflows/notify.yaml@main | ||
if: always() | ||
secrets: inherit | ||
needs: | ||
- env | ||
- test | ||
- quality-gate | ||
- code-scan | ||
# - action-pull-request |
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,69 @@ | ||
name: first-release | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
|
||
jobs: | ||
env: | ||
uses: devxp-tech/.github/.github/workflows/env.yaml@main | ||
|
||
test: | ||
uses: devxp-tech/.github/.github/workflows/test.yaml@main | ||
|
||
quality-gate: | ||
uses: devxp-tech/.github/.github/workflows/sonarqube.yaml@main | ||
secrets: inherit | ||
|
||
docs: | ||
uses: devxp-tech/.github/.github/workflows/techdocs.yaml@main | ||
secrets: inherit | ||
with: | ||
repository: | ||
needs: | ||
- env | ||
|
||
build-and-push: | ||
uses: devxp-tech/.github/.github/workflows/build-and-push.yaml@main | ||
with: | ||
tag: | ||
needs: | ||
- env | ||
- test | ||
- quality-gate | ||
|
||
security-gateway: | ||
uses: devxp-tech/.github/.github/workflows/trivy.yaml@main | ||
needs: | ||
- build-and-push | ||
|
||
deploy: | ||
uses: devxp-tech/.github/.github/workflows/deploy.yaml@main | ||
secrets: inherit | ||
with: | ||
tag: | ||
repository: | ||
url: https://.devxp-tech.io | ||
environment: development | ||
needs: | ||
- env | ||
- security-gateway | ||
|
||
promote: | ||
uses: devxp-tech/.github/.github/workflows/promote.yaml@main | ||
secrets: inherit | ||
with: | ||
tag: | ||
repository: | ||
url: https://.devxp-tech.io | ||
environment: production | ||
needs: | ||
- env | ||
- deploy | ||
|
||
notify: | ||
uses: devxp-tech/.github/.github/workflows/notify.yaml@main | ||
if: always() | ||
secrets: inherit | ||
needs: | ||
- promote |
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,53 @@ | ||
name: hotfix | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'hotfix/**' | ||
|
||
jobs: | ||
env: | ||
uses: devxp-tech/.github/.github/workflows/env.yaml@main | ||
|
||
test: | ||
uses: devxp-tech/.github/.github/workflows/test.yaml@main | ||
|
||
quality-gate: | ||
uses: devxp-tech/.github/.github/workflows/sonarqube.yaml@main | ||
secrets: inherit | ||
|
||
code-scan: | ||
uses: devxp-tech/.github/.github/workflows/synk-golang.yaml@main | ||
secrets: inherit | ||
|
||
build-and-push: | ||
uses: devxp-tech/.github/.github/workflows/build-and-push.yaml@main | ||
with: | ||
tag: | ||
needs: | ||
- env | ||
- test | ||
- quality-gate | ||
- code-scan | ||
|
||
security-gateway: | ||
uses: devxp-tech/.github/.github/workflows/trivy.yaml@main | ||
needs: | ||
- build-and-push | ||
|
||
deploy: | ||
uses: devxp-tech/.github/.github/workflows/deploy.yaml@main | ||
secrets: inherit | ||
with: | ||
tag: | ||
repository: | ||
needs: | ||
- env | ||
- security-gateway | ||
|
||
notify: | ||
uses: devxp-tech/.github/.github/workflows/notify.yaml@main | ||
if: always() | ||
secrets: inherit | ||
needs: | ||
- deploy |
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,34 @@ | ||
name: main | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- 'README.md' | ||
- 'mkdocs.yml' | ||
- 'docs/**' | ||
- 'catalog-info.yaml' | ||
|
||
|
||
jobs: | ||
env: | ||
uses: devxp-tech/.github/.github/workflows/env.yaml@main | ||
|
||
promote: | ||
uses: devxp-tech/.github/.github/workflows/promote.yaml@main | ||
secrets: inherit | ||
with: | ||
tag: | ||
repository: | ||
url: https://.devxp-tech.io | ||
environment: production | ||
needs: | ||
- env | ||
|
||
notify: | ||
uses: devxp-tech/.github/.github/workflows/notify.yaml@main | ||
if: always() | ||
secrets: inherit | ||
needs: | ||
- promote |
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,41 @@ | ||
name: release | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'release/**' | ||
|
||
jobs: | ||
env: | ||
uses: devxp-tech/.github/.github/workflows/env.yaml@main | ||
|
||
build-and-push: | ||
uses: devxp-tech/.github/.github/workflows/build-and-push.yaml@main | ||
with: | ||
tag: | ||
needs: | ||
- env | ||
|
||
security-gateway: | ||
uses: devxp-tech/.github/.github/workflows/trivy.yaml@main | ||
needs: | ||
- build-and-push | ||
|
||
deploy: | ||
uses: devxp-tech/.github/.github/workflows/deploy.yaml@main | ||
secrets: inherit | ||
with: | ||
tag: | ||
repository: | ||
url: https://.devxp-tech.io | ||
environment: development | ||
needs: | ||
- env | ||
- security-gateway | ||
|
||
notify: | ||
uses: devxp-tech/.github/.github/workflows/notify.yaml@main | ||
if: always() | ||
secrets: inherit | ||
needs: | ||
- deploy |
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,27 @@ | ||
name: rollback | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
tag: | ||
description: "Set Docker Image Tag to RollBack" | ||
required: true | ||
jobs: | ||
env: | ||
uses: devxp-tech/.github/.github/workflows/env.yaml@main | ||
|
||
rollback: | ||
uses: devxp-tech/.github/.github/workflows/rollback.yaml@main | ||
secrets: inherit | ||
with: | ||
tag: | ||
repository: | ||
needs: | ||
- env | ||
|
||
notify: | ||
uses: devxp-tech/.github/.github/workflows/notify.yaml@main | ||
if: always() | ||
secrets: inherit | ||
needs: | ||
- rollback |
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,20 @@ | ||
name: techdocs | ||
|
||
on: | ||
push: | ||
# branches: [main] | ||
paths: | ||
- "docs/**" | ||
- "mkdocs.yml" | ||
|
||
jobs: | ||
env: | ||
uses: devxp-tech/.github/.github/workflows/env.yaml@main | ||
|
||
docs: | ||
uses: devxp-tech/.github/.github/workflows/techdocs.yaml@main | ||
secrets: inherit | ||
with: | ||
repository: | ||
needs: | ||
- env |
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,16 @@ | ||
# Binaries for programs and plugins | ||
*.exe | ||
*.exe~ | ||
*.dll | ||
*.so | ||
*.dylib | ||
.DS_Store | ||
|
||
# Test binary, built with `go test -c` | ||
*.test | ||
|
||
# Output of the go coverage tool, specifically when used with LiteIDE | ||
*.out | ||
|
||
# Dependency directories (remove the comment below to include it) | ||
# vendor/ |
Oops, something went wrong.