-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci(ITs): support JBoss ITs with GitHub secrets #3469
Merged
Merged
Changes from 2 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
18c0851
ci(ITs): support JBoss ITs with GitHub secrets
v1v 78d8851
Similarly done in https://github.com/elastic/apm-agent-dotnet/pull/2128
v1v bf2b2a9
isolate jboss integ test in a profile
SylvainJuge 7ad36ff
use jboss CI profile name consistent with others
SylvainJuge db10b31
test newer and older jboss versions
SylvainJuge 78ca4e8
Merge branch 'main' of github.com:elastic/apm-agent-java into feature…
SylvainJuge 9ddf041
Pull docker images from the internal docker registry
v1v 0b727b3
add latest jboss version just in case
SylvainJuge 233a6cb
use full docker name
v1v 3dd28a1
Merge branch 'feature/run-jboss' of https://github.com/elastic/apm-ag…
v1v a9c70cf
fix name
v1v 3561de6
ci: groups
v1v d802890
avoid empty lines and group by when running on the CI
v1v 2844216
limit test execution to it/jboss
SylvainJuge bd5bb7a
update documentation
SylvainJuge d7a68eb
add missing top-level profile for jboss exclusions
SylvainJuge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
|
@@ -320,3 +320,33 @@ jobs: | |
path: | | ||
**/junit-*.xml | ||
**/TEST-*.xml | ||
|
||
jboss: | ||
name: JBoss integration tests | ||
runs-on: ubuntu-latest | ||
needs: build | ||
if: github.event_name != 'pull_request' || github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should only happen when a non-forked pull request. |
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: elastic/apm-pipeline-library/.github/actions/docker-login@current | ||
with: | ||
registry: docker.elastic.co | ||
secret: secret/observability-team/ci/docker-registry/prod | ||
url: ${{ secrets.VAULT_ADDR }} | ||
roleId: ${{ secrets.VAULT_ROLE_ID }} | ||
secretId: ${{ secrets.VAULT_SECRET_ID }} | ||
- uses: ./.github/workflows/unstash | ||
with: | ||
name: build | ||
path: ${{ github.workspace }} | ||
- uses: ./.github/workflows/maven-goal | ||
with: | ||
command: ./mvnw -q -P jboss-tests verify | ||
- name: Store test results | ||
if: success() || failure() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: test-results | ||
path: | | ||
**/junit-*.xml | ||
**/TEST-*.xml |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[minor] we could make that step a sub-step of the application server tests,but as it's quite fast (about 6min) in CI that's fine for now and allows us to keep an eye on it for now in case of failure.