Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class BaseSpecification extends Specification {
static final String TEST_IMAGE = "quay.io/rhacs-eng/qa-multi-arch:nginx-1.12@$TEST_IMAGE_SHA"
static final String TEST_IMAGE_NAME_WITH_SHA = TEST_IMAGE
static final String TEST_IMAGE_SHA = "sha256:72daaf46f11cc753c4eab981cbf869919bd1fee3d2170a2adeac12400f494728"
static final String TEST_IMAGE_PULL_SECRET = "quay"

static final String RUN_ID

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ class ImageScanningTest extends BaseSpecification {
}

orchestrator.ensureNamespaceExists(TEST_NAMESPACE)
addStackroxImagePullSecret(orchestrator, TEST_NAMESPACE)
}

def cleanupSpec() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ class PolicyConfigurationTest extends BaseSpecification {
def setupSpec() {
NEW_CLUSTER_ROLE.setRules([new K8sPolicyRule(resources: ["nodes"], apiGroups: [""], verbs: ["list"])])
orchestrator.createServiceAccount(NEW_SA)
orchestrator.addServiceAccountImagePullSecret(SERVICE_ACCOUNT_NAME, TEST_IMAGE_PULL_SECRET, Constants.ORCHESTRATOR_NAMESPACE)
orchestrator.createClusterRole(NEW_CLUSTER_ROLE)
orchestrator.createClusterRoleBinding(NEW_CLUSTER_ROLE_BINDING)
orchestrator.batchCreateDeployments(DEPLOYMENTS)
Expand Down
Loading