Skip to content

Commit

Permalink
Merge pull request #51 from vdice/fix/density-img-name
Browse files Browse the repository at this point in the history
fix(density): update img name, tag
  • Loading branch information
vdice authored May 10, 2024
2 parents fb3b278 + 7bedb54 commit fab95c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ run-density-test-%:
TEST=density \
SK_TEST_RUN_NAME=density-$* \
SK_SPIN_APP_ROUTE="" \
SK_OCI_TAG="latest" \
SK_OCI_TAG="perf" \
SK_OCI_REPO=$(REGISTRY_URL) \
./tests/run.sh $(REGISTRY_URL)
echo "Logs from Density Test $*"
Expand Down
4 changes: 2 additions & 2 deletions tests/scripts/density.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const replicas = `${__ENV.SK_REPLICAS}` != "undefined" ? parseInt(`${__ENV.SK_RE
const namespace = `${__ENV.SK_NAMESPACE}` != "undefined" ? `${__ENV.SK_NAMESPACE}` : "default";
const executor = `${__ENV.SK_EXECUTOR}` != "undefined" ? `${__ENV.SK_EXECUTOR}` : "containerd-shim-spin";
const repo = `${__ENV.SK_OCI_REPO}` != "undefined" ? `${__ENV.SK_OCI_REPO}` : "spinkubeperf.azurecr.io";
const tag = `${__ENV.SK_OCI_TAG}` != "undefined" ? `${__ENV.SK_OCI_TAG}` : "latest";
const tag = `${__ENV.SK_OCI_TAG}` != "undefined" ? `${__ENV.SK_OCI_TAG}` : "perf";
const route = `${__ENV.SK_SPIN_APP_ROUTE}` != "undefined" ? `${__ENV.SK_SPIN_APP_ROUTE}` : "";
const maxScenarioDurationSecs = `${__ENV.SK_MAX_SCENARIO_DURATION_SECS}` != "undefined" ? `${__ENV.SK_MAX_SCENARIO_DURATION_SECS}` : 180;
const restIntervalSecs = `${__ENV.SK_REST_INTERVAL_SECONDS}` != "undefined" ? `${__ENV.SK_REST_INTERVAL_SECONDS}` : 10;
Expand Down Expand Up @@ -90,7 +90,7 @@ export function setup() {
let allApps = deploy.getSpinApps(kubernetes, namespace).length;
let startQuantity = allApps == 0 ? 0 : allApps;
console.log(`Deploying ${batchSize} apps to cluster with ${startQuantity} already deployed`);
let apps = createSpinApps(repo, startQuantity, batchSize);
let apps = createSpinApps(`${repo}/density-rust-`, startQuantity, batchSize);
applySpinApps(kubernetes, apps);
let totalAppsDeployed = deploy.getSpinApps(kubernetes, namespace).length;
deployedApps.add(totalAppsDeployed);
Expand Down

0 comments on commit fab95c5

Please sign in to comment.