revert 0bd203114a
revert Обновить experimental.yaml add latest and stable release
This commit is contained in:
parent
0bd203114a
commit
31b31b907d
|
|
@ -614,40 +614,6 @@ actions:
|
||||||
# variants:
|
# variants:
|
||||||
# - mariadb
|
# - mariadb
|
||||||
|
|
||||||
- trigger: post-packages
|
|
||||||
action: |-
|
|
||||||
#!/bin/sh
|
|
||||||
set -eux
|
|
||||||
|
|
||||||
# Install Frappe Bench
|
|
||||||
su frappe -c 'cd /home/frappe && uv python install 3.14 --default'
|
|
||||||
su frappe -c 'cd /home/frappe && uv venv'
|
|
||||||
su frappe -c 'cd /home/frappe && uv tool install frappe-bench'
|
|
||||||
# Initialize Bench
|
|
||||||
su frappe -c 'uvx --from frappe-bench bench init --frappe-branch=version-16 --frappe-path=https://github.com/frappe/frappe --no-procfile --no-backups --skip-redis-config-generation --verbose /home/frappe/frappe-bench'
|
|
||||||
# Change User Directory Permissions
|
|
||||||
su frappe -c 'chmod -R o+rx /home/frappe'
|
|
||||||
# Setup Redis Config
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench set-config -g redis_cache redis://localhost:6379'
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench set-config -g redis_queue redis://localhost:6379'
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench set-config -g redis_socketio redis://localhost:6379'
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench set-config -gp socketio_port 9000'
|
|
||||||
# Starting Redis
|
|
||||||
nohup redis-server >/dev/null 2>&1 &
|
|
||||||
echo "Waiting for Redis to Start..."
|
|
||||||
while ! redis-cli ping >/dev/null 2>&1; do
|
|
||||||
sleep 1
|
|
||||||
done
|
|
||||||
# Download a Standard App
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench get-app --branch=version-16 --resolve-deps erpnext https://github.com/frappe/erpnext'
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench get-app --branch=version-16 hrms https://github.com/frappe/hrms'
|
|
||||||
# Create a New Site
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench new-site --admin-password=admin --db-root-username=root --db-root-password="${DISTROBUILDER_ROOT_UUID}" --install-app erpnext --set-default frontend'
|
|
||||||
# Install Standard App
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench install-app hrms'
|
|
||||||
variants:
|
|
||||||
- erpnext
|
|
||||||
|
|
||||||
- trigger: post-packages
|
- trigger: post-packages
|
||||||
action: |-
|
action: |-
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
@ -681,59 +647,6 @@ actions:
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench install-app hrms'
|
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench install-app hrms'
|
||||||
variants:
|
variants:
|
||||||
- erpnext
|
- erpnext
|
||||||
releases:
|
|
||||||
- edge
|
|
||||||
|
|
||||||
- trigger: post-packages
|
|
||||||
action: |-
|
|
||||||
#!/bin/sh
|
|
||||||
set -eux
|
|
||||||
|
|
||||||
# Install Frappe Bench
|
|
||||||
su frappe -c 'cd /home/frappe && uv python install 3.14 --default'
|
|
||||||
su frappe -c 'cd /home/frappe && uv venv'
|
|
||||||
su frappe -c 'cd /home/frappe && uv tool install frappe-bench'
|
|
||||||
# Initialize Bench
|
|
||||||
su frappe -c 'uvx --from frappe-bench bench init --frappe-branch=version-16 --frappe-path=https://github.com/frappe/frappe --no-procfile --no-backups --skip-redis-config-generation --verbose /home/frappe/frappe-bench'
|
|
||||||
# Change User Directory Permissions
|
|
||||||
su frappe -c 'chmod -R o+rx /home/frappe'
|
|
||||||
# Setup Redis Config
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench set-config -g redis_cache redis://localhost:6379'
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench set-config -g redis_queue redis://localhost:6379'
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench set-config -g redis_socketio redis://localhost:6379'
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench set-config -gp socketio_port 9000'
|
|
||||||
# Starting Redis
|
|
||||||
nohup redis-server >/dev/null 2>&1 &
|
|
||||||
echo "Waiting for Redis to Start..."
|
|
||||||
while ! redis-cli ping >/dev/null 2>&1; do
|
|
||||||
sleep 1
|
|
||||||
done
|
|
||||||
# Download a Standard App
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench get-app --branch=version-16 --resolve-deps erpnext https://github.com/frappe/erpnext'
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench get-app --branch=version-16 hrms https://github.com/frappe/hrms'
|
|
||||||
# Create a New Site
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench new-site --admin-password=admin --db-root-username=root --db-root-password="${DISTROBUILDER_ROOT_UUID}" --install-app erpnext --set-default frontend'
|
|
||||||
# Install Standard App
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench install-app hrms'
|
|
||||||
# Download Jey ERP Apps
|
|
||||||
# su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench migrate-csv-to-po'
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench get-app https://git.host.jeyerp.az/ali/custom_subtabs.git'
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench get-app https://git.host.jeyerp.az/ali/az_locale.git'
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench get-app https://git.host.jeyerp.az/ali/invoice_az.git'
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench get-app https://git.host.jeyerp.az/ali/taxes_az.git'
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench get-app https://git.host.jeyerp.az/ali/formula_editor.git'
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench get-app https://git.host.jeyerp.az/ali/jey_erp.git'
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench get-app https://git.host.jeyerp.az/ali/kapital_bank.git'
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench get-app https://git.host.jeyerp.az/ali/jey_theme.git'
|
|
||||||
# Install Jey ERP Subtabs App
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench install-app custom_subtabs'
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench execute custom_subtabs.patches.add_parent_field.add_field_to_docfield_json'
|
|
||||||
# Install Jey ERP Apps
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench install-app az_locale invoice_az taxes_az formula_editor jey_erp kapital_bank jey_theme'
|
|
||||||
# Builds JS and CSS, and then migrates
|
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench migrate && uvx --from frappe-bench bench build'
|
|
||||||
variants:
|
|
||||||
- jeyerp
|
|
||||||
|
|
||||||
- trigger: post-packages
|
- trigger: post-packages
|
||||||
action: |-
|
action: |-
|
||||||
|
|
@ -785,8 +698,6 @@ actions:
|
||||||
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench migrate && uvx --from frappe-bench bench build'
|
su frappe -c 'cd /home/frappe/frappe-bench && uvx --from frappe-bench bench migrate && uvx --from frappe-bench bench build'
|
||||||
variants:
|
variants:
|
||||||
- jeyerp
|
- jeyerp
|
||||||
releases:
|
|
||||||
- edge
|
|
||||||
|
|
||||||
- trigger: post-packages
|
- trigger: post-packages
|
||||||
action: |-
|
action: |-
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue