ci: chore revert using forked bench (#28584)

* ci: chore revert using branched bench

merge after is released: https://github.com/frappe/bench/pull/1600

* ci: name downstream job
This commit is contained in:
David Arnold 2024-11-28 09:32:12 +01:00 committed by GitHub
parent c6c3d0af80
commit 7748910ddc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 6 deletions

View file

@ -172,9 +172,7 @@ runs:
source ${GITHUB_WORKSPACE}/env/bin/activate
pip install --quiet --upgrade pip
# pip install --quiet frappe-bench
# revert after merge: https://github.com/frappe/bench/pull/1600
pip install --quiet git+https://github.com/blaggacao/bench.git@feat/add-direct-config-module-calling
pip install --quiet frappe-bench
python <<EOF
from bench.config.common_site_config import setup_config

View file

@ -110,9 +110,7 @@ jobs:
if rm -rf ${GITHUB_WORKSPACE}/env && python -m venv ${GITHUB_WORKSPACE}/env; then
source ${GITHUB_WORKSPACE}/env/bin/activate
pip install --quiet --upgrade pip
# pip install --quiet frappe-bench
# revert after merge: https://github.com/frappe/bench/pull/1600
pip install --quiet git+https://github.com/blaggacao/bench.git@feat/add-direct-config-module-calling
pip install --quiet frappe-bench
echo "Environment setup completed."
else
echo "Environment setup failed." >&2

View file

@ -81,6 +81,7 @@ jobs:
flags: server
dispatch:
name: Downstream
runs-on: "ubuntu-latest"
needs: [test, migrate]
if: ${{ contains( github.event.pull_request.labels.*.name, 'trigger-downstream-ci') }}