Skip to content

feat(scaletest): add greedy agent test to runner #10559

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Dec 5, 2023

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented Nov 7, 2023

Part of #8556

@mafredri mafredri force-pushed the mafredri/feat-scaletest-add-greedy-agent-test branch from 0a3d00a to 45b4f12 Compare November 8, 2023 15:30
@github-actions github-actions bot added the stale This issue is like stale bread. label Nov 21, 2023
@github-actions github-actions bot closed this Nov 25, 2023
@mafredri mafredri reopened this Nov 25, 2023
@mafredri mafredri removed the stale This issue is like stale bread. label Nov 25, 2023
@mafredri mafredri force-pushed the mafredri/feat-scaletest-add-greedy-agent-test branch from 7a8eb52 to 1278cbe Compare December 1, 2023 17:43
@mafredri mafredri marked this pull request as ready for review December 1, 2023 17:44
@mafredri mafredri requested review from mtojek and johnstcn December 1, 2023 17:44
@@ -584,7 +630,7 @@ resource "kubernetes_pod" "main" {
}
# Set the pod delete timeout to termination_grace_period_seconds + 1m.
timeouts {
delete = "${(local.workspace_pod_termination_grace_period_seconds + 120) / 60}s"
delete = "${(local.workspace_pod_termination_grace_period_seconds + 120)}s"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: bug fix, already in seconds.

@mafredri mafredri force-pushed the mafredri/feat-scaletest-add-greedy-agent-test branch from 219a42a to 11926ce Compare December 4, 2023 12:16
Copy link
Member

@mtojek mtojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 stamp

# Unzip scripts and add to path.
# shellcheck disable=SC2153
echo "Extracting scaletest scripts into ${SCRIPTS_DIR}..."
base64 -d <<<"${SCRIPTS_ZIP}" >/tmp/scripts.zip
rm -rf "${SCRIPTS_DIR}" || true
mkdir -p "${SCRIPTS_DIR}"
unzip -o /tmp/scripts.zip -d "${SCRIPTS_DIR}"
# Chmod to work around https://github.com/coder/coder/issues/10034
chmod +x "${SCRIPTS_DIR}"/*.sh
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice finding!

@mafredri mafredri merged commit e300b03 into main Dec 5, 2023
@mafredri mafredri deleted the mafredri/feat-scaletest-add-greedy-agent-test branch December 5, 2023 10:37
@github-actions github-actions bot locked and limited conversation to collaborators Dec 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants