Switch back to https for erpnext repo
This commit is contained in:
parent
0f566169e2
commit
4b8817c7a4
@ -104,7 +104,7 @@ RUN echo -e "Host *\n\tStrictHostKeyChecking no\n" >> /home/frappe/.ssh/config
|
|||||||
|
|
||||||
ARG FRAPPE_BRANCH=version-15
|
ARG FRAPPE_BRANCH=version-15
|
||||||
ARG FRAPPE_PATH=https://github.com/frappe/frappe
|
ARG FRAPPE_PATH=https://github.com/frappe/frappe
|
||||||
ARG ERPNEXT_REPO=git@githaven.org:2222/Shiloh/brotherton-erpnext.git
|
ARG ERPNEXT_REPO=https://githaven.org/Shiloh/brotherton-erpnext.git
|
||||||
ARG ERPNEXT_BRANCH=production
|
ARG ERPNEXT_BRANCH=production
|
||||||
# RUN ssh -T ${ERPNEXT_REPO}
|
# RUN ssh -T ${ERPNEXT_REPO}
|
||||||
RUN bench init \
|
RUN bench init \
|
||||||
@ -116,7 +116,7 @@ RUN bench init \
|
|||||||
--verbose \
|
--verbose \
|
||||||
/home/frappe/frappe-bench && \
|
/home/frappe/frappe-bench && \
|
||||||
cd /home/frappe/frappe-bench && \
|
cd /home/frappe/frappe-bench && \
|
||||||
--mount=type=ssh bench get-app --branch=${ERPNEXT_BRANCH} --resolve-deps erpnext ssh://${ERPNEXT_REPO} && \
|
bench get-app --branch=${ERPNEXT_BRANCH} --resolve-deps erpnext ${ERPNEXT_REPO} && \
|
||||||
echo "{}" > sites/common_site_config.json && \
|
echo "{}" > sites/common_site_config.json && \
|
||||||
find apps -mindepth 1 -path "*/.git" | xargs rm -fr
|
find apps -mindepth 1 -path "*/.git" | xargs rm -fr
|
||||||
|
|
||||||
|
@ -192,17 +192,6 @@ def setup_prod(
|
|||||||
sys.stdout.write(line)
|
sys.stdout.write(line)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Starting with generated compose file
|
|
||||||
subprocess.run(
|
|
||||||
[
|
|
||||||
which("docker"),
|
|
||||||
"compose",
|
|
||||||
"build",
|
|
||||||
"--ssh",
|
|
||||||
"default=$HOME/.ssh/brothertonerpprod_ed25519",
|
|
||||||
],
|
|
||||||
check=True,
|
|
||||||
)
|
|
||||||
subprocess.run(
|
subprocess.run(
|
||||||
[
|
[
|
||||||
which("docker"),
|
which("docker"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user