feat(install): Download frontend assets from releases than build.
Signed-off-by: Rajesh Rajendran <rjshrjndrn@gmail.com>
This commit is contained in:
parent
2ed7a87d60
commit
dd64a68699
1 changed files with 11 additions and 11 deletions
|
|
@ -74,16 +74,16 @@
|
|||
register: result
|
||||
until: result.rc == 0
|
||||
when: enterprise_edition_license|length > 0
|
||||
- name: initializing frontend
|
||||
shell: |
|
||||
user=`whoami`
|
||||
sudo chown $user /var/run/docker.sock
|
||||
bash build.sh
|
||||
cp -arl public frontend
|
||||
minio_pod=$(kubectl get po -n db -l app.kubernetes.io/name=minio -n db --output custom-columns=name:.metadata.name | tail -n+2)
|
||||
kubectl -n db cp frontend $minio_pod:/data/
|
||||
rm -rf frontend
|
||||
args:
|
||||
chdir: ../../frontend
|
||||
- name: Downloading frontend archive
|
||||
unarchive:
|
||||
url: "https://github.com/openreplay/openreplay/releases/download/{{ openreplay_version }}/frontend.tar.gz"
|
||||
dest: "frontend"
|
||||
tags:
|
||||
- frontend
|
||||
- name: initializing frontend
|
||||
shell: |
|
||||
# Download frontend archive
|
||||
minio_pod=$(kubectl get po -n db -l app.kubernetes.io/name=minio -n db --output custom-columns=name:.metadata.name | tail -n+2)
|
||||
kubectl -n db cp frontend $minio_pod:/data/
|
||||
tags:
|
||||
- frontend
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue