2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-23 15:08:24 +00:00

fix: easy-install.py build command arg for image

This commit is contained in:
Revant Nandgaonkar 2024-10-27 15:02:06 +05:30
parent 1f3f68cbb6
commit 18426dbdf1
2 changed files with 4 additions and 4 deletions

View File

@ -28,8 +28,8 @@ jobs:
- name: Perform production easy install - name: Perform production easy install
run: | run: |
python3 ${GITHUB_WORKSPACE}/easy-install.py build python3 ${GITHUB_WORKSPACE}/easy-install.py build --image erpnext:version-15
python3 ${GITHUB_WORKSPACE}/easy-install.py -p -n actions_test --email test@frappe.io --image custom-apps:latest python3 ${GITHUB_WORKSPACE}/easy-install.py -p -n actions_test --email test@frappe.io --image erpnext:version-15
docker compose -p actions_test exec backend bench version --format json docker compose -p actions_test exec backend bench version --format json
docker compose -p actions_test exec backend bench --site site1.localhost list-apps --format json docker compose -p actions_test exec backend bench --site site1.localhost list-apps --format json
result=$(curl -H "Host: site1.localhost" -sk https://127.0.0.1/api/method/ping | jq -r ."message") result=$(curl -H "Host: site1.localhost" -sk https://127.0.0.1/api/method/ping | jq -r ."message")

View File

@ -346,7 +346,7 @@ def add_build_parser(argparser: argparse.ArgumentParser):
) )
build.add_argument( build.add_argument(
"-i", "-i",
"--image-name", "--image",
help="Full Image Name, default: custom-apps:latest", help="Full Image Name, default: custom-apps:latest",
default="custom-apps:latest", default="custom-apps:latest",
) )
@ -464,7 +464,7 @@ if __name__ == "__main__":
frappe_path=args.frappe_path, frappe_path=args.frappe_path,
frappe_branch=args.frappe_branch, frappe_branch=args.frappe_branch,
apps_json_path=args.apps_json, apps_json_path=args.apps_json,
image_name=args.image_name, image_name=args.image,
containerfile_path=args.containerfile, containerfile_path=args.containerfile,
python_version=args.python_version, python_version=args.python_version,
node_version=args.node_version, node_version=args.node_version,