Skip to content
Snippets Groups Projects
Verified Commit 55f8c15b authored by Martin Weise's avatar Martin Weise
Browse files

WIP

parent a1cdab8e
Branches
No related tags found
No related merge requests found
...@@ -173,9 +173,12 @@ deploy-staging: ...@@ -173,9 +173,12 @@ deploy-staging:
name: staging/datalab name: staging/datalab
url: ${CI_ENV_STAGING_URL} url: ${CI_ENV_STAGING_URL}
before_script: before_script:
- apk add --no-cache helm make - apk add --no-cache helm kubectl
- echo ${CI_K8S_CONFIG} | base64 -d > ./kubecfg - echo ${CI_K8S_CONFIG} | base64 -d > ./kubecfg
- make build-helm - helm dependency update ./helm/seaweedfs
- helm package ./helm/seaweedfs --destination ./build
- helm dependency update ./helm/dbrepo
- helm package ./helm/dbrepo --destination ./build
- helm -n ${CI_ENV_STAGING_NAMESPACE} uninstall ${CI_ENV_STAGING_RELEASE_NAME} - helm -n ${CI_ENV_STAGING_NAMESPACE} uninstall ${CI_ENV_STAGING_RELEASE_NAME}
- kubectl -n ${CI_ENV_STAGING_NAMESPACE} delete pvc --all - kubectl -n ${CI_ENV_STAGING_NAMESPACE} delete pvc --all
script: script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment