Commit 997b1dd
committed
feat(install.sh): download and unpack the compressed file
Since v1.18.0 there are compressed files available under the `bundle/`
directory in releases.crossplane.io. This commit adds the functionality
of downloading the compressed file and unpacking it, instead of
downloading the binary, which would save some bandwidth.
In order to download/unpack a compressed file, a new env var needs to be
passed COMPRESSED=True (or true), for example:
`COMPRESSED=True XP_VERSION="v1.18.0" ./install.sh`
Related PR: crossplane/docs#929
Signed-off-by: Theo Chatzimichos <[email protected]>1 parent 8820ea1 commit 997b1dd
1 file changed
+32
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
68 | 95 | | |
69 | 96 | | |
70 | 97 | | |
71 | 98 | | |
72 | 99 | | |
73 | | - | |
| 100 | + | |
74 | 101 | | |
75 | 102 | | |
76 | 103 | | |
| |||
0 commit comments