ci: helm release using github actions

This commit is contained in:
Revant Nandgaonkar 2021-10-26 12:38:22 +05:30
parent c110c84e0d
commit 10447109d4
4 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
on: on:
schedule: schedule:
# Nightly test 12:00 pm # Nightly builds at 12:00 am
- cron: "0 12 * * *" - cron: "0 0 * * *"
jobs: jobs:
build_develop: build_develop:

View file

@ -58,8 +58,8 @@ jobs:
./builder.py erpnext --nginx --tag version-12 --tag-only ./builder.py erpnext --nginx --tag version-12 --tag-only
- name: Helm Chart Release - name: Helm Chart Release
run: | run: |
export GIT_SSH_COMMAND="ssh -i ${TRAVIS_BUILD_DIR}/deploy_key" export GIT_SSH_COMMAND="ssh -i ${PWD}/deploy_key"
openssl aes-256-cbc -K $encrypted_189e52c2c347_key -iv $encrypted_189e52c2c347_iv -in deploy_key.enc -out deploy_key -d openssl aes-256-cbc -K $ENCRYPTED_KEY -iv $ENCRYPTED_IV -in gh_actions_deploy_key.enc -out deploy_key -d
chmod 400 deploy_key; chmod 400 deploy_key;
ssh-keyscan github.com >> $HOME/.ssh/known_hosts 2>/dev/null; ssh-keyscan github.com >> $HOME/.ssh/known_hosts 2>/dev/null;
pip install --upgrade pip pip install --upgrade pip

View file

@ -1,7 +1,7 @@
on: on:
schedule: schedule:
# Nightly test 12:00 am # Daily test at 12:00 pm
- cron: "0 0 * * *" - cron: "0 12 * * *"
jobs: jobs:
test_develop: test_develop:

BIN
gh_actions_deploy_key.enc Normal file

Binary file not shown.