This repository was archived by the owner on May 6, 2022. It is now read-only.
Commit 0b3db15
Thulio Ferraz Assis
fix: git tags on CI and improved dev targets (#88)
* fix: targets for CI and dev
- On Travis, we use minikube with driver=none.
- So the host docker is the one used by minikube.
- So building images on the host is automatically available to kubernetes.
- So we can deploy the chart without uploading anything.
Signed-off-by: Thulio Ferraz Assis <[email protected]>
* fix: tags not being fetched on CI
Signed-off-by: Thulio Ferraz Assis <[email protected]>
* fix: move git fetch logic to version.sh
Signed-off-by: Thulio Ferraz Assis <[email protected]>
* fix: env to force fetching of tags and unshallow
When a repository is shallow-cloned, sometimes the tags are too old to
trace back to a commit, making 'git describe --tags' fail.
If VERSION_FORCE_TAG_FETCH environment variable is set, version.sh will
fetch all the tags and unshallow the repository. This is useful for CI,
where it shallow-cones the repository by default.
Signed-off-by: Thulio Ferraz Assis <[email protected]>1 parent 315d8c6 commit 0b3db15
4 files changed
+24
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
19 | 31 | | |
| 32 | + | |
20 | 33 | | |
21 | 34 | | |
22 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
0 commit comments