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
  • !11

Gitlab CI templates for using, building, and publishing conda envs

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Ottomata requested to merge gitlab-ci-snippets into main Mar 29, 2022
  • Overview 18
  • Commits 25
  • Pipelines 23
  • Changes 6

Add gitlab-ci-templates for automating publishing conda envs to gitlab.

  • By including conda.yml, you get a base miniconda env in /opt/conda.
  • By including conda-dist.yml, you get two manual jobs added to your pipeline: -- build_conda_env - builds the conda dist env for your project and exposes it as a Gitlab CI Artifact (you can download this from the Gitlab Pipeline UI) -- publish_conda_env - publishes the built conda dist env to a Gitlab Generic Package Registry.

Example usage over in example_job_project: https://gitlab.wikimedia.org/repos/data-engineering/example_job_project/-/blob/master/.gitlab-ci.yml

Edited Mar 29, 2022 by Ottomata
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: gitlab-ci-snippets