File tree Expand file tree Collapse file tree 3 files changed +15
-24
lines changed
Expand file tree Collapse file tree 3 files changed +15
-24
lines changed Original file line number Diff line number Diff line change 88
99Create a new submodule
1010
11- ``` bash
11+ ``` shell
1212cd content/kubevirt/
1313git submodule add https://github.com/openshift-examples/kubevirt-ansible ansible
1414```
1515
16- ### Run it with public builder
16+ ### Run local
1717
18- ``` bash
19- podman run -ti --user 0 --rm \
20- -v $( pwd) :/opt/app-root/src:z \
21- -p 8080:8080 quay.io/openshift-examples/builder:devel
18+ ``` shell
19+ ./run-local.sh
2220```
2321
24- ### Run local pre-commit check
22+ Run local pre-commit via: ` ./run-local-pre-commit.sh `
2523
26- ``` bash
27- ./run-local-pre-commit.sh
28- ```
24+ ### Build & push new builder image
2925
30- ### Builder image
26+ ``` shell
27+ export VERSION=$( date +%Y%m%d%H%M)
28+ export IMAGE=quay.io/openshift-examples/builder:${VERSION}
3129
32- ``` bash
33- export IMAGE=' quay.io/openshift-examples/builder:devel'
3430podman manifest rm ${IMAGE}
35- podman build --platform linux/amd64,linux/arm64 \
31+
32+ podman build \
33+ --platform linux/amd64,linux/arm64 \
3634 --manifest ${IMAGE} \
3735 --no-cache \
3836 -f builder.Containerfile .
39- podman manifest push ${IMAGE}
40- ```
41-
42- #### Run it with local builder image
4337
44- ``` bash
45- podman run -ti --user 0 --rm \
46- -v $( pwd) :/opt/app-root/src:z \
47- -p 8080:8080 ${IMAGE}
38+ podman manifest push ${IMAGE}
4839```
4940
5041## Stargazers over time
Original file line number Diff line number Diff line change 11podman run -ti --rm -v \
2- $( pwd) :/opt/app-root/src quay.io/openshift-examples/builder:devel \
2+ $( pwd) :/opt/app-root/src quay.io/openshift-examples/builder:202511251107 \
33 ./helper/run-pre-commit.sh
Original file line number Diff line number Diff line change 11podman run -ti --user 0 --rm \
22 -v $( pwd) :/opt/app-root/src:z \
3- -p 8080:8080 quay.io/openshift-examples/builder:devel
3+ -p 8080:8080 quay.io/openshift-examples/builder:202511251107
44
You can’t perform that action at this time.
0 commit comments