mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 09:05: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:
|
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:
|
||||||
|
|
|
||||||
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
|
./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
|
||||||
|
|
|
||||||
4
.github/workflows/test_develop.yml
vendored
4
.github/workflows/test_develop.yml
vendored
|
|
@ -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
BIN
gh_actions_deploy_key.enc
Normal file
Binary file not shown.
Loading…
Reference in a new issue