Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W WMF Data Workflow Utils
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • repos
  • data-engineeringdata-engineering
  • WMF Data Workflow Utils
  • Merge requests
  • !32

Add a generic artifact builder based on a provided Dockerfile.

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Xcollazo requested to merge T321736-build-with-docker into main Oct 28, 2022
  • Overview 13
  • Commits 4
  • Pipelines 4
  • Changes 4

In this MR we introduce scripts that allow a project to:

  1. Use a Dockerfile to manage their own build.
  2. Specify the final artifact that (1) generates. No assumptions of the artifact type are made.
  3. Publish such artifact in the calling projects' package registry.

These build scripts deprecate the need to copy and paste a Dockerfile onto a gitlab CI script. Once merged we could remove scripts related to !28 (merged).

Since the scripts invoke the docker command, the assumption is that the gitlab runner has access to docker. See comment thread on https://phabricator.wikimedia.org/T321736 for how we have built such a runner.

Edited Oct 31, 2022 by Xcollazo
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: T321736-build-with-docker