Giter VIP home page Giter VIP logo

Comments (6)

Al-tekreeti avatar Al-tekreeti commented on July 18, 2024

@bencourliss What is the event that triggers building them?

from devops.

bencourliss avatar bencourliss commented on July 18, 2024

@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.

from devops.

Al-tekreeti avatar Al-tekreeti commented on July 18, 2024

@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: amd64_anax_k8s, amd64_anax, amd64_cloud-sync-service, amd64_edge-sync-service. Am I using the right makeFile targets? I just want to double check that with you. Thanks!
PS: Please copy the link above manually and paste it into a new browser tab if you want to see the workflow yml file.

from devops.

Al-tekreeti avatar Al-tekreeti commented on July 18, 2024

@bencourliss Another question: GitHub packages repo does not support deb and rpm packages. Is there any workaround I am not aware of?

from devops.

bencourliss avatar bencourliss commented on July 18, 2024

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 testing tag for the Docker images. The Deb and RPM packages will need to live somewhere else for consumption.

from devops.

Al-tekreeti avatar Al-tekreeti commented on July 18, 2024

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.

from devops.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.