Created
January 25, 2023 19:22
-
-
Save mbigras/23aa35cf0f53b6ede2a7f76c517c648e to your computer and use it in GitHub Desktop.
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
$ /usr/local/bin/kustomize version | |
{Version:kustomize/v4.5.7 GitCommit:56d82a8378dfc8dc3b3b1085e5a6e67b82966bd7 BuildDate:2022-08-02T16:28:01Z GoOs:darwin GoArch:amd64} | |
$ /usr/local/bin/kustomize build https://gist.github.com/bc7947cb727d7f9217e7862d961a1ffd.git | |
apiVersion: v1 | |
data: | |
hello: world | |
kind: ConfigMap | |
metadata: | |
name: hello-dc6fm46dhm | |
$ /usr/local/bin/kustomize build [email protected]:bc7947cb727d7f9217e7862d961a1ffd.git | |
apiVersion: v1 | |
data: | |
hello: world | |
kind: ConfigMap | |
metadata: | |
name: hello-dc6fm46dhm | |
$ cd $(mktemp -d) | |
$ git clone [email protected]:kubernetes-sigs/kustomize.git | |
Cloning into 'kustomize'... | |
remote: Enumerating objects: 80611, done. | |
remote: Counting objects: 100% (101/101), done. | |
remote: Compressing objects: 100% (64/64), done. | |
remote: Total 80611 (delta 53), reused 77 (delta 37), pack-reused 80510 | |
Receiving objects: 100% (80611/80611), 91.58 MiB | 2.18 MiB/s, done. | |
Resolving deltas: 100% (47780/47780), done. | |
$ cd kustomize | |
$ git checkout 279ad3e81520491d5795d8e13fd52907da759cfd | |
Note: switching to '279ad3e81520491d5795d8e13fd52907da759cfd'. | |
You are in 'detached HEAD' state. You can look around, make experimental | |
changes and commit them, and you can discard any commits you make in this | |
state without impacting any branches by switching back to a branch. | |
If you want to create a new branch to retain commits you create, you may | |
do so (now or later) by using -c with the switch command. Example: | |
git switch -c <new-branch-name> | |
Or undo this operation with: | |
git switch - | |
Turn off this advice by setting config variable advice.detachedHead to false | |
HEAD is now at 279ad3e81 Merge pull request #4995 from KnVerey/follow-up-fixes | |
$ mkdir -p build | |
$ GOBIN=$PWD/build make kustomize | |
go install golang.org/x/tools/cmd/goimports@latest | |
cd cmd/pluginator; \ | |
go install . | |
generating AnnotationsTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/annotationstransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w AnnotationsTransformer.go \ | |
) | |
generating ConfigMapGenerator | |
( \ | |
set -e; \ | |
cd plugin/builtin/configmapgenerator; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w ConfigMapGenerator.go \ | |
) | |
generating IAMPolicyGenerator | |
( \ | |
set -e; \ | |
cd plugin/builtin/iampolicygenerator; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w IAMPolicyGenerator.go \ | |
) | |
generating HashTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/hashtransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w HashTransformer.go \ | |
) | |
generating ImageTagTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/imagetagtransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w ImageTagTransformer.go \ | |
) | |
generating LabelTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/labeltransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w LabelTransformer.go \ | |
) | |
generating SortOrderTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/sortordertransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w SortOrderTransformer.go \ | |
) | |
generating NamespaceTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/namespacetransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w NamespaceTransformer.go \ | |
) | |
generating PatchJson6902Transformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/patchjson6902transformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w PatchJson6902Transformer.go \ | |
) | |
generating PatchStrategicMergeTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/patchstrategicmergetransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w PatchStrategicMergeTransformer.go \ | |
) | |
generating PatchTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/patchtransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w PatchTransformer.go \ | |
) | |
generating PrefixTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/prefixtransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w PrefixTransformer.go \ | |
) | |
generating SuffixTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/suffixtransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w SuffixTransformer.go \ | |
) | |
generating ReplacementTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/replacementtransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w ReplacementTransformer.go \ | |
) | |
generating ReplicaCountTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/replicacounttransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w ReplicaCountTransformer.go \ | |
) | |
generating SecretGenerator | |
( \ | |
set -e; \ | |
cd plugin/builtin/secretgenerator; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w SecretGenerator.go \ | |
) | |
generating ValueAddTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/valueaddtransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w ValueAddTransformer.go \ | |
) | |
generating HelmChartInflationGenerator | |
( \ | |
set -e; \ | |
cd plugin/builtin/helmchartinflationgenerator; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w HelmChartInflationGenerator.go \ | |
) | |
cd api; /Library/Developer/CommandLineTools/usr/bin/make build | |
Makefile:7: warning: overriding commands for target `test' | |
../Makefile-modules.mk:23: warning: ignoring old commands for target `test' | |
Makefile:10: warning: overriding commands for target `build' | |
../Makefile-modules.mk:38: warning: ignoring old commands for target `build' | |
go build -ldflags "-X sigs.k8s.io/kustomize/api/provenance.version=v444.333.222" ./... | |
cd kustomize; \ | |
go install . | |
$ $PWD/build/kustomize build https://gist.github.com/bc7947cb727d7f9217e7862d961a1ffd.git | |
apiVersion: v1 | |
data: | |
hello: world | |
kind: ConfigMap | |
metadata: | |
name: hello-dc6fm46dhm | |
$ $PWD/build/kustomize build [email protected]:bc7947cb727d7f9217e7862d961a1ffd.git | |
Error: must build at directory: not a valid directory: evalsymlink failure on '[email protected]:bc7947cb727d7f9217e7862d961a1ffd.git' : lstat /private/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/[email protected]:bc7947cb727d7f9217e7862d961a1ffd.git: no such file or directory | |
$ git checkout 56d82a8378dfc8dc3b3b1085e5a6e67b82966bd7 | |
Previous HEAD position was 279ad3e81 Merge pull request #4995 from KnVerey/follow-up-fixes | |
HEAD is now at 56d82a837 Merge pull request #4745 from natasha41575/pinToApi | |
$ mkdir -p build | |
$ GOBIN=$PWD/build make kustomize | |
generating AnnotationsTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/annotationstransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w AnnotationsTransformer.go \ | |
) | |
generating ConfigMapGenerator | |
( \ | |
set -e; \ | |
cd plugin/builtin/configmapgenerator; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w ConfigMapGenerator.go \ | |
) | |
generating HashTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/hashtransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w HashTransformer.go \ | |
) | |
generating ImageTagTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/imagetagtransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w ImageTagTransformer.go \ | |
) | |
generating LabelTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/labeltransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w LabelTransformer.go \ | |
) | |
generating NamespaceTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/namespacetransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w NamespaceTransformer.go \ | |
) | |
generating PatchStrategicMergeTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/patchstrategicmergetransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w PatchStrategicMergeTransformer.go \ | |
) | |
generating PatchTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/patchtransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w PatchTransformer.go \ | |
) | |
generating PrefixTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/prefixtransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w PrefixTransformer.go \ | |
) | |
generating SuffixTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/suffixtransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w SuffixTransformer.go \ | |
) | |
generating ReplacementTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/replacementtransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w ReplacementTransformer.go \ | |
) | |
generating ReplicaCountTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/replicacounttransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w ReplicaCountTransformer.go \ | |
) | |
generating SecretGenerator | |
( \ | |
set -e; \ | |
cd plugin/builtin/secretgenerator; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w SecretGenerator.go \ | |
) | |
generating ValueAddTransformer | |
( \ | |
set -e; \ | |
cd plugin/builtin/valueaddtransformer; \ | |
go generate .; \ | |
cd ../../../api/internal/builtins; \ | |
/var/folders/_r/52tr69g54qvbxtg8fx7548tm0000gq/T/tmp.PeHm3aSx/kustomize/build/goimports -w ValueAddTransformer.go \ | |
) | |
cd api; /Library/Developer/CommandLineTools/usr/bin/make build | |
Makefile:7: warning: overriding commands for target `test' | |
../Makefile-modules.mk:23: warning: ignoring old commands for target `test' | |
Makefile:11: warning: overriding commands for target `build' | |
../Makefile-modules.mk:38: warning: ignoring old commands for target `build' | |
go build -ldflags "-X sigs.k8s.io/kustomize/api/provenance.version=v444.333.222" ./... | |
go: downloading github.com/stretchr/testify v1.7.0 | |
cd kustomize; \ | |
go install . | |
$ $PWD/build/kustomize build https://gist.github.com/bc7947cb727d7f9217e7862d961a1ffd.git | |
apiVersion: v1 | |
data: | |
hello: world | |
kind: ConfigMap | |
metadata: | |
name: hello-dc6fm46dhm | |
$ $PWD/build/kustomize build [email protected]:bc7947cb727d7f9217e7862d961a1ffd.git | |
apiVersion: v1 | |
data: | |
hello: world | |
kind: ConfigMap | |
metadata: | |
name: hello-dc6fm46dhm | |
$ pbpaste | gh gist create --public --filename kustomize-working-session.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment