mage icon indicating copy to clipboard operation
mage copied to clipboard

Add workflow to package custom mage

Open MarkoBarisic opened this issue 1 year ago • 2 comments

Description

This PR will introduce a workflow for building, packaging and uploading Mage docker images on demand.

Features (checked when developed and tested):

  • [x] set mage version
  • [x] set memgraph version
  • [x] set custom memgraph download link
  • [x] fine tune build settings
    • [x] set architecture (amd/arm)
    • [x] set build scope (with ML/without ML)
    • [x] set build target (dev/prod)
  • [x] upload artifact
    • [x] to Github
    • [x] to Dockerhub
    • [x] to S3

Try it out

Try the workflow by manually running it here

Future work

  • The feature to select build type (Debug/RelWithDebInfo/Release) will be added in another PR
  • This workflow currently only supports 1 build at a time, the plan is to include logic so that various builds can be run by manually triggering the workflow only once.

Pull request type

  • [x] Build related changes

Related issues

https://github.com/memgraph/infra/issues/222

######################################

Reviewer checklist (the reviewer checks this part)

Module/Algorithm

  • [ ] Core algorithm/module implementation
  • [ ] Query module implementation
  • [ ] Tests provided (unit / e2e)
  • [ ] Code documentation
  • [ ] README short description

Documentation checklist

  • [x] Add the documentation label tag
  • [x] Add the bug / feature label tag
  • [x] Add the milestone for which this feature is intended
    • If not known, set for a later milestone

MarkoBarisic avatar Apr 23 '24 11:04 MarkoBarisic

Change the dockerhub repository name to official mage repo

MarkoBarisic avatar May 01 '24 12:05 MarkoBarisic

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

sonarqubecloud[bot] avatar May 02 '24 13:05 sonarqubecloud[bot]