Skip to content

Commit

Permalink
Add building Modern PWA to prime npm cache
Browse files Browse the repository at this point in the history
chrisvire committed Mar 28, 2024
1 parent d44bb8d commit 50fd21a
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ WORKDIR /ansible
# Clean up when done. (Preserve 'App Projects' directory!)
RUN mkdir -p /etc/ansible && echo local > /etc/ansible/hosts &&\
ansible-playbook playbook.yml -c local &&\
apt-get clean && rm -rf /var/lib/apt/lists/* /var/cache/apt/* /tmp/*.* /App \Builder/Scripture\ Apps/App\ Projects/* /tmp/App\ Builder/*
apt-get clean && rm -rf /var/lib/apt/lists/* /var/cache/apt/* /tmp/*.* /App \Builder/Scripture\ Apps/App\ Projects/* /tmp/App\ Builder/* /root/App\ Builder/Scripture\ Apps/PWA\ Output

#COPY patch /patch
#WORKDIR /patch
Binary file added ansible/roles/app-builders/files/eng-bsb_usx.zip
Binary file not shown.
6 changes: 5 additions & 1 deletion ansible/roles/app-builders/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -24,9 +24,13 @@
- keystore_prime.keystore
- keystore_prime.txt
- eng-web_usfm.zip
- eng-bsb_usx.zip
- about.txt
- ab-001-black-144.png
- ab-001-black-72.png

- name: Prime gradle cache with build
shell: HOME=/root scripture-app-builder -new -n web -p org.ebible -b /root/prime/eng-web_usfm.zip -ks /root/prime/keystore_prime.keystore -i /root/prime/keystore_prime.txt -a /root/prime/about.txt -ic /root/prime/ab-001-black-144.png -ic /root/prime/ab-001-black-72.png -fp build=/tmp/build
shell: HOME=/root scripture-app-builder -new -n web -p org.ebible -b /root/prime/eng-web_usfm.zip -ks /root/prime/keystore_prime.keystore -i /root/prime/keystore_prime.txt -a /root/prime/about.txt -ic /root/prime/ab-001-black-144.png -ic /root/prime/ab-001-black-72.png -fp build=/tmp/build

- name: Prime npm cache with build
shell: HOME=/root scripture-app-builder -new -n bsb -p org.bsb -b /root/prime/eng-bsb_usx.zip -ks /root/prime/keystore_prime.keystore -i /root/prime/keystore_prime.txt -a /root/prime/about.txt -ic /root/prime/ab-001-black-144.png -ic /root/prime/ab-001-black-72.png -fp build=/tmp/build -build-modern-pwa

0 comments on commit 50fd21a

Please sign in to comment.