This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# prefix with name of dependent chart | |
store-chart: | |
name: override-name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Initialized empty Git repository in /builds/datails/store-and-consume-helm-charts/.git/ | |
Created fresh repository. | |
Checking out cb728eea as main... | |
Skipping Git submodules setup | |
Executing "step_script" stage of the job script | |
00:04 | |
Using docker image sha256:f8bb0f201e7557131bf82e50e7dda0e47382d8fdecd20c9edb3fc9f7abb025e1 for alpine/helm:3.9.4 with digest alpine/helm@sha256:df362a6029d9d931101df528c2ba8e0d9eead16fac2100f436e13141b499d8d0 ... | |
$ helm registry login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY} | |
WARNING: Using --password via the CLI is insecure. Use --password-stdin. | |
Login Succeeded |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v2 | |
name: app1 | |
type: application | |
version: 1.0.0 | |
description: Using the chart from GitLab's private registry. | |
dependencies: | |
- name: store-chart | |
version: 1.0.0 | |
repository: oci://registry.gitlab.com/datails/store-and-consume-helm-charts/charts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default: | |
image: | |
name: alpine/helm:3.9.4 | |
entrypoint: [""] | |
stages: | |
- publish | |
publish-chart: | |
stage: publish |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: default-name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v2 | |
name: store-chart | |
description: Store a Helm chart in GitLab's private registry. | |
type: application | |
version: 1.0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: {{ $.Values.name }}-config | |
data: | |
foo: bar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { writeFileSync } = require('fs') | |
const createBaseFile = () => ` | |
stages: | |
- publish | |
` | |
const createEmptyJob = () => ` | |
publish:empty: | |
stage: publish |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tasks": [], | |
"projects": [ | |
"app1" | |
], | |
"projectGraph": { | |
"nodes": [ | |
"app1", | |
"app2", | |
"app3" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default: | |
image: node:16 | |
stages: | |
- build | |
- triggers | |
build: | |
stage: build | |
script: |