Skip to content

Commit e434e98

Browse files
committed
Migrate to seed4j in CI
1 parent 1543028 commit e434e98

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

.github/workflows/github-actions.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,23 @@ jobs:
5858
chmod +x tests-ci/sonar.sh
5959
./tests-ci/sonar.sh
6060
- name: 'Analysis: SonarCloud'
61-
if: github.repository == 'jhipster/jhipster-lite-extension' && github.ref == 'refs/heads/main'
61+
if: github.repository == 'seed4j/seed4j-sample-extension' && github.ref == 'refs/heads/main'
6262
env:
6363
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
6464
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
65-
run: ./mvnw initialize sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.projectKey=jhipster_jhipster-lite-extension -Dsonar.organization=jhipster -Dsonar.login= -Dsonar.password=
65+
run: |
66+
./mvnw initialize sonar:sonar \
67+
-Dsonar.host.url=https://sonarcloud.io \
68+
-Dsonar.projectKey=seed4j_seed4j-sample-extension \
69+
-Dsonar.organization=seed4j \
70+
-Dsonar.token=$SONAR_TOKEN
6671
- name: 'Test: generate sample app'
6772
run: |
6873
./tests-ci/start.sh
6974
./tests-ci/generate.sh fullapp maven yaml
7075
./tests-ci/stop.sh
7176
- name: 'Test: verify generated sample app'
72-
working-directory: /tmp/jhlite/fullapp/
77+
working-directory: /tmp/seed4j/fullapp/
7378
run: |
7479
if [ -f 'mvnw' ]; then
7580
./mvnw clean verify

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# JHLite Extension Sample
22

3-
[![Build Status][github-actions-jhlextension-image]][github-actions-url]
3+
[![Build Status][github-actions-image]][github-actions-url]
44

55
## Prerequisites
66

@@ -55,5 +55,5 @@ docker compose -f src/main/docker/sonar.yml up -d
5555

5656
<!-- jhipster-needle-documentation -->
5757

58-
[github-actions-jhlextension-image]: https://github.com/jhipster/jhipster-lite-extension/workflows/build/badge.svg
59-
[github-actions-url]: https://github.com/jhipster/jhipster-lite-extension/actions
58+
[github-actions-image]: https://github.com/seed4j/seed4j-sample-extension/workflows/build/badge.svg
59+
[github-actions-url]: https://github.com/seed4j/seed4j-sample-extension/actions

sonar-project.properties

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
sonar.projectKey=jhliteExtensionSample
2-
sonar.projectName=JHLite Extension Sample
3-
# used for local sonarqube Docker image
4-
sonar.login=admin
5-
sonar.password=admin
1+
sonar.projectKey=seed4jSampleExtension
2+
sonar.projectName=Seed4J Sample Extension
63

74
sonar.sources=src/main/
85
sonar.tests=src/test/

tests-ci/modulePayload.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"projectFolder": "/tmp/jhlite/APP_NAME",
2+
"projectFolder": "/tmp/seed4j/APP_NAME",
33
"commit": true,
44
"parameters": {
55
"projectName": "Chips Project",

0 commit comments

Comments
 (0)