Skip to content

Conversation

turing85
Copy link
Contributor

@turing85 turing85 commented Sep 5, 2024

Resolves #10

This PR provides the following pipeline updates:

  • Upgrade checkout action from v2 to v4
  • Instead of AdoptOpenJDK/install-jdk@v1 and actions/cache@v2, use actions/setup-java@v4 which sets up both the specified JDK and the maven cache
  • Instead of mvn ... install, call ./mvnw ... verify to not install the artifacts in the local repository (and keep the cache smaller)

In addition, the following new features for the pipeline are implemented:

  • Register build artifacts
  • Create test reports
  • Provide PR decoration
  • Run mvn command with docker profile
  • Centralize pipeline configuration in .env file

The PR decoration, as well as the report generation will take effect only after the merge since the corresponding workflows (pr-comment.yml and pr-report.yml) need to be on the default branch. The result will look like this:

turing85#12 (comment) (notice that the comment has automatically been minimized since it is not the most recent comment)

turing85#12 (comment)

https://github.com/turing85/citrus-remote/runs/29701813082

https://github.com/turing85/citrus-remote/actions/runs/10712037622

This PR provides the following pipeline updates:
- Upgrade checkout action from v2 to v4
- Instead of AdoptOpenJDK/install-jdk@v1 and actions/cache@v2, use actions/setup-java@v4 which sets up both the specified JDK and the maven cache

In addition, the following new features for the pipeline are implemented:
- Register build artifacts
- Create test reports
- Provide PR decoration
- Run mvn command with docker profile
- Centralize pipeline configuration in .env file
Copy link
Member

@christophd christophd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, impressive, thanks a lot!

@christophd christophd merged commit 60fe52c into citrusframework:main Sep 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update and improve pipeline

2 participants