Skip to content

Commit

Permalink
[chore] update package tests with upstream changes
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Wiesinger <[email protected]>
  • Loading branch information
mowies committed Aug 28, 2024
1 parent ca159ba commit b6b67ba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/testbed/linux-services/package-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,12 @@ trap 'podman rm -fv $container_name >/dev/null 2>&1 || true' EXIT
podman build -t "$image_name" --arch "$translated_arch" -f "$SCRIPT_DIR/Dockerfile.test.$pkg_type" "$SCRIPT_DIR"
podman rm -fv "$container_name" >/dev/null 2>&1 || true

# test install
podman run --name "$container_name" --arch "$translated_arch" -d "$image_name"

# ensure that the system is up and running by checking if systemctl is running
$container_exec systemctl is-system-running --quiet --wait

podman_cp "$container_name" internal/testbed/linux-services/config.test.yaml /etc/dynatrace-otel-collector/config.yaml
install_pkg "$container_name" "$PKG_PATH"

Expand Down

0 comments on commit b6b67ba

Please sign in to comment.