Commit b94c6455 authored by Prout, Ryan's avatar Prout, Ryan
Browse files

update ci file

parent 809cabe1
Loading
Loading
Loading
Loading
+19 −19
Original line number Diff line number Diff line
@@ -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