Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7181182

Browse files
authored
Merge pull request#1 from devxp-tech/hotfix/create-app
Hotfix/create app
2 parentsf3e8bbd +d9ce489 commit7181182

30 files changed

+1320
-0
lines changed

‎.dockerignore‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.idea
2+
.gitignore
3+
.dockerignore
4+
devspace.yaml

‎.editorconfig‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root =true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line =lf
9+
insert_final_newline =true
10+
charset =utf-8
11+
indent_style =space
12+
13+
[*.html]
14+
indent_style =space
15+
indent_size =2
16+
17+
[*.{ts,json,js,tsx,jsx}]
18+
indent_style =space
19+
indent_size =2
20+
21+
[*.md]
22+
indent_size =2
23+
indent_style =space
24+
25+
[Dockerfile]
26+
indent_style =space
27+
indent_size =2
28+
29+
[*.{yml,yaml}]
30+
indent_size =2
31+
indent_style =space
32+
end_of_line =lf
33+
charset =utf-8
34+
trim_trailing_whitespace =true
35+
insert_final_newline =false
36+
line_wrap_mode =softwrap

‎.github/CODEOWNERS‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
* @devxp-tech/
2+
.github/*@devxp-tech/sre-team
3+
liquibase/*@devxp-tech/dba-team

‎.github/dependabot.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version:2
2+
3+
updates:
4+
-package-ecosystem:"github-actions"
5+
directory:"/"
6+
schedule:
7+
interval:"daily"
8+
target-branch:"hotfix/dependabot"

‎.github/pull_request_template.md‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#Thank you for making`devxp-tech/template-java` better
2+
3+
##What kind of change does this PR introduce?
4+
<!-- Please check the one that applies to this PR using "x".-->
5+
*[ ] Bugfix
6+
*[ ] Feature
7+
*[ ] Code style update (formatting)
8+
*[ ] Refactoring (no functional changes)
9+
*[ ] CI related changes
10+
*[ ] Other... Please describe:
11+
12+
##What is the current behavior?
13+
<!-- Please describe the current behavior that you are modifying or linking to a relevant issue.-->
14+
15+
##What is the new behavior?
16+
<!-- Please describe the current desired behavior that you are modifying or linking to a relevant issue.-->
17+
18+
##Does this PR introduce a new API versioning or breaking change?
19+
20+
*[ ] Yes
21+
*[ ] No
22+
23+
<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below.-->
24+
25+
##Other information
26+
##Also verify you have:
27+
28+
*[ ] Read the[contributions](../CONTRIBUTING.md) page.
29+
*[ ] Read the[DCO](../DCO), if you are a first time contributor.
30+
*[ ] Read the[code of conduct]([Code of Conduct](https://github.com/devxp-tech/.github/blob/main/CODE_OF_CONDUCT.md)).

‎.github/workflows/auto-assign.yaml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name:Auto Assign 🦾
2+
3+
on:
4+
issues:
5+
types:[opened]
6+
pull_request:
7+
types:[opened]
8+
9+
jobs:
10+
auto-assign:
11+
uses:devxp-tech/.github/.github/workflows/auto-assign.yaml@main
12+
secrets:inherit
13+
with:
14+
assignees:diegoluisi
15+
numOfAssignee:1

‎.github/workflows/codeql.yaml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name:CodeQL 🔎
2+
3+
on:
4+
schedule:
5+
-cron:'30 6 * * *'
6+
7+
jobs:
8+
env:
9+
uses:devxp-tech/.github/.github/workflows/codeql.yaml@main
10+
with:
11+
language:go
12+
permissions:
13+
actions:read
14+
contents:read
15+
security-events:write

‎.github/workflows/feature.yaml‎

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name:Feature ✨
2+
3+
on:
4+
push:
5+
branches:
6+
-'feature/**'
7+
paths-ignore:
8+
-README.md
9+
-catalog-info.yaml
10+
-'docs/**'
11+
12+
13+
jobs:
14+
env:
15+
uses:devxp-tech/.github/.github/workflows/env.yaml@main
16+
17+
test:
18+
uses:devxp-tech/.github/.github/workflows/test.yaml@main
19+
needs:
20+
-env
21+
22+
quality-gate:
23+
uses:devxp-tech/.github/.github/workflows/sonarqube.yaml@main
24+
secrets:inherit
25+
needs:
26+
-env
27+
28+
code-scan:
29+
uses:devxp-tech/.github/.github/workflows/synk-golang.yaml@main
30+
secrets:inherit
31+
needs:
32+
-env
33+
34+
notify:
35+
uses:devxp-tech/.github/.github/workflows/notify.yaml@main
36+
if:always()
37+
secrets:inherit
38+
needs:
39+
-env
40+
-test
41+
-quality-gate
42+
-code-scan
43+
# - action-pull-request
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
name:First Release 🌱
2+
3+
on:
4+
workflow_dispatch:
5+
6+
7+
jobs:
8+
env:
9+
uses:devxp-tech/.github/.github/workflows/env.yaml@main
10+
11+
test:
12+
uses:devxp-tech/.github/.github/workflows/test.yaml@main
13+
14+
quality-gate:
15+
uses:devxp-tech/.github/.github/workflows/sonarqube.yaml@main
16+
secrets:inherit
17+
18+
docs:
19+
uses:devxp-tech/.github/.github/workflows/techdocs.yaml@main
20+
secrets:inherit
21+
with:
22+
repository:${{ needs.env.outputs.repository }}
23+
needs:
24+
-env
25+
26+
build-and-push:
27+
uses:devxp-tech/.github/.github/workflows/build-and-push.yaml@main
28+
with:
29+
tag:${{ needs.env.outputs.tag }}
30+
needs:
31+
-env
32+
-test
33+
-quality-gate
34+
35+
security-gateway:
36+
uses:devxp-tech/.github/.github/workflows/trivy.yaml@main
37+
with:
38+
tag:${{ needs.env.outputs.tag }}
39+
needs:
40+
-env
41+
-build-and-push
42+
43+
deploy:
44+
uses:devxp-tech/.github/.github/workflows/deploy.yaml@main
45+
secrets:inherit
46+
with:
47+
tag:${{ needs.env.outputs.tag }}
48+
repository:${{ needs.env.outputs.repository }}
49+
url:https://${{ needs.env.outputs.repository }}.devxp-tech.io
50+
environment:development
51+
needs:
52+
-env
53+
-security-gateway
54+
55+
promote:
56+
uses:devxp-tech/.github/.github/workflows/promote.yaml@main
57+
secrets:inherit
58+
with:
59+
tag:${{ needs.env.outputs.tag }}
60+
repository:${{ needs.env.outputs.repository }}
61+
url:https://${{ needs.env.outputs.repository }}.devxp-tech.io
62+
environment:production
63+
needs:
64+
-env
65+
-deploy
66+
67+
notify:
68+
uses:devxp-tech/.github/.github/workflows/notify.yaml@main
69+
if:always()
70+
secrets:inherit
71+
needs:
72+
-promote

‎.github/workflows/hotfix.yaml‎

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
name:HotFix 🔥
2+
3+
on:
4+
push:
5+
branches:
6+
-'hotfix/**'
7+
paths-ignore:
8+
-README.md
9+
-catalog-info.yaml
10+
-'docs/**'
11+
12+
jobs:
13+
env:
14+
uses:devxp-tech/.github/.github/workflows/env.yaml@main
15+
16+
test:
17+
uses:devxp-tech/.github/.github/workflows/test.yaml@main
18+
19+
quality-gate:
20+
runs-on:ubuntu-latest
21+
steps:
22+
-uses:actions/checkout@v2
23+
with:
24+
fetch-depth:0# Shallow clones should be disabled for a better relevancy of analysis
25+
-name:Set up JDK 17
26+
uses:actions/setup-java@v1
27+
with:
28+
java-version:17
29+
-name:Cache SonarQube packages
30+
uses:actions/cache@v1
31+
with:
32+
path:~/.sonar/cache
33+
key:${{ runner.os }}-sonar
34+
restore-keys:${{ runner.os }}-sonar
35+
-name:Cache Maven packages
36+
uses:actions/cache@v1
37+
with:
38+
path:~/.m2
39+
key:${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
40+
restore-keys:${{ runner.os }}-m2
41+
-name:Build and analyze
42+
env:
43+
SONAR_TOKEN:${{ secrets.SONARQUBE_TOKEN }}
44+
SONAR_HOST_URL:${{ secrets.SONARQUBE_HOST }}
45+
run:mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=devxp-tech_template-java_AYv2pdAkrzkI6H_lpdqk -Dsonar.projectName='template-java'
46+
47+
# quality-gate:
48+
# uses: devxp-tech/.github/.github/workflows/sonarqube.yaml@main
49+
# secrets: inherit
50+
51+
code-scan:
52+
uses:devxp-tech/.github/.github/workflows/synk-golang.yaml@main
53+
secrets:inherit
54+
55+
build-and-push:
56+
uses:devxp-tech/.github/.github/workflows/build-and-push.yaml@main
57+
with:
58+
tag:${{ needs.env.outputs.tag }}
59+
needs:
60+
-env
61+
-test
62+
-quality-gate
63+
-code-scan
64+
65+
security-gateway:
66+
uses:devxp-tech/.github/.github/workflows/trivy.yaml@main
67+
with:
68+
tag:${{ needs.env.outputs.tag }}
69+
needs:
70+
-env
71+
-build-and-push
72+
73+
deploy:
74+
uses:devxp-tech/.github/.github/workflows/deploy.yaml@main
75+
secrets:inherit
76+
with:
77+
tag:${{ needs.env.outputs.tag }}
78+
repository:${{ needs.env.outputs.repository }}
79+
url:https://${{ needs.env.outputs.repository }}.devxp-tech.io
80+
environment:development
81+
needs:
82+
-env
83+
-security-gateway
84+
85+
notify:
86+
uses:devxp-tech/.github/.github/workflows/notify.yaml@main
87+
if:always()
88+
secrets:inherit
89+
needs:
90+
-deploy

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp