From 7bd61a13686f0a8fd96f5e9367748df521067150 Mon Sep 17 00:00:00 2001 From: dhruv Date: Thu, 11 Jul 2024 20:52:00 +0530 Subject: [PATCH 01/11] added pr and build workflows Signed-off-by: dhruv --- .github/workflows/build.yaml | 44 +++++++++++++++++++++++++++++ .github/workflows/pr-build.yaml | 37 ++++++++++++++++++++++++ galasa-managers-parent/build.gradle | 12 +++++--- 3 files changed, 89 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/build.yaml create mode 100644 .github/workflows/pr-build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 000000000..ccfb3c037 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,44 @@ +name: Main build + +on: + workflow_dispatch: + pull_request: + branches: [main] + +env: + NAMESPACE: jaydee029 + +jobs: + build-gradle: + name: build and Test Managers + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Setup JDK + uses: actions/setup-java@v4 + with: + java-version: '11' + distribution: 'semeru' + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + with: + gradle-version: 6.9.2 + + - name: Build ,Test and Publish Managers + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.GPG_KEY }} + ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_SECRET }} + ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_PASSPHRASE }} + run: | + gradle -b galasa-managers-parent/build.gradle check publish --info \ + -PsourceMaven=https://development.galasa.dev/main/maven-repo/extensions \ + -PcentralMaven=https://repo.maven.apache.org/maven2/ \ + -PtargetMaven=https://maven.pkg.github.com/${{env.NAMESPACE}}/managers/ \ + -PjacocoEnabled=true \ + -PisMainOrRelease=true + \ No newline at end of file diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml new file mode 100644 index 000000000..f7e03d77a --- /dev/null +++ b/.github/workflows/pr-build.yaml @@ -0,0 +1,37 @@ +name: PR build + +on: + workflow_dispatch: + pull_request: + branches: [main] + +env: + NAMESPACE: jaydee029 + +jobs: + build-gradle: + name: build and Test Managers + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Setup JDK + uses: actions/setup-java@v4 + with: + java-version: '11' + distribution: 'semeru' + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + with: + gradle-version: 6.9.2 + + - name: Test and Build Managers + run: | + gradle -b galasa-managers-parent/build.gradle clean build \ + -PsourceMaven=https://development.galasa.dev/main/maven-repo/extensions \ + -PcentralMaven=https://repo.maven.apache.org/maven2/ \ + -PtargetMaven=https://maven.pkg.github.com/${{env.NAMESPACE}}/managers/ + \ No newline at end of file diff --git a/galasa-managers-parent/build.gradle b/galasa-managers-parent/build.gradle index 0922eb38c..dc93eaa94 100644 --- a/galasa-managers-parent/build.gradle +++ b/galasa-managers-parent/build.gradle @@ -51,6 +51,10 @@ repositories { } signing { + def signingKeyId = findProperty("signingKeyId") + def signingKey = findProperty("signingKey") + def signingPassword = findProperty("signingPassword") + useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword) sign publishing.publications } @@ -74,8 +78,8 @@ if (jacocoEnabled.toBoolean()) { if ("$targetMaven".startsWith('http')) { credentials { - username System.getenv('MAVENUSERNAME') - password System.getenv('MAVENPASSWORD') + username System.getenv("GITHUB_ACTOR") + password System.getenv("GITHUB_TOKEN") } } } @@ -230,8 +234,8 @@ publishing { if ("$targetMaven".startsWith('http')) { credentials { - username System.getenv('MAVENUSERNAME') - password System.getenv('MAVENPASSWORD') + username System.getenv("GITHUB_ACTOR") + password System.getenv("GITHUB_TOKEN") } } } From 489de62ff73026d210f9144dd2ccd1ba4a2b550f Mon Sep 17 00:00:00 2001 From: dhruv Date: Mon, 15 Jul 2024 13:20:53 +0530 Subject: [PATCH 02/11] edited build.yaml Signed-off-by: dhruv --- .github/workflows/build.yaml | 6 ++---- .github/workflows/pr-build.yaml | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ccfb3c037..250bd9688 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -35,10 +35,8 @@ jobs: ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_SECRET }} ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_PASSPHRASE }} run: | - gradle -b galasa-managers-parent/build.gradle check publish --info \ + gradle -xmx4096m -b galasa-managers-parent/build.gradle check publish --info \ -PsourceMaven=https://development.galasa.dev/main/maven-repo/extensions \ -PcentralMaven=https://repo.maven.apache.org/maven2/ \ - -PtargetMaven=https://maven.pkg.github.com/${{env.NAMESPACE}}/managers/ \ - -PjacocoEnabled=true \ - -PisMainOrRelease=true + -PtargetMaven=https://maven.pkg.github.com/${{env.NAMESPACE}}/managers/ -PjacocoEnabled=true -PisMainOrRelease=true \ No newline at end of file diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index f7e03d77a..2bb0786ac 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -30,7 +30,7 @@ jobs: - name: Test and Build Managers run: | - gradle -b galasa-managers-parent/build.gradle clean build \ + gradle -xmx4096m -b galasa-managers-parent/build.gradle clean build \ -PsourceMaven=https://development.galasa.dev/main/maven-repo/extensions \ -PcentralMaven=https://repo.maven.apache.org/maven2/ \ -PtargetMaven=https://maven.pkg.github.com/${{env.NAMESPACE}}/managers/ From cfae3dd6fbe6ee810f72e5217ad98bd3da4db557 Mon Sep 17 00:00:00 2001 From: dhruv Date: Mon, 15 Jul 2024 13:31:38 +0530 Subject: [PATCH 03/11] edited build.yaml Signed-off-by: dhruv --- .github/workflows/build.yaml | 2 +- .github/workflows/pr-build.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 250bd9688..ec2c4212e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -35,7 +35,7 @@ jobs: ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_SECRET }} ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_PASSPHRASE }} run: | - gradle -xmx4096m -b galasa-managers-parent/build.gradle check publish --info \ + gradle -b galasa-managers-parent/build.gradle check publish -Xmx4096m --info \ -PsourceMaven=https://development.galasa.dev/main/maven-repo/extensions \ -PcentralMaven=https://repo.maven.apache.org/maven2/ \ -PtargetMaven=https://maven.pkg.github.com/${{env.NAMESPACE}}/managers/ -PjacocoEnabled=true -PisMainOrRelease=true diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index 2bb0786ac..81337b0fc 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -30,7 +30,7 @@ jobs: - name: Test and Build Managers run: | - gradle -xmx4096m -b galasa-managers-parent/build.gradle clean build \ + gradle -b galasa-managers-parent/build.gradle clean build -Xmx4096m \ -PsourceMaven=https://development.galasa.dev/main/maven-repo/extensions \ -PcentralMaven=https://repo.maven.apache.org/maven2/ \ -PtargetMaven=https://maven.pkg.github.com/${{env.NAMESPACE}}/managers/ From 43cad3269cf07b221fca737fc1322094dfbecf8e Mon Sep 17 00:00:00 2001 From: dhruv Date: Mon, 15 Jul 2024 13:42:26 +0530 Subject: [PATCH 04/11] edited build.yaml Signed-off-by: dhruv --- .github/workflows/build.yaml | 3 +++ .github/workflows/pr-build.yaml | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ec2c4212e..726721e89 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -27,6 +27,9 @@ jobs: uses: gradle/actions/setup-gradle@v3 with: gradle-version: 6.9.2 + + - name: Set Heap size + run: echo "JAVA_OPTS=-Xmx4g" >> $GITHUB_ENV - name: Build ,Test and Publish Managers env: diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index 81337b0fc..643eec298 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -27,10 +27,12 @@ jobs: uses: gradle/actions/setup-gradle@v3 with: gradle-version: 6.9.2 - + + - name: Set Heap size + run: echo "JAVA_OPTS=-Xmx4g" >> $GITHUB_ENV - name: Test and Build Managers run: | - gradle -b galasa-managers-parent/build.gradle clean build -Xmx4096m \ + gradle -b galasa-managers-parent/build.gradle clean build -Xmx 4096m \ -PsourceMaven=https://development.galasa.dev/main/maven-repo/extensions \ -PcentralMaven=https://repo.maven.apache.org/maven2/ \ -PtargetMaven=https://maven.pkg.github.com/${{env.NAMESPACE}}/managers/ From 83298c071b18a8fdba4bb0932918c71c2208f6c3 Mon Sep 17 00:00:00 2001 From: dhruv Date: Mon, 15 Jul 2024 13:43:50 +0530 Subject: [PATCH 05/11] edited build.yaml Signed-off-by: dhruv --- .github/workflows/pr-build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index 643eec298..8cf360d14 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -30,6 +30,7 @@ jobs: - name: Set Heap size run: echo "JAVA_OPTS=-Xmx4g" >> $GITHUB_ENV + - name: Test and Build Managers run: | gradle -b galasa-managers-parent/build.gradle clean build -Xmx 4096m \ From e7910e845859ea099a1950c71851e5182e099904 Mon Sep 17 00:00:00 2001 From: dhruv Date: Mon, 15 Jul 2024 13:46:10 +0530 Subject: [PATCH 06/11] edited build.yaml Signed-off-by: dhruv --- .github/workflows/build.yaml | 2 +- .github/workflows/pr-build.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 726721e89..664895802 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -38,7 +38,7 @@ jobs: ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_SECRET }} ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_PASSPHRASE }} run: | - gradle -b galasa-managers-parent/build.gradle check publish -Xmx4096m --info \ + gradle -b galasa-managers-parent/build.gradle check publish --info \ -PsourceMaven=https://development.galasa.dev/main/maven-repo/extensions \ -PcentralMaven=https://repo.maven.apache.org/maven2/ \ -PtargetMaven=https://maven.pkg.github.com/${{env.NAMESPACE}}/managers/ -PjacocoEnabled=true -PisMainOrRelease=true diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index 8cf360d14..c096bf52b 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -30,10 +30,10 @@ jobs: - name: Set Heap size run: echo "JAVA_OPTS=-Xmx4g" >> $GITHUB_ENV - + - name: Test and Build Managers run: | - gradle -b galasa-managers-parent/build.gradle clean build -Xmx 4096m \ + gradle -b galasa-managers-parent/build.gradle clean build \ -PsourceMaven=https://development.galasa.dev/main/maven-repo/extensions \ -PcentralMaven=https://repo.maven.apache.org/maven2/ \ -PtargetMaven=https://maven.pkg.github.com/${{env.NAMESPACE}}/managers/ From 8ccf68bf56fdbb4aaa243dc640c48a25501b911c Mon Sep 17 00:00:00 2001 From: dhruv Date: Mon, 15 Jul 2024 14:05:29 +0530 Subject: [PATCH 07/11] edited build.yaml Signed-off-by: dhruv --- .github/workflows/build.yaml | 4 +--- .github/workflows/pr-build.yaml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 664895802..c5825bb11 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -27,9 +27,6 @@ jobs: uses: gradle/actions/setup-gradle@v3 with: gradle-version: 6.9.2 - - - name: Set Heap size - run: echo "JAVA_OPTS=-Xmx4g" >> $GITHUB_ENV - name: Build ,Test and Publish Managers env: @@ -39,6 +36,7 @@ jobs: ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_PASSPHRASE }} run: | gradle -b galasa-managers-parent/build.gradle check publish --info \ + -Dorg.gradle.jvmargs=-Xmx4096M \ -PsourceMaven=https://development.galasa.dev/main/maven-repo/extensions \ -PcentralMaven=https://repo.maven.apache.org/maven2/ \ -PtargetMaven=https://maven.pkg.github.com/${{env.NAMESPACE}}/managers/ -PjacocoEnabled=true -PisMainOrRelease=true diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index c096bf52b..bcc627ff5 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -28,12 +28,10 @@ jobs: with: gradle-version: 6.9.2 - - name: Set Heap size - run: echo "JAVA_OPTS=-Xmx4g" >> $GITHUB_ENV - - name: Test and Build Managers run: | gradle -b galasa-managers-parent/build.gradle clean build \ + -Dorg.gradle.jvmargs=-Xmx4096M \ -PsourceMaven=https://development.galasa.dev/main/maven-repo/extensions \ -PcentralMaven=https://repo.maven.apache.org/maven2/ \ -PtargetMaven=https://maven.pkg.github.com/${{env.NAMESPACE}}/managers/ From 95d7d9615efc3eb8704f55972419ca0623c8feb1 Mon Sep 17 00:00:00 2001 From: dhruv Date: Wed, 24 Jul 2024 17:28:06 +0530 Subject: [PATCH 08/11] added recommended changes Signed-off-by: dhruv --- .github/workflows/build.yaml | 39 +++++++++++++++++++++++++++++---- .github/workflows/pr-build.yaml | 19 ++++++++++++++-- dockerfiles/dockerfile | 6 +++++ 3 files changed, 58 insertions(+), 6 deletions(-) create mode 100644 dockerfiles/dockerfile diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c5825bb11..7a7da1395 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -6,7 +6,9 @@ on: branches: [main] env: - NAMESPACE: jaydee029 + REGISTRY: ghcr.io + NAMESPACE: galasa-dev + IMAGE_TAG: main jobs: build-gradle: @@ -23,6 +25,10 @@ jobs: java-version: '11' distribution: 'semeru' + - name: Print githash + run: | + echo $GITHUB_SHA > ./managers.githash + - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 with: @@ -30,7 +36,8 @@ jobs: - name: Build ,Test and Publish Managers env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_ACTOR: ${{github.actor}} + GITHUB_TOKEN: ${{ github.token }} ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.GPG_KEY }} ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_SECRET }} ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_PASSPHRASE }} @@ -39,5 +46,29 @@ jobs: -Dorg.gradle.jvmargs=-Xmx4096M \ -PsourceMaven=https://development.galasa.dev/main/maven-repo/extensions \ -PcentralMaven=https://repo.maven.apache.org/maven2/ \ - -PtargetMaven=https://maven.pkg.github.com/${{env.NAMESPACE}}/managers/ -PjacocoEnabled=true -PisMainOrRelease=true - \ No newline at end of file + -PtargetMaven=${{github.workspace}}/repo -PjacocoEnabled=true -PisMainOrRelease=true + + - name: Extract metadata for Managers image + id: metadata + uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 + with: + images: ${{ env.REGISTRY }}/${{ env.NAMESPACE }}/managers-maven-artefacts + + - name: Build Managers image for development Maven registry + id: build + uses: docker/build-push-action@v5 + with: + context: . + file: dockerfiles/dockerfile + push: true + tags: ${{ steps.metadata.outputs.tags }} + labels: ${{ steps.metadata.outputs.labels }} + build-args: | + dockerRepository=harbor.galasa.dev + tag=${{ env.IMAGE_TAG }} + + - name: Recycle application in ArgoCD + env: + ARGOCD_AUTH_TOKEN: ${{ secrets.ARGOCD_TOKEN }} + run: | + docker run --env ARGOCD_AUTH_TOKEN=${{ env.ARGOCD_AUTH_TOKEN }} --rm -v ${{ github.workspace }}:/var/workspace ghcr.io/galasa-dev/argocdcli:main app actions run main-maven-repos restart --kind Deployment --resource-name managers-main --server argocd.galasa.dev \ No newline at end of file diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index bcc627ff5..16f491f11 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -22,6 +22,10 @@ jobs: with: java-version: '11' distribution: 'semeru' + + - name: Print githash + run: | + echo $GITHUB_SHA > ./managers.githash - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 @@ -30,9 +34,20 @@ jobs: - name: Test and Build Managers run: | - gradle -b galasa-managers-parent/build.gradle clean build \ + gradle -b galasa-managers-parent/build.gradle check publish \ -Dorg.gradle.jvmargs=-Xmx4096M \ -PsourceMaven=https://development.galasa.dev/main/maven-repo/extensions \ -PcentralMaven=https://repo.maven.apache.org/maven2/ \ - -PtargetMaven=https://maven.pkg.github.com/${{env.NAMESPACE}}/managers/ + -PtargetMaven=${{github.workspace}}/repo + + - name: Build managers Image for testing + uses: docker/build-push-action@v5 + with: + context: . + file: dockerfiles/dockerfile + load: true + tags: managers:test + build-args: | + dockerRepository=harbor.galasa.dev + tag=main \ No newline at end of file diff --git a/dockerfiles/dockerfile b/dockerfiles/dockerfile new file mode 100644 index 000000000..a473265ea --- /dev/null +++ b/dockerfiles/dockerfile @@ -0,0 +1,6 @@ +ARG dockerRepository +ARG tag +FROM ${dockerRepository}/galasadev/galasa-extensions:${tag} + +COPY repo/ /usr/local/apache2/htdocs/ +COPY managers.githash /usr/local/apache2/htdocs/managers.githash \ No newline at end of file From 43a2f77734909aea069fdf15be4dfc2b7e61c1b9 Mon Sep 17 00:00:00 2001 From: dhruv Date: Wed, 24 Jul 2024 17:43:37 +0530 Subject: [PATCH 09/11] final changes Signed-off-by: dhruv --- .github/workflows/build.yaml | 5 ++--- .github/workflows/pr-build.yaml | 8 ++------ 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7a7da1395..501ea277b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,9 +1,8 @@ name: Main build on: - workflow_dispatch: - pull_request: - branches: [main] + push: + branches: [main] env: REGISTRY: ghcr.io diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index 16f491f11..e43e93aea 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -1,12 +1,8 @@ name: PR build on: - workflow_dispatch: - pull_request: - branches: [main] - -env: - NAMESPACE: jaydee029 + pull_request: + branches: [main] jobs: build-gradle: From f5ac91c135bf955f6f3e178a09f01f4b743a550e Mon Sep 17 00:00:00 2001 From: dhruv Date: Wed, 24 Jul 2024 17:48:20 +0530 Subject: [PATCH 10/11] final changes Signed-off-by: dhruv --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 501ea277b..c90d8309c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -70,4 +70,4 @@ jobs: env: ARGOCD_AUTH_TOKEN: ${{ secrets.ARGOCD_TOKEN }} run: | - docker run --env ARGOCD_AUTH_TOKEN=${{ env.ARGOCD_AUTH_TOKEN }} --rm -v ${{ github.workspace }}:/var/workspace ghcr.io/galasa-dev/argocdcli:main app actions run main-maven-repos restart --kind Deployment --resource-name managers-main --server argocd.galasa.dev \ No newline at end of file + docker run --env ARGOCD_AUTH_TOKEN=${{ env.ARGOCD_AUTH_TOKEN }} --rm -v ${{ github.workspace }}:/var/workspace ghcr.io/galasa-dev/argocdcli:main app actions run gh-maven-repos restart --kind Deployment --resource-name managers-gh --server argocd.galasa.dev \ No newline at end of file From c14b1a59082ef06126fc54362eaa648128793481 Mon Sep 17 00:00:00 2001 From: dhruv Date: Wed, 24 Jul 2024 19:38:08 +0530 Subject: [PATCH 11/11] changed pointing url Signed-off-by: dhruv --- .github/workflows/build.yaml | 2 +- .github/workflows/pr-build.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c90d8309c..98eb93813 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -43,7 +43,7 @@ jobs: run: | gradle -b galasa-managers-parent/build.gradle check publish --info \ -Dorg.gradle.jvmargs=-Xmx4096M \ - -PsourceMaven=https://development.galasa.dev/main/maven-repo/extensions \ + -PsourceMaven=https://development.galasa.dev/gh/maven-repo/extensions \ -PcentralMaven=https://repo.maven.apache.org/maven2/ \ -PtargetMaven=${{github.workspace}}/repo -PjacocoEnabled=true -PisMainOrRelease=true diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index e43e93aea..fa08b3353 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -32,7 +32,7 @@ jobs: run: | gradle -b galasa-managers-parent/build.gradle check publish \ -Dorg.gradle.jvmargs=-Xmx4096M \ - -PsourceMaven=https://development.galasa.dev/main/maven-repo/extensions \ + -PsourceMaven=https://development.galasa.dev/gh/maven-repo/extensions \ -PcentralMaven=https://repo.maven.apache.org/maven2/ \ -PtargetMaven=${{github.workspace}}/repo