Disable pages job for now
This commit is contained in:
parent
bba2e8b456
commit
3e32156f1b
1 changed files with 19 additions and 20 deletions
|
@ -11,26 +11,25 @@ lint:charts:
|
||||||
script:
|
script:
|
||||||
- helm lint charts/*
|
- helm lint charts/*
|
||||||
|
|
||||||
pages:
|
# pages:
|
||||||
image:
|
# image:
|
||||||
name: codenest/helm
|
# name: codenest/helm
|
||||||
entrypoint: ["/bin/sh", "-c"]
|
# entrypoint: ["/bin/sh", "-c"]
|
||||||
stage: deploy
|
# stage: deploy
|
||||||
before_script:
|
# before_script:
|
||||||
- grep 'repository:' charts/*/Chart.yaml | awk '{ print $3 }' | uniq | xargs -rn1 sh -c 'helm repo add $(basename $0) $0'
|
# - grep 'repository:' charts/*/Chart.yaml | awk '{ print $3 }' | uniq | xargs -rn1 sh -c 'helm repo add $(basename $0) $0'
|
||||||
- helm repo update
|
# - helm repo update
|
||||||
- ls -d1 charts/* | xargs -rn1 helm dependency build --skip-refresh
|
# - ls -d1 charts/* | xargs -rn1 helm dependency build --skip-refresh
|
||||||
script:
|
# script:
|
||||||
- mkdir -p public
|
# - mkdir -p public
|
||||||
- "echo \"User-Agent: *\nDisallow: /\" > ./public/robots.txt"
|
# - "echo \"User-Agent: *\nDisallow: /\" > ./public/robots.txt"
|
||||||
- (cd public; helm package ../charts/*)
|
# - (cd public; helm package ../charts/*)
|
||||||
- helm repo index public --url ${CI_PAGES_URL}
|
# - helm repo index public --url ${CI_PAGES_URL}
|
||||||
artifacts:
|
# artifacts:
|
||||||
paths:
|
# paths:
|
||||||
- public
|
# - public
|
||||||
only:
|
# only:
|
||||||
- master@ananace/charts
|
# - master@ananace/charts
|
||||||
when: never
|
|
||||||
|
|
||||||
push:
|
push:
|
||||||
image:
|
image:
|
||||||
|
|
Loading…
Reference in a new issue