-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
place settings.xml configuration just before tests
- Loading branch information
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,16 +36,6 @@ jobs: | |
java-version: 17 | ||
distribution: "temurin" | ||
|
||
- name: Add Red Hat Maven GA repository to settings.xml for 4.8.0 productized | ||
uses: s4u/[email protected] | ||
if: ${{ startsWith(matrix.camel-version, '4.8.0') }} | ||
with: | ||
repositories: '[{"id":"redhat.ga","name":"Red Hat Maven repository GA","url":"https://maven.repository.redhat.com/ga"}]' | ||
pluginRepositories: '[{"id":"redhat.ga","name":"Red Hat Maven repository GA","url":"https://maven.repository.redhat.com/ga"}]' | ||
|
||
- name: Check settings.xml created | ||
run: cat ~/.m2/settings.xml | ||
|
||
- name: Install JBang ubuntu | ||
run: | | ||
curl -Ls https://sh.jbang.dev | bash -s - app setup | ||
|
@@ -68,7 +58,17 @@ jobs: | |
|
||
- name: Allow unprivileged user namespace (ubuntu) | ||
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 | ||
|
||
|
||
- name: Add Red Hat Maven GA repository to settings.xml for 4.8.0 productized | ||
uses: s4u/[email protected] | ||
if: ${{ startsWith(matrix.camel-version, '4.8.0') }} | ||
with: | ||
repositories: '[{"id":"redhat.ga","name":"Red Hat Maven repository GA","url":"https://maven.repository.redhat.com/ga"}]' | ||
pluginRepositories: '[{"id":"redhat.ga","name":"Red Hat Maven repository GA","url":"https://maven.repository.redhat.com/ga"}]' | ||
githubServer: false | ||
|
||
- name: Check settings.xml created | ||
run: cat ~/.m2/settings.xml | ||
- name: ui test | ||
id: uiTest | ||
run: xvfb-run --auto-servernum npm run ui-test | ||
|