Commit bfd1892
committed
fix(ci-run): add fallback for Go version installation in CI script
This patch allows to keep the build working even if the snap version expected
in the juju go mod hasn't be released.
It fallback on the latest version available and use GOTOOLCHAIN to ensure we use the
expected version of Go.
**Updated files:**
- *jobs/ci-run/scripts/package-juju-source.sh*:
Added a fallback mechanism to install the latest Go version after failing
to install the specified version. Also included a workaround by exporting `GOTOOLCHAIN`
to ensure compatibility with the required Go version for Juju.1 parent c677b88 commit bfd1892
1 file changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
17 | 32 | | |
18 | 33 | | |
19 | 34 | | |
| |||
0 commit comments