Skip to content

Commit

Permalink
Add plugins snapshots repository
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvavrik committed Dec 13, 2024
1 parent df9f462 commit fc32a23
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 78 deletions.
3 changes: 0 additions & 3 deletions .github/actions/prepare-quarkus-cli/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ description: 'Creates Quarkus CLI based on the current Quarkus main (999-SNAPSHO
runs:
using: "composite"
steps:
- name: Set up Maven settings.xml # we need to do this because of CLI and external app tests does not propagate '-s' option
shell: bash
run: cp .github/quarkus-snapshots-mvn-settings.xml ~/.m2/settings.xml
- name: Download Quarkus CLI
shell: bash
run: mvn org.apache.maven.plugins:maven-dependency-plugin:get -Dartifact=io.quarkus:quarkus-cli:999-SNAPSHOT:jar:runner
Expand Down
67 changes: 0 additions & 67 deletions .github/quarkus-snapshots-mvn-settings.xml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
check-latest: true
- name: Build with Maven
run: |
mvn -V -B --no-transfer-progress -s .github/quarkus-snapshots-mvn-settings.xml verify -Dall-modules -Dvalidate-format -DskipTests -DskipITs -Dquarkus.container-image.build=false -Dquarkus.container-image.push=false
mvn -V -B --no-transfer-progress -s .github/mvn-settings.xml verify -Dall-modules -Dvalidate-format -DskipTests -DskipITs -Dquarkus.container-image.build=false -Dquarkus.container-image.push=false
linux-build-jvm-latest:
name: PR - Linux - JVM build - Latest Version
runs-on: ubuntu-latest
Expand All @@ -149,7 +149,7 @@ jobs:
- uses: ./.github/actions/prepare-quarkus-cli
- name: Build with Maven
run: |
mvn -fae -V -B --no-transfer-progress clean verify -Dinclude.quarkus-cli-tests -Dts.quarkus.cli.cmd="${PWD}/quarkus-dev-cli" ${{ matrix.module-mvn-args }} -am
mvn -fae -V -B --no-transfer-progress -s .github/mvn-settings.xml clean verify -Dinclude.quarkus-cli-tests -Dts.quarkus.cli.cmd="${PWD}/quarkus-dev-cli" ${{ matrix.module-mvn-args }} -am
- name: Detect flaky tests
id: flaky-test-detector
if: ${{ hashFiles('**/flaky-run-report.json') != '' }}
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
- uses: ./.github/actions/prepare-quarkus-cli
- name: Build with Maven
run: |
mvn -fae -V -B --no-transfer-progress \
mvn -fae -V -B --no-transfer-progress -s .github/mvn-settings.xml \
-Dinclude.quarkus-cli-tests -Dts.quarkus.cli.cmd="${PWD}/quarkus-dev-cli" \
${{ matrix.module-mvn-args }} clean verify -Dnative -am
- name: Detect flaky tests
Expand Down Expand Up @@ -250,7 +250,7 @@ jobs:
- name: Build in JVM mode
shell: bash
run: |
mvn -B --no-transfer-progress -fae -s .github/quarkus-snapshots-mvn-settings.xml clean verify ${{ matrix.module-mvn-args }} -am
mvn -B --no-transfer-progress -fae -s .github/mvn-settings.xml clean verify ${{ matrix.module-mvn-args }} -am
- name: Detect flaky tests
id: flaky-test-detector
if: ${{ hashFiles('**/flaky-run-report.json') != '' }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/daily.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: ./.github/actions/prepare-quarkus-cli
- name: Test in JVM mode
run: |
mvn -fae -V -B --no-transfer-progress -fae clean verify -P ${{ matrix.profiles }} -Dinclude.quarkus-cli-tests -Dts.quarkus.cli.cmd="${PWD}/quarkus-dev-cli"
mvn -fae -V -B --no-transfer-progress -s .github/mvn-settings.xml -fae clean verify -P ${{ matrix.profiles }} -Dinclude.quarkus-cli-tests -Dts.quarkus.cli.cmd="${PWD}/quarkus-dev-cli"
- name: Zip Artifacts
if: failure()
run: |
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
- uses: ./.github/actions/prepare-quarkus-cli
- name: Test in Native mode
run: |
mvn -fae -V -B --no-transfer-progress -P ${{ matrix.profiles }} -fae clean verify -Dnative \
mvn -fae -V -B --no-transfer-progress -s .github/mvn-settings.xml -P ${{ matrix.profiles }} -fae clean verify -Dnative \
-Dquarkus.native.builder-image=quay.io/quarkus/${{ matrix.image }} \
-Dinclude.quarkus-cli-tests -Dts.quarkus.cli.cmd="${PWD}/quarkus-dev-cli"
- name: Zip Artifacts
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
- name: Build in JVM mode
shell: bash
run: |
mvn -B --no-transfer-progress -fae -s .github/quarkus-snapshots-mvn-settings.xml clean verify
mvn -B --no-transfer-progress -fae -s .github/mvn-settings.xml clean verify
- name: Zip Artifacts
shell: bash
if: failure()
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
shell: bash
run: |
# Running only http/http-minimum as after some time, it gives disk full in Windows when running on Native.
mvn -B --no-transfer-progress -fae -s .github/quarkus-snapshots-mvn-settings.xml clean verify -Dall-modules -Dnative -Dquarkus.native.container-build=false -pl http/http-minimum
mvn -B --no-transfer-progress -fae -s .github/mvn-settings.xml clean verify -Dall-modules -Dnative -Dquarkus.native.container-build=false -pl http/http-minimum
- name: Zip Artifacts
shell: bash
if: failure()
Expand Down
12 changes: 12 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,18 @@
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>quarkus-snapshots-plugin-repository</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<build>
<extensions>
<!-- Build Reporter collects and generates build reports analyzed by Jenkins jobs using AWS EC2 Windows-->
Expand Down

0 comments on commit fc32a23

Please sign in to comment.