Skip to content
Snippets Groups Projects
Verified Commit 84e904ee authored by David Runge's avatar David Runge :chipmunk:
Browse files

test: Pin nethsm container image version to c16fe4ed

We are experiencing issues with uploading of update files never
returning.
This is due to us reusing nethsm-py-sdk's dummy update file, which is
now too old to be able to update the container.
Changes to the tagging scheme, as well as a central, versioned location
for testing update files have been requested upstream in
https://github.com/Nitrokey/nethsm/issues/8

Fixes #32



Signed-off-by: default avatarDavid Runge <dvzrv@archlinux.org>
parent a453c43d
No related branches found
No related tags found
1 merge request!32test: Pin nethsm container image version to c16fe4ed
......@@ -10,7 +10,12 @@ use rustainers::{
use testresult::TestResult;
use uuid::{timestamp::Timestamp, NoContext, Uuid};
const IMAGE_NAME: &ImageName = &ImageName::new("docker.io/nitrokey/nethsm:testing");
/// The NetHSM container image and specific tag
///
/// We are currently pinning to "c16fe4ed" due to https://gitlab.archlinux.org/archlinux/signstar/-/issues/32
/// In the future we will probably want to stick to a specific release tag (representing an actual
/// upstream release) and not "testing"
const IMAGE_NAME: &str = "docker.io/nitrokey/nethsm:c16fe4ed";
const DEFAULT_PORT: u16 = 8443;
const DEFAULT_PATH: &str = "/api/v1";
......@@ -33,7 +38,7 @@ impl NetHsmImage {
impl Default for NetHsmImage {
fn default() -> Self {
Self {
image: IMAGE_NAME.clone(),
image: ImageName::new(IMAGE_NAME),
port: ExposedPort::new(DEFAULT_PORT),
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment