Skip to content

Commit

Permalink
feat(CI): add setup podman
Browse files Browse the repository at this point in the history
  • Loading branch information
TaylorHere committed Nov 7, 2022
1 parent b3a8b84 commit 254841c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
- uses: actions-ecosystem/action-get-latest-tag@v1
id: get-latest-tag
- name: setup podman
run: sudo apt install podman && systemctl --user start podman.socket && ls $XDG_RUNTIME_DIR/podman/podman.sock
run: sudo apt install podman && systemctl --user start podman.socket && systemctl --user status podman.socket
- name: e2e test
run: make e2e-cli-test
env:
Expand Down
2 changes: 1 addition & 1 deletion e2e/cli/context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ var _ = Describe("home context", func() {
}
originalEnv := os.Getenv("DOCKER_HOST")
BeforeAll(func() {
os.Setenv("DOCKER_HOST", "unix:///run/user/1000/podman/podman.sock")
os.Setenv("DOCKER_HOST", "unix://"+os.Getenv("XDG_RUNTIME_DIR")+"/podman/podman.sock")
err := home.GetManager().ContextCreate(c, true)
Expect(err).NotTo(HaveOccurred())
})
Expand Down

0 comments on commit 254841c

Please sign in to comment.