-
Notifications
You must be signed in to change notification settings - Fork 42
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
Build Open Horizon Artifacts and Deploy to Dockerhub or GitHub Package Repository #95
Comments
@bencourliss What is the event that triggers building them? |
@Al-tekreeti I'd say after a pull request build is complete or on a nightly basis. The build agent used to build this would have to be able to handle RPM as well as Debian packages. An Ubuntu image can do this as long as RPM is installed on it. |
@bencourliss I am developing the following GitHub workflow in devops repo https://github.com/Al-tekreeti/devops/blob/oh-repos-build/.github/workflows/deploy-anax.yml. It builds and pushes to github container registry the following anax images: |
@bencourliss Another question: GitHub packages repo does not support deb and rpm packages. Is there any workaround I am not aware of? |
As mentioned in our DevOps WG meeting, we publish the Debian and RPM packages during a release of Anax (https://github.com/open-horizon/anax/releases). This is done today via internal Jenkins pipelines approixmately every other Thursday. We need GitHub actions to create the Deb and RPM agent files for the architectures we support. What needs to be decided is the cadence and what triggers the builds. Ideally we'd have a build triggered from a successful merge of a PR and that creates the |
To build deb and rpm tar files, VERSION and BUILD_NUMBER variables need to be passed to the makefile. Are there any guidelines on how to choose them? Also, GitHub actions do support manual triggering using "workflow_dispatch" option. |
We need GitHub Actions to build artifacts for OpenHorizon repositories and deploy those artifacts to either Dockerhub or GitHub Container Registry or Github Package Repository.
Each OpenHorizon repository would create Docker images and tag them
testing
and deploy. In addition, the Anax repository would need to build RPM and Debian packages and deploy them to the GitHub Package Repository.The text was updated successfully, but these errors were encountered: