Skip to content

Commit 254841c

Browse files
committed
feat(CI): add setup podman
1 parent b3a8b84 commit 254841c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
- uses: actions-ecosystem/action-get-latest-tag@v1
114114
id: get-latest-tag
115115
- name: setup podman
116-
run: sudo apt install podman && systemctl --user start podman.socket && ls $XDG_RUNTIME_DIR/podman/podman.sock
116+
run: sudo apt install podman && systemctl --user start podman.socket && systemctl --user status podman.socket
117117
- name: e2e test
118118
run: make e2e-cli-test
119119
env:

e2e/cli/context_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ var _ = Describe("home context", func() {
123123
}
124124
originalEnv := os.Getenv("DOCKER_HOST")
125125
BeforeAll(func() {
126-
os.Setenv("DOCKER_HOST", "unix:///run/user/1000/podman/podman.sock")
126+
os.Setenv("DOCKER_HOST", "unix://"+os.Getenv("XDG_RUNTIME_DIR")+"/podman/podman.sock")
127127
err := home.GetManager().ContextCreate(c, true)
128128
Expect(err).NotTo(HaveOccurred())
129129
})

0 commit comments

Comments
 (0)