osdu-gcp-global.yml 480 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
osdu-gcp-helm-charts:
  stage: build
  tags: ['osdu-small']
  image:
    name: alpine/helm:3.5.4
    entrypoint: [""]
  artifacts:
    paths:
      - helm-charts
  rules:
    - if: $OSDU_GCP_HELM_PACKAGE_CHARTS
      when: on_success
  script:
    - mkdir -p helm-charts
    - helm package $OSDU_GCP_HELM_PACKAGE_CHARTS --destination helm-charts
    - helm repo index --url "${CI_SERVER_URL}/${CI_PROJECT_PATH}/-/jobs/${CI_JOB_ID}/artifacts/raw" .
    - mv index.yaml helm-charts