You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is important the builds are reviewed by the project to ensure the build process is correct.
It would also be good if the artifact is fetched from Nordix Registry and verify it works.
The job regularly polls the repo for commits and gets triggered if one or more commits are found. Please note that this can be adjusted depending on the project needs and trigger can be updated such as to trigger based on new PRs.
Upon completion of the build, the container image is pushed to eiffel project on Nordix Container Image Registry (Please reach out to @fdegir if you need account on the registry.)
Build process.
When the job gets triggered, project repo is cloned and the last commit on the tip of master branch is checked out
Once the clone is ready, job proceed with maven build mvn --quiet --batch-mode package -DskipTests
Upon completion of maven build, the job proceeds with the command to start the container image build using the war file produced in previous step. The command used for the build is podman build --build-arg URL=target/eiffel-intelligence-3.0.1-SNAPSHOT.war --file src/main/docker/Dockerfile --log-level error --tag registry.nordix.org/eiffel/eiffel-intelligence:latest .
Image tag is set to latest since this is a build against the tip of master branch
The image is available for anonymous users and can be pulled using either one of the commands below podman pull registry.nordix.org/eiffel/eiffel-intelligence:latest docker pull registry.nordix.org/eiffel/eiffel-intelligence:latest
What we need from you is
Look at the build log and let us know if you notice anything that looks strange
Correct the build process or the command used for the project build if they are incorrect
Confirm if right versions of openjdk and maven are used. openjdk version 8u265-b01-0ubuntu2~20.04 and maven version 3.6.3-1. If they are not correct, please pass the correct ones.
If possible, pull the image and verify it works podman pull registry.nordix.org/eiffel/eiffel-intelligence:latest docker pull registry.nordix.org/eiffel/eiffel-intelligence:latest
Java build artifact is not stored anywhere but it can be done and uploaded to Nordix Artifactory. Please let us know if it is desired so we fix this as well.
Provide your opinion about what type of builds your project needs - PR validation before merge, builds after merge, builds after release, periodic builds
and anything else you may think if.
Please note that upcoming phases will enable testing as well and we will reach out to you when the time comes.
Motivation
Setup builds for the project
Exemplification
N/A
Benefits
Project will have builds available
Possible Drawbacks
N/A
The text was updated successfully, but these errors were encountered:
Description
Periodic builds are setup for this project on Nordix Infrastructure as part of Eiffel Infrastructure and CI/CD establishment work Phase 1.
It is important the builds are reviewed by the project to ensure the build process is correct.
It would also be good if the artifact is fetched from Nordix Registry and verify it works.
Here are more details.
Build process.
mvn --quiet --batch-mode package -DskipTests
podman build --build-arg URL=target/eiffel-intelligence-3.0.1-SNAPSHOT.war --file src/main/docker/Dockerfile --log-level error --tag registry.nordix.org/eiffel/eiffel-intelligence:latest .
podman pull registry.nordix.org/eiffel/eiffel-intelligence:latest
docker pull registry.nordix.org/eiffel/eiffel-intelligence:latest
What we need from you is
podman pull registry.nordix.org/eiffel/eiffel-intelligence:latest
docker pull registry.nordix.org/eiffel/eiffel-intelligence:latest
and anything else you may think if.
Please note that upcoming phases will enable testing as well and we will reach out to you when the time comes.
Motivation
Setup builds for the project
Exemplification
N/A
Benefits
Project will have builds available
Possible Drawbacks
N/A
The text was updated successfully, but these errors were encountered: