Commit bbd4d5bf authored by bruzzese's avatar bruzzese
Browse files

Update .gitlab-ci.yml file

parent e2e19cb2
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+24 −0
Original line number Diff line number Diff line
stages:
  - package-publish

helm-package:
  stage: package-publish
  image:
    name: alpine/helm:3.5.3
    entrypoint: [""]
  before_script:
    - apk add git gettext make
    - helm version
    - mkdir ~/.kube/
    - cp -rf $K8S_CONFIG /root/.kube/config
    - helm plugin install --version=v0.9.0 https://github.com/chartmuseum/helm-push.git
    - echo ${CI_SERVER_URL}/api/v4/projects/${CI_PROJECT_ID}/packages/helm/stable
    - >      
      helm repo add --username ${REPO_PUSH} --password ${REPO_PUSH_SECRET} pic-rucio-server  ${CI_SERVER_URL}/api/v4/projects/${CI_PROJECT_ID}/packages/helm/stable
    - >      
      helm repo add --username ${REPO_PUSH} --password ${REPO_PUSH_SECRET} pic-rucio-daemons  ${CI_SERVER_URL}/api/v4/projects/${CI_PROJECT_ID}/packages/helm/stable
  script:
    - cd ${CI_PROJECT_DIR} && ls -l && make db_test && make sync_test
    - helm package charts/rucio-server
    - helm package charts/rucio-daemons
    - ls -l
 No newline at end of file