Commit 39a4f25
committed
remove aws/aws-controllers-k8s from code-generator
The code-generator was still referencing the
github.com/aws-controllers-k8s/runtime@v0.0.2 version which itself referenced still
the original github.com/aws/aws-controllers-k8s library. This was
causing a number of issues for generated controllers, including leaving
old Go module dependencies around.
Also adds a call to `git fetch --all --tags` to the `cloneSDKRepo()`
function in `ack-generate` to ensure that the most up-to-date tags are
pulled for the aws-sdk-go local cached repository. Calling `git checkout
tags/v1.37.4` when the latest cached aws-sdk-go was at 1.35.5 was
causing a frustrating "error: returned 1" garbage to be returned by the
`scripts/build-controller.sh` because the `exec.Cmd()` was burying the
response from Git which was clearly stating no such git tag or file
could be located.1 parent cb1d017 commit 39a4f25
3 files changed
+8
-85
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
93 | 97 | | |
94 | 98 | | |
95 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments