2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 22:31:07 +00:00

Merge pull request #269 from revant/feat-helm-chart-release

ci: helm chart release
This commit is contained in:
Revant Nandgaonkar 2020-06-17 15:14:43 +05:30 committed by GitHub
commit d771dc3bd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,8 +6,6 @@ services:
- docker - docker
before_install: before_install:
- openssl aes-256-cbc -K $encrypted_189e52c2c347_key -iv $encrypted_189e52c2c347_iv
-in deploy_key.enc -out deploy_key -d
- if [[ "$BUILD" != "development" ]]; then - if [[ "$BUILD" != "development" ]]; then
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin; echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin;
sudo apt-get update && sudo apt-get -y install git; sudo apt-get update && sudo apt-get -y install git;
@ -159,3 +157,12 @@ jobs:
- sudo apt-get update && sudo apt-get -y install docker-compose - sudo apt-get update && sudo apt-get -y install docker-compose
script: script:
- ./tests/docker-test.sh - ./tests/docker-test.sh
- stage: "Helm Chart Release"
if: branch = master AND type != pull_request
before_install:
- openssl aes-256-cbc -K $encrypted_189e52c2c347_key -iv $encrypted_189e52c2c347_iv -in deploy_key.enc -out deploy_key -d
script:
- git clone https://github.com/frappe/helm.git && cd helm
- ./release_wizard/setup.sh
- . ./venv/bin/activate
- ./release_wizard/wizard 12 patch --remote origin --ci