Skip to content
GitLab
Projects Groups 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
    • Contributors
    • Graph
    • Compare
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • repos
  • data-engineering
  • WMF Data Workflow Utils
  • Merge requests
  • !17

Automated release process

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Ottomata requested to merge ci-release into main Apr 13, 2022
  • Overview 4
  • Commits 35
  • Pipelines 58
  • Changes 19

Refactors gitlab_ci_templates into lib, jobs, and pipelines to support automated releases and artifact publishing of this or other repositories.

Changes

bump-version

bump-version wrapper script wraps bump2version CLI in an opinionated way that allows for a release cycle similar to maven-release-plugin.

That is:

  • Development happens in main or in branches, but always on a '.dev' version.
  • Releases remove the '.dev' suffix, and make versioned tags.

You can bump any semantic part of the version at any time, but this will always leave the '.dev' suffix. Only when bumping with the --release flag will '.dev' be removed and a tag be made.

Gitlab CI templates

Templates are refactored into:

  • lib: referenc-eable snippets and variables only
  • jobs: individual pipeline jobs declared
  • pipelines: strings of jobs useful for specific kinds of pipelines.

These templates are intended to be used by other gitlab repos to automate releases and artifact publishing.

Edited Apr 14, 2022 by Ottomata
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: ci-release