Skip to content

Replace check_dss.sh with an appropriate Python script (New)#1726

Closed
motjuste wants to merge 10 commits intomainfrom
CHECKBOX-1693-replace-check_dss-sh-with-py
Closed

Replace check_dss.sh with an appropriate Python script (New)#1726
motjuste wants to merge 10 commits intomainfrom
CHECKBOX-1693-replace-check_dss-sh-with-py

Conversation

@motjuste
Copy link
Copy Markdown
Contributor

@motjuste motjuste commented Feb 14, 2025

Description

This is the next piece of the original PR #1724 that requires PR #1725.

The main changes in this PR include replacing the existing check_dss.sh and its usages with the more or less the same functionality implemented as a Python script.

1 test has been removed since it relied on the name of the DSS namespace being something specific.

1 test has been added that tests DSS's public API for dss purge.

Resolved issues

Documentation

No changes to the Checkbox documentation.

Tests

#1725 needs to be merged before this PR to enable running the tests in the CI.

This will replace check_dss.sh in the near future.
We no longer need microk8s, but instead use the kubeconfig from
well known default directory.  It also prepares us to have this
run on a K8s different than microk8s
DSS may choose to use a namespace with any name in the future.
replacing the old check_dss.sh calls; now with also custom, explicit,
and potentially larger timeouts for creating some notebooks.
replacing check_dss.sh calls, which were also giving the false
impression that the notebooks were removed immediately.  DSS's
documentation only promises to start removing the notebook,
and returns almost immediately.
@motjuste
Copy link
Copy Markdown
Contributor Author

motjuste commented Feb 14, 2025

Waiting on #1725 to be merged so that we have the required common.py and unit-tests running in the CI.

@motjuste
Copy link
Copy Markdown
Contributor Author

Closing in lieu of a better solution in #1743.

@motjuste motjuste closed this Feb 22, 2025
@motjuste motjuste deleted the CHECKBOX-1693-replace-check_dss-sh-with-py branch February 22, 2025 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant