Loading .gitlab-ci.yml +19 −19 Original line number Diff line number Diff line Loading @@ -7,22 +7,22 @@ lint Helm Charts: - helm lint charts/* # - helm lint charts/*/charts/* pages: image: name: linkyard/docker-helm entrypoint: ["/bin/sh", "-c"] stage: deploy script: - helm init --client-only - mkdir -p ./public - "echo \"User-Agent: *\nDisallow: /\" > ./public/robots.txt" - echo $CI_PROJECT_NAMESPACE - echo $CI_PROJECT_NAME - helm package charts/* --destination ./public - helm repo index --url https://${CI_PROJECT_NAMESPACE}.code.ornl.gov.io/${CI_PROJECT_NAME} - mv index.yaml ./public artifacts: paths: - public only: - master #pages: # image: # name: linkyard/docker-helm # entrypoint: ["/bin/sh", "-c"] # stage: deploy # script: # - helm init --client-only # - mkdir -p ./public # - "echo \"User-Agent: *\nDisallow: /\" > ./public/robots.txt" # - echo $CI_PROJECT_NAMESPACE # - echo $CI_PROJECT_NAME # - helm package charts/* --destination ./public # - helm repo index --url https://${CI_PROJECT_NAMESPACE}.code.ornl.gov.io/${CI_PROJECT_NAME} # - mv index.yaml ./public # artifacts: # paths: # - public # only: # - master Loading
.gitlab-ci.yml +19 −19 Original line number Diff line number Diff line Loading @@ -7,22 +7,22 @@ lint Helm Charts: - helm lint charts/* # - helm lint charts/*/charts/* pages: image: name: linkyard/docker-helm entrypoint: ["/bin/sh", "-c"] stage: deploy script: - helm init --client-only - mkdir -p ./public - "echo \"User-Agent: *\nDisallow: /\" > ./public/robots.txt" - echo $CI_PROJECT_NAMESPACE - echo $CI_PROJECT_NAME - helm package charts/* --destination ./public - helm repo index --url https://${CI_PROJECT_NAMESPACE}.code.ornl.gov.io/${CI_PROJECT_NAME} - mv index.yaml ./public artifacts: paths: - public only: - master #pages: # image: # name: linkyard/docker-helm # entrypoint: ["/bin/sh", "-c"] # stage: deploy # script: # - helm init --client-only # - mkdir -p ./public # - "echo \"User-Agent: *\nDisallow: /\" > ./public/robots.txt" # - echo $CI_PROJECT_NAMESPACE # - echo $CI_PROJECT_NAME # - helm package charts/* --destination ./public # - helm repo index --url https://${CI_PROJECT_NAMESPACE}.code.ornl.gov.io/${CI_PROJECT_NAME} # - mv index.yaml ./public # artifacts: # paths: # - public # only: # - master