Skip to content

Commit

Permalink
add test for checking podman settings
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenmiller committed Nov 13, 2024
1 parent 94f0140 commit 7940f87
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions images/common/config/sudoers.d/containers
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tedge ALL = (ALL) NOPASSWD: /usr/bin/podman, /usr/bin/docker, /usr/bin/tedge-container
12 changes: 12 additions & 0 deletions tests/debian-systemd/main/containers.robot
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
*** Settings ***
Resource ../../resources/common.robot
Library Cumulocity
Library DeviceLibrary

Suite Setup Set Main Device

*** Test Cases ***

Pull docker.io images by default
${operation}= Cumulocity.Execute Shell Command sudo podman pull nginx
${operation}= Operation Should Be SUCCESSFUL ${operation}

0 comments on commit 7940f87

Please sign in to comment.