Commit 7dee23c
authored
Adding support to install different go versions in Alpine (#100)
* test: checking if istall fails in alpine
* fix: using the correct TAR options for Alpine Linux distro
* fix: removing useless cat
* fix: removing doulbe quotes from tar options
* fix: using bash arrays instead of a string for TAR options
* fix: fixing typo
* fix: adding curl dependency
* fix: given that sh is used in Alpine, we need to remove usage of arrays
* fix: updating the condition to prevent issues with sh
* fix: adding double quotes
* fix: adding -q to grep to silent output
* fix: checking result of previous command to test if running in Alpine
* fix: fixing check in Alpine using sh
* fix: correctly installing go and gofmt to /usr/local/bin
* fix: adding double quotes
* fix: removing go from /opt/go given that the directory does not exist but /opt does
* feat: install go specific version in Alpine by building the binary
* fix: adding double quotes to env vars
* fix: adding exit condition if cd commands fail
* fix: adding command into the if check
* fix: remove brackets from test
* fix: adding $SUDO in ln commands
* fix: adding f to ln to make sure the command does not fail
* fix: fix test which was checking for python now it checks for the correct expected version of go
* fix: fixing test by removing 1.16 given that this version does not have memstat.gc_sys defined
* fix: trying to fix a regression tesdt with caches which is failling now
* fix: trying with same version from previous cache
* fix: trying to go back to the previous state and behavior of the file
* fix: removing previously installed version of go1 parent b5a5964 commit 7dee23c
2 files changed
+51
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
73 | 83 | | |
74 | 84 | | |
75 | 85 | | |
| |||
192 | 202 | | |
193 | 203 | | |
194 | 204 | | |
| 205 | + | |
| 206 | + | |
195 | 207 | | |
196 | 208 | | |
197 | 209 | | |
| |||
220 | 232 | | |
221 | 233 | | |
222 | 234 | | |
| 235 | + | |
223 | 236 | | |
224 | 237 | | |
225 | 238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
10 | 18 | | |
11 | | - | |
12 | | - | |
| 19 | + | |
| 20 | + | |
13 | 21 | | |
14 | 22 | | |
15 | 23 | | |
| |||
18 | 26 | | |
19 | 27 | | |
20 | 28 | | |
21 | | - | |
| 29 | + | |
| 30 | + | |
22 | 31 | | |
23 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
24 | 38 | | |
25 | | - | |
26 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
27 | 42 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
31 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
0 commit comments