-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #383 from justinsb/mock_kubeapiserver_support_secr…
…et_plaintext mockkubeapiserver: Support stringData when creating a secret
- Loading branch information
Showing
45 changed files
with
1,432 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
# limitations under the License. | ||
|
||
|
||
# CI script to run all the test commands | ||
# CI script to keep all our go.mod/go.sum updated | ||
|
||
set -o errexit | ||
set -o nounset | ||
|
@@ -25,10 +25,14 @@ set -o pipefail | |
REPO_ROOT=$(git rev-parse --show-toplevel) | ||
cd "${REPO_ROOT}" | ||
|
||
# Run go mod tidy in each go module | ||
for module in $(find . -name "go.mod"); do | ||
dir="$(dirname ${module})" | ||
pushd "${dir}" | ||
go mod tidy | ||
popd | ||
done | ||
# Print the go version | ||
go version | ||
|
||
# Updates the go.mod in each go module | ||
# Note: go work sync is not entirely deterministic; I had to clear my modcache with `go clean -cache -modcache` | ||
go work sync | ||
|
||
# Pin mockkubeapiserver an older version of kube, so mockkubeapiserver can be used from repos that aren't on the latest kube | ||
cd ${REPO_ROOT}/mockkubeapiserver | ||
go get k8s.io/[email protected] | ||
go get k8s.io/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
go 1.22.4 | ||
|
||
use ( | ||
. | ||
./applylib | ||
./examples/guestbook-operator | ||
./ktest | ||
./mockkubeapiserver | ||
) |
Oops, something went wrong.