You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (Jira)" <ji...@apache.org> on 2019/10/16 20:35:02 UTC
[jira] [Updated] (AIRAVATA-3230) Ansible: build Django JS code in
Docker locally
[ https://issues.apache.org/jira/browse/AIRAVATA-3230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcus Christie updated AIRAVATA-3230:
--------------------------------------
Description:
Improve the Ansible Django deploy process by building the JS code once, locally, using Docker.
h5. Goals
- Decrease the time it takes to deploy multiple Django instances by building the JS code only once
- Switch back to using package-lock.json files by always building JS code in the Docker container. This will have the benefit of pinning the JS dependencies.
h5. TODO
- [ ] Script for running npm install commands in Docker container
- [ ] Script for running npm run serve/build commands in Docker container
- [ ] Commit the generated package-lock.json files
- [ ] use {{npm ci}} instead of {{npm install}} to improve reproducibility and speed up dependency install (see also [https://stackoverflow.com/a/45566871])
- [ ] update build_js.sh
- [ ] update README, docs
was:
Improve the Ansible Django deploy process by building the JS code once, locally, using Docker.
Goals
- Decrease the time it takes to deploy multiple Django instances by building the JS code only once
- Switch back to using package-lock.json files by always building JS code in the Docker container. This will have the benefit of pinning the JS dependencies.
h5. TODO
- [ ] Script for running npm install commands in Docker container
- [ ] Script for running npm run serve/build commands in Docker container
- [ ] Commit the generated package-lock.json files
- [ ] use {{npm ci}} instead of {{npm install}} to improve reproducibility and speed up dependency install (see also https://stackoverflow.com/a/45566871)
- [ ] update build_js.sh
- [ ] update README, docs
> Ansible: build Django JS code in Docker locally
> -----------------------------------------------
>
> Key: AIRAVATA-3230
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3230
> Project: Airavata
> Issue Type: Bug
> Components: Django Portal
> Reporter: Marcus Christie
> Assignee: Marcus Christie
> Priority: Major
>
> Improve the Ansible Django deploy process by building the JS code once, locally, using Docker.
> h5. Goals
> - Decrease the time it takes to deploy multiple Django instances by building the JS code only once
> - Switch back to using package-lock.json files by always building JS code in the Docker container. This will have the benefit of pinning the JS dependencies.
> h5. TODO
> - [ ] Script for running npm install commands in Docker container
> - [ ] Script for running npm run serve/build commands in Docker container
> - [ ] Commit the generated package-lock.json files
> - [ ] use {{npm ci}} instead of {{npm install}} to improve reproducibility and speed up dependency install (see also [https://stackoverflow.com/a/45566871])
> - [ ] update build_js.sh
> - [ ] update README, docs
--
This message was sent by Atlassian Jira
(v8.3.4#803005)