Skip to content

Commit

Permalink
ci: Modify env
Browse files Browse the repository at this point in the history
- Modify cosa function

Signed-off-by: Vinu K <[email protected]>
  • Loading branch information
k37y committed Dec 26, 2023
1 parent f8a026a commit 1978bc3
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions env
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ cosa() {
fi
fi
set -x
podman run --rm -ti --security-opt label=disable --privileged --env COSA_NO_KVM=1 \
--uidmap=1000:0:1 --uidmap=0:1:1000 --uidmap 1001:1001:64536 \
-v ${PWD}:/srv/ --device /dev/kvm --device /dev/fuse \
--tmpfs /tmp -v /var/tmp:/var/tmp --name cosa \
${COREOS_ASSEMBLER_CONFIG_GIT:+-v $COREOS_ASSEMBLER_CONFIG_GIT:/srv/src/config/:ro} \
${COREOS_ASSEMBLER_GIT:+-v $COREOS_ASSEMBLER_GIT/src/:/usr/lib/coreos-assembler/:ro} \
podman run --rm -ti --security-opt=label=disable --privileged --env COSA_NO_KVM=1 \
--uidmap=1000:0:1 --uidmap=0:1:1000 --uidmap=1001:1001:64536 \
-v=${PWD}:/srv/ --device=/dev/kvm --device=/dev/fuse \
--tmpfs=/tmp -v=/var/tmp:/var/tmp --name=cosa \
${COREOS_ASSEMBLER_CONFIG_GIT:+-v=$COREOS_ASSEMBLER_CONFIG_GIT:/srv/src/config/:ro} \
${COREOS_ASSEMBLER_GIT:+-v=$COREOS_ASSEMBLER_GIT/src/:/usr/lib/coreos-assembler/:ro} \
${COREOS_ASSEMBLER_ADD_CERTS:+-v=/etc/pki/ca-trust:/etc/pki/ca-trust:ro} \
${COREOS_ASSEMBLER_CONTAINER_RUNTIME_ARGS} \
${COREOS_ASSEMBLER_CONTAINER:-$COREOS_ASSEMBLER_CONTAINER_LATEST} "$@"
rc=$?; set +x; return $rc
Expand Down

0 comments on commit 1978bc3

Please sign in to comment.