Skip to content

Commit 54ee898

Browse files
fix git attributes
1 parent 8a7cb20 commit 54ee898

File tree

13 files changed

+1409
-1409
lines changed

13 files changed

+1409
-1409
lines changed

.github/dependabot.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# To get started with Dependabot version updates, you'll need to specify which
2-
# package ecosystems to update and where the package manifests are located.
3-
# Please see the documentation for more information:
4-
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5-
# https://containers.dev/guide/dependabot
6-
7-
version: 2
8-
updates:
9-
- package-ecosystem: "devcontainers"
10-
directory: "/"
11-
schedule:
12-
interval: weekly
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for more information:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
# https://containers.dev/guide/dependabot
6+
7+
version: 2
8+
updates:
9+
- package-ecosystem: "devcontainers"
10+
directory: "/"
11+
schedule:
12+
interval: weekly

.github/labeler.yml

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
1-
"component : api-gateway":
2-
- changed-files:
3-
- any-glob-to-any-file: 'api-gateway/**/*'
4-
"component : catalog-service":
5-
- changed-files:
6-
- any-glob-to-any-file: 'catalog-service/**/*'
7-
"component : config-server":
8-
- changed-files:
9-
- any-glob-to-any-file: 'config-server/**/*'
10-
"component : inventory-service":
11-
- changed-files:
12-
- any-glob-to-any-file: 'inventory-service/**/*'
13-
"component : order-service":
14-
- changed-files:
15-
- any-glob-to-any-file: 'order-service/**/*'
16-
"component : payment-service":
17-
- changed-files:
18-
- any-glob-to-any-file: 'payment-service/**/*'
19-
"component : service-registry":
20-
- changed-files:
21-
- any-glob-to-any-file: 'service-registry/**/*'
22-
"component : webapp":
23-
- changed-files:
24-
- any-glob-to-any-file: 'retail-store-webapp/**/*'
25-
"component : gatling-tests":
26-
- changed-files:
27-
- any-glob-to-any-file: 'gatling-tests/**/*'
28-
Documentation:
29-
- changed-files:
30-
- any-glob-to-any-file: 'docs/**/*'
31-
"type : dependency-upgrade":
32-
- changed-files:
33-
- any-glob-to-any-file:
34-
- api-gateway/pom.xml
35-
- catalog-service/pom.xml
36-
- config-server/pom.xml
37-
- inventory-service/pom.xml
38-
- order-service/pom.xml
39-
- payment-service/pom.xml
40-
- service-registry/pom.xml
41-
- gatling-tests/pom.xml
42-
- retail-store-webapp/pom.xml
1+
"component : api-gateway":
2+
- changed-files:
3+
- any-glob-to-any-file: 'api-gateway/**/*'
4+
"component : catalog-service":
5+
- changed-files:
6+
- any-glob-to-any-file: 'catalog-service/**/*'
7+
"component : config-server":
8+
- changed-files:
9+
- any-glob-to-any-file: 'config-server/**/*'
10+
"component : inventory-service":
11+
- changed-files:
12+
- any-glob-to-any-file: 'inventory-service/**/*'
13+
"component : order-service":
14+
- changed-files:
15+
- any-glob-to-any-file: 'order-service/**/*'
16+
"component : payment-service":
17+
- changed-files:
18+
- any-glob-to-any-file: 'payment-service/**/*'
19+
"component : service-registry":
20+
- changed-files:
21+
- any-glob-to-any-file: 'service-registry/**/*'
22+
"component : webapp":
23+
- changed-files:
24+
- any-glob-to-any-file: 'retail-store-webapp/**/*'
25+
"component : gatling-tests":
26+
- changed-files:
27+
- any-glob-to-any-file: 'gatling-tests/**/*'
28+
Documentation:
29+
- changed-files:
30+
- any-glob-to-any-file: 'docs/**/*'
31+
"type : dependency-upgrade":
32+
- changed-files:
33+
- any-glob-to-any-file:
34+
- api-gateway/pom.xml
35+
- catalog-service/pom.xml
36+
- config-server/pom.xml
37+
- inventory-service/pom.xml
38+
- order-service/pom.xml
39+
- payment-service/pom.xml
40+
- service-registry/pom.xml
41+
- gatling-tests/pom.xml
42+
- retail-store-webapp/pom.xml

.github/workflows/greetings.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
name: Greetings
2-
3-
on: [pull_request, issues]
4-
5-
jobs:
6-
greeting:
7-
runs-on: ubuntu-latest
8-
steps:
9-
- uses: actions/first-interaction@v3
10-
with:
11-
repo-token: ${{ secrets.GITHUB_TOKEN }}
12-
issue-message: 'Thanks for reporting issues'
13-
pr-message: 'Thanks for sending your prs'
1+
name: Greetings
2+
3+
on: [pull_request, issues]
4+
5+
jobs:
6+
greeting:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/first-interaction@v3
10+
with:
11+
repo-token: ${{ secrets.GITHUB_TOKEN }}
12+
issue-message: 'Thanks for reporting issues'
13+
pr-message: 'Thanks for sending your prs'

.github/workflows/sonar-cloud.yml

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,66 @@
1-
name: SonarCloud
2-
on:
3-
push:
4-
branches:
5-
- main
6-
paths-ignore:
7-
- ReadMe.md
8-
- docker-compose-tools.yml
9-
- .github/**
10-
- config/**
11-
- gatling-tests/**
12-
- run.sh
13-
pull_request:
14-
types:
15-
- opened
16-
- synchronize
17-
- reopened
18-
workflow_dispatch:
19-
jobs:
20-
build:
21-
name: Build and analyze
22-
runs-on: ubuntu-latest
23-
if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' }}
24-
steps:
25-
- uses: actions/checkout@v5
26-
with:
27-
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
28-
- name: Set up JDK 25
29-
uses: actions/setup-java@v5
30-
with:
31-
java-version: 25
32-
distribution: 'temurin' # Alternative distribution options are available.
33-
cache: 'maven'
34-
35-
- name: Cache SonarCloud packages
36-
uses: actions/cache@v4
37-
with:
38-
path: ~/.sonar/cache
39-
key: ${{ runner.os }}-sonar
40-
restore-keys: ${{ runner.os }}-sonar
41-
42-
- name: Create and populate ~/.testcontainers.properties
43-
run: |
44-
cat <<EOF > ~/.testcontainers.properties
45-
testcontainers.reuse.enable=true
46-
EOF
47-
48-
echo "cat ~/.testcontainers.properties"
49-
cat ~/.testcontainers.properties
50-
51-
- name: Build and analyze
52-
env:
53-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
54-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
55-
run: ./mvnw -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=rajadilipkolli_spring-boot-microservices-series-v2
56-
57-
e2e-tests:
58-
name: End-to-End Tests
59-
needs: build
60-
runs-on: ubuntu-latest
61-
if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' }}
62-
steps:
63-
- uses: actions/checkout@v5
64-
65-
- name: Run End to End Tests
66-
run: ./test-em-all.sh --detailed-logs start stop
1+
name: SonarCloud
2+
on:
3+
push:
4+
branches:
5+
- main
6+
paths-ignore:
7+
- ReadMe.md
8+
- docker-compose-tools.yml
9+
- .github/**
10+
- config/**
11+
- gatling-tests/**
12+
- run.sh
13+
pull_request:
14+
types:
15+
- opened
16+
- synchronize
17+
- reopened
18+
workflow_dispatch:
19+
jobs:
20+
build:
21+
name: Build and analyze
22+
runs-on: ubuntu-latest
23+
if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' }}
24+
steps:
25+
- uses: actions/checkout@v5
26+
with:
27+
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
28+
- name: Set up JDK 25
29+
uses: actions/setup-java@v5
30+
with:
31+
java-version: 25
32+
distribution: 'temurin' # Alternative distribution options are available.
33+
cache: 'maven'
34+
35+
- name: Cache SonarCloud packages
36+
uses: actions/cache@v4
37+
with:
38+
path: ~/.sonar/cache
39+
key: ${{ runner.os }}-sonar
40+
restore-keys: ${{ runner.os }}-sonar
41+
42+
- name: Create and populate ~/.testcontainers.properties
43+
run: |
44+
cat <<EOF > ~/.testcontainers.properties
45+
testcontainers.reuse.enable=true
46+
EOF
47+
48+
echo "cat ~/.testcontainers.properties"
49+
cat ~/.testcontainers.properties
50+
51+
- name: Build and analyze
52+
env:
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
54+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
55+
run: ./mvnw -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=rajadilipkolli_spring-boot-microservices-series-v2
56+
57+
e2e-tests:
58+
name: End-to-End Tests
59+
needs: build
60+
runs-on: ubuntu-latest
61+
if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' }}
62+
steps:
63+
- uses: actions/checkout@v5
64+
65+
- name: Run End to End Tests
66+
run: ./test-em-all.sh --detailed-logs start stop

0 commit comments

Comments
 (0)