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
package leetcode | |
import ( | |
"testing" | |
"github.com/stretchr/testify/assert" | |
) | |
func highlight(text string, highlights []string) string { | |
var result string |
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
set -euxo pipefail | |
echo "--- hacking the gibson" | |
sleep 5m | |
echo "--- done hacking" | |
exit $((RANDOM % 2)) |
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
--- | |
apiVersion: packaging.carvel.dev/v1alpha1 | |
kind: PackageRepository | |
metadata: | |
name: some-repo | |
spec: | |
fetch: | |
inline: | |
paths: | |
derp: hi |
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
Running 'kctrl package repository update -r test-package-repository --url index.docker.io/k8slt/kc-e2e-test-repo:latest -n kctrl-test --yes'... | |
package_repository_test.go:118: | |
Error Trace: package_repository_test.go:118 | |
e2e.go:14 | |
package_repository_test.go:110 | |
Error: "Target cluster 'https://192.168.49.2:8443' (nodes: minikube) | |
Waiting for package repository to be updated | |
12:19:15PM: Waiting for package repository reconciliation for 'test-package-repository' |
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
#1 [internal] load build definition from Dockerfile | |
#1 sha256:5fb66c305f02041b021aff177156d7b2e508c31dea43d5d08ad649d2a34417a6 | |
#1 transferring dockerfile: 38B done | |
#1 DONE 0.0s | |
#2 [internal] load .dockerignore | |
#2 sha256:f33dfd6acb430a8bec3d0b50726cbc57df22252e925baf0cce38f5c9071744a2 | |
#2 transferring context: 34B done | |
#2 DONE 0.0s |
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
Target cluster 'https://192.168.49.2:8443' (nodes: minikube) | |
kapp-controller | starting build (using Docker buildx): . -> kbld:rand-1657660239543202722-1855444247139-kapp-controller | |
kapp-controller | #1 [internal] load build definition from Dockerfile | |
kapp-controller | #1 transferring dockerfile: 32B done | |
kapp-controller | #1 DONE 0.0s | |
kapp-controller | | |
kapp-controller | #2 [internal] load .dockerignore | |
kapp-controller | #2 transferring context: 34B done | |
kapp-controller | #2 DONE 0.0s | |
kapp-controller | |
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
+ export CGO_ENABLED=0 | |
+ CGO_ENABLED=0 | |
+ go mod vendor | |
+ go mod tidy | |
+ go fmt ./cmd/... ./pkg/... | |
+ go build -trimpath -mod=vendor -o controller ./cmd/controller/... | |
+ ls -la ./controller | |
-rwxrwxr-x 1 cesium cesium 70411152 Jul 12 17:08 ./controller | |
+ ./hack/gen-crds.sh | |
+ ytt -f config/ |
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
apiVersion: data.packaging.carvel.dev/v1alpha1 | |
kind: Package | |
metadata: | |
name: my-package | |
spec: | |
refName: my-package.test.carvel.dev | |
template: # type of App CR | |
spec: | |
fetch: | |
- imgpkgBundle: |
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
apiVersion: policy.packaging.carvel.dev/v1alpha1 | |
kind: PackagePolicy | |
metadata: | |
name: carvel-policy | |
spec: | |
pattern: "*.carvel.dev" | |
threshold: 1 | |
authorities: | |
- key: | |
data: | |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder