Commit 106941d0 authored by Jason Plum's avatar Jason Plum

Dependencies: add minio chart

Add the Minio chart's container dependencies

See https://gitlab.com/charts/gitlab/issues/1226#note_161516048

Dave Gaeddert explains how these filters / regex actually work with
non-SemVer compliant tags.
parent 1f7d224d
version: 2
dependencies:
- type: git_repos
- type: git-repos
path: dependencies_io/git_repos.yml
manifest_updates:
filters:
- name: ".*docker/distribution.*"
versions: L.Y.Y # locked to 2.X.X
- name: ".*minio.*" # minio/mc, YYYY-MM-DDTHH-mm-SSZ
versions_regex: '\d\d\d\d-\d\d-\d\dT\d\d-\d\d-\d\dZ'
- name: ".*" # everything else
versions: "Y.Y.Y"
settings:
branch_prefix: dependencies_io/
......
......@@ -2,10 +2,22 @@ repos:
# Registry chart / container
- url: https://github.com/docker/distribution.git
installed: 2.7.1
versions: L.Y.Y # locked to 2.X.X
tag_prefix: "v" # 'docs-v2.5.0-2016-07-28' was detected, need to use prefix
replace_in_files:
# although these are patterns, they're used in replacement, can not use regex
charts/registry/values.yaml: "tag: '{version_clean}'"
# blanket replacement is dangerous, but can't use two because duplicate key.
doc/charts/registry/index.md: "{version_clean}" # change all versions
# Minio chart / minio container
- url: https://github.com/minio/minio.git
installed: 2017-12-28T01-21-00Z
tag_prefix: 'RELEASE.'
replace_in_files:
charts/minio/values.yaml: 'imageTag: "RELEASE.{version}"'
doc/charts/minio/index.md: '`RELEASE.{version}`'
# Minio chart / mc container
- url: https://github.com/minio/mc.git
installed: 2017-12-28T01-21-00Z
tag_prefix: 'RELEASE.'
replace_in_files:
charts/minio/values.yaml: 'tag: "RELEASE.{version}"'
doc/charts/minio/index.md: '`RELEASE.{version}`'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment