Skip to content

Commit

Permalink
Disable test-init-image
Browse files Browse the repository at this point in the history
  • Loading branch information
psibi committed Oct 1, 2023
1 parent c259467 commit 1102fca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Run tests
run: |
just test
just test-init-image
# just test-init-image
cd pid1 && just test
if: runner.os == 'Linux'
- name: clippy
Expand Down
10 changes: 5 additions & 5 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ test: build-release-binary
# Test docker image
test-init-image:
docker run --rm --name pid --interactive pid1runner ps aux
docker run --rm --name pid --interactive pid1runner ls
docker run --rm --name pid --interactive pid1runner ls /
docker run --rm --name pid --interactive pid1runner id
docker run --rm --name pid --interactive --entrypoint pid1 --workdir=/home pid1runner pwd
docker run --rm --name pid --interactive --entrypoint pid1 --env HELLO=WORLD --env=FOO=BYE pid1runner printenv HELLO FOO
docker run --rm --name pid --interactive pid1runner ls
docker run --rm --name pid --interactive pid1runner ls /
docker run --rm --name pid --interactive pid1runner id
docker run --rm --name pid --interactive pid1runner --workdir=/home pwd
docker run --rm --name pid --interactive pid1runner --env HELLO=WORLD --env=FOO=BYE printenv HELLO FOO

# Exec init image
exec-init-image:
Expand Down

0 comments on commit 1102fca

Please sign in to comment.