brew install lima docker
limactl start default
lima sudo apt -y install docker.io
lima sudo usermod -aG docker $USER
limactl stop default
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
+ hello-tanzu-build-1-fvt6g-build-pod › prepare | |
hello-tanzu-build-1-fvt6g-build-pod prepare Build reason(s): CONFIG | |
hello-tanzu-build-1-fvt6g-build-pod prepare CONFIG: | |
hello-tanzu-build-1-fvt6g-build-pod prepare resources: {} | |
hello-tanzu-build-1-fvt6g-build-pod prepare - source: {} | |
hello-tanzu-build-1-fvt6g-build-pod prepare + source: | |
hello-tanzu-build-1-fvt6g-build-pod prepare + blob: | |
hello-tanzu-build-1-fvt6g-build-pod prepare + url: http://source-controller.gitops-toolkit.svc.cluster.local./gitrepository/default/hello-tanzu/4ecc9c52d4209560e1b2f96576bab9f51cfa3661.tar.gz | |
hello-tanzu-build-1-fvt6g-build-pod prepare Loading secret for "https://ghcr.io" from secret "regsecret" at location "/var/build-secrets/regsecret" |
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
+ hello-ruby-build-1-9nmz8-build-pod › prepare | |
hello-ruby-build-1-9nmz8-build-pod prepare Build reason(s): CONFIG | |
hello-ruby-build-1-9nmz8-build-pod prepare CONFIG: | |
hello-ruby-build-1-9nmz8-build-pod prepare resources: {} | |
hello-ruby-build-1-9nmz8-build-pod prepare - source: {} | |
hello-ruby-build-1-9nmz8-build-pod prepare + source: | |
hello-ruby-build-1-9nmz8-build-pod prepare + blob: | |
hello-ruby-build-1-9nmz8-build-pod prepare + url: http://source-controller.gitops-toolkit.svc.cluster.local./gitrepository/default/hello-ruby/b259d9f2bd6f7da6b0fc266f1d8bb6db56a199fd.tar.gz | |
hello-ruby-build-1-9nmz8-build-pod prepare Loading secret for "https://ghcr.io" from secret "regsecret" at location "/var/build-secrets/regsecret" | |
hello-ruby-build-1-9nmz8-build-pod prepare Downloading source-controller.gitops-toolkit.svc.cluster.local./gitrepository/default/hello-ruby/b259d9f2bd6f7da6b0fc266f1d8bb6db56a199fd.tar.gz... |
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
#!/bin/bash | |
set -ex | |
ROOT_DOMAIN=$1 | |
SSL_FILE=sslconf-${ROOT_DOMAIN}.conf | |
cd /certs | |
rm -f *.crt *.csr *.key *.srl ${SSL_FILE} | |
# Generate SSL Config with SANs |
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
#!/bin/bash | |
set -ex | |
ROOT_DOMAIN=$1 | |
SSL_FILE=sslconf-${ROOT_DOMAIN}.conf | |
cd /certs | |
rm -f *.crt *.csr *.key *.srl ${SSL_FILE} | |
# Generate SSL Config with SANs |
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: tekton.dev/v1beta1 | |
kind: PipelineRun | |
metadata: | |
generateName: unit-test-run- | |
spec: | |
pipelineRef: | |
name: unit-test | |
workspaces: | |
- name: cache | |
persistentVolumeClaim: |
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
# fly -t demo set-pipeline -p unit-test -c unit-test.yml | |
# fly -t demo unpause-pipeline -p unit-test | |
# fly -t demo trigger-job -j unit-test/unit-test --watch | |
resources: | |
- name: repo | |
type: git | |
source: | |
uri: https://github.com/making/hello-servlet.git | |
jobs: |
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: v1 | |
kind: ConfigMap | |
metadata: | |
name: app-config | |
data: | |
SPECIAL_LEVEL: very | |
SPECIAL_TYPE: charm |
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: v1 | |
kind: ConfigMap | |
metadata: | |
name: demo | |
data: | |
demo.yml: | | |
foo: 100 | |
bar: 200 |