Skip to content

Commit

Permalink
Fix T1613.yaml (#2886)
Browse files Browse the repository at this point in the history
* Fixing several issues on T1613 test

* Undoing the md file fix

* Undoing the md file fix and fixing also test 2

---------

Co-authored-by: Bhavin Patel <bhavin.j.patel91@gmail.com>
  • Loading branch information
AlbertoPellitteri and patel-bhavin authored Aug 2, 2024
1 parent d143f79 commit 366ff6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions atomics/T1613/T1613.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ atomic_tests:
executor:
command: |-
docker build -t t1613 $PathtoAtomicsFolder/T1613/src/
docker run --name t1613_container -d -t t1613
docker run --name t1613_container --rm -d -t t1613
docker ps
docker stats --no-stream
docker inspect $(docker ps -l -q --filter ancestor=t1613)
cleanup_command: |-
docker stop t1613_container
docker rmi -f t1613_container
docker rmi -f t1613
name: sh

- name: Podman Container and Resource Discovery
Expand All @@ -50,11 +50,11 @@ atomic_tests:
executor:
command: |-
podman build -t t1613 $PathtoAtomicsFolder/T1613/src/
podman run --name t1613_container -d -t t1613
podman run --name t1613_container --rm -d -t t1613
podman ps
podman stats --no-stream
podman inspect $(podman ps -l -q --filter ancestor=t1613)
cleanup_command: |-
podman stop t1613_container
podman rmi -f t1613_container
podman rmi -f t1613
name: sh
2 changes: 1 addition & 1 deletion atomics/T1613/src/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:24.04
LABEL = "canonical"
LABEL key="canonical"
RUN echo "canonical"
ENTRYPOINT ["tail", "-f", "/dev/null"]

0 comments on commit 366ff6f

Please sign in to comment.