Skip to content

Commit 0db6eca

Browse files
committed
fix ci in rhel8
Signed-off-by: Feng Huang <[email protected]>
1 parent 29fea5a commit 0db6eca

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

integration.sh

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ EOF
1616

1717
export QUAY_TOKEN
1818

19+
export DOCKER_HOST=unix:///run/user/${UID}/podman/podman.sock
20+
1921
grep -oE 'Test[A-Za-z0-9]{,}' test/integration_test.go | while read -r test; do
2022
echo "Running test: ${test}"
2123
go test -tags integration -count 1 -timeout 300s -run "^${test}$" ./test/...

pr_check.sh

+6-3
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@ readonly BASE_IMG="gabi"
1010

1111
{
1212
set +x
13-
docker login quay.io -u "${QUAY_USER}" -p "${QUAY_TOKEN}"
13+
podman login quay.io -u "${QUAY_USER}" -p "${QUAY_TOKEN}"
1414
}
1515

1616
go test ./...
1717

18-
./integration.sh
18+
podman pull quay.io/app-sre/gnomock-cleaner:latest
19+
podman tag quay.io/app-sre/gnomock-cleaner:latest docker.io/orlangure/gnomock-cleaner:latest
1920

20-
BUILD_CMD="docker build" IMG="${BASE_IMG}:check" make docker-build
21+
podman system service -t 0 & ./integration.sh
22+
23+
BUILD_CMD="podman build" IMG="${BASE_IMG}:check" make docker-build

0 commit comments

Comments
 (0)