Disable pages job for now

This commit is contained in:
Alexander Olofsson 2021-09-23 09:53:30 +02:00
parent bba2e8b456
commit 3e32156f1b
No known key found for this signature in database
GPG key ID: D439C9470CB04C73

View file

@ -11,26 +11,25 @@ lint:charts:
script:
- helm lint charts/*
pages:
image:
name: codenest/helm
entrypoint: ["/bin/sh", "-c"]
stage: deploy
before_script:
- grep 'repository:' charts/*/Chart.yaml | awk '{ print $3 }' | uniq | xargs -rn1 sh -c 'helm repo add $(basename $0) $0'
- helm repo update
- ls -d1 charts/* | xargs -rn1 helm dependency build --skip-refresh
script:
- mkdir -p public
- "echo \"User-Agent: *\nDisallow: /\" > ./public/robots.txt"
- (cd public; helm package ../charts/*)
- helm repo index public --url ${CI_PAGES_URL}
artifacts:
paths:
- public
only:
- master@ananace/charts
when: never
# pages:
# image:
# name: codenest/helm
# entrypoint: ["/bin/sh", "-c"]
# stage: deploy
# before_script:
# - grep 'repository:' charts/*/Chart.yaml | awk '{ print $3 }' | uniq | xargs -rn1 sh -c 'helm repo add $(basename $0) $0'
# - helm repo update
# - ls -d1 charts/* | xargs -rn1 helm dependency build --skip-refresh
# script:
# - mkdir -p public
# - "echo \"User-Agent: *\nDisallow: /\" > ./public/robots.txt"
# - (cd public; helm package ../charts/*)
# - helm repo index public --url ${CI_PAGES_URL}
# artifacts:
# paths:
# - public
# only:
# - master@ananace/charts
push:
image: