mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 00:55:10 +00:00
ci: helm release using github actions
This commit is contained in:
parent
c110c84e0d
commit
10447109d4
4 changed files with 6 additions and 6 deletions
4
.github/workflows/build_develop.yml
vendored
4
.github/workflows/build_develop.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
on:
|
||||
schedule:
|
||||
# Nightly test 12:00 pm
|
||||
- cron: "0 12 * * *"
|
||||
# Nightly builds at 12:00 am
|
||||
- cron: "0 0 * * *"
|
||||
|
||||
jobs:
|
||||
build_develop:
|
||||
|
|
|
|||
4
.github/workflows/build_main.yml
vendored
4
.github/workflows/build_main.yml
vendored
|
|
@ -58,8 +58,8 @@ jobs:
|
|||
./builder.py erpnext --nginx --tag version-12 --tag-only
|
||||
- name: Helm Chart Release
|
||||
run: |
|
||||
export GIT_SSH_COMMAND="ssh -i ${TRAVIS_BUILD_DIR}/deploy_key"
|
||||
openssl aes-256-cbc -K $encrypted_189e52c2c347_key -iv $encrypted_189e52c2c347_iv -in deploy_key.enc -out deploy_key -d
|
||||
export GIT_SSH_COMMAND="ssh -i ${PWD}/deploy_key"
|
||||
openssl aes-256-cbc -K $ENCRYPTED_KEY -iv $ENCRYPTED_IV -in gh_actions_deploy_key.enc -out deploy_key -d
|
||||
chmod 400 deploy_key;
|
||||
ssh-keyscan github.com >> $HOME/.ssh/known_hosts 2>/dev/null;
|
||||
pip install --upgrade pip
|
||||
|
|
|
|||
4
.github/workflows/test_develop.yml
vendored
4
.github/workflows/test_develop.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
on:
|
||||
schedule:
|
||||
# Nightly test 12:00 am
|
||||
- cron: "0 0 * * *"
|
||||
# Daily test at 12:00 pm
|
||||
- cron: "0 12 * * *"
|
||||
|
||||
jobs:
|
||||
test_develop:
|
||||
|
|
|
|||
BIN
gh_actions_deploy_key.enc
Normal file
BIN
gh_actions_deploy_key.enc
Normal file
Binary file not shown.
Loading…
Reference in a new issue