Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Arbitrary container and image names allow for non-destructive testing #229

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ScottBailey
Copy link
Contributor

@ScottBailey ScottBailey commented Jun 21, 2023

This change updates dunes to optionally take a container and image names on the command line. This allows for the user to have more than one container as well as having non-destructive regression tests.

.pylintrc: made column number larger.
src/dunes/__main__.py: Container creatin uses the new CLI arguments.
src/dunes/args.py: Add the new CLI options, fix forwarded args functions to work with container name.
src/dunes/docker.py: __init__() becomes more sophisticated and upgrade() becomes more self contained.
src/dunes/dunes.py: __init__() now takes container and image names.
tests/*: Tests are updated to replace destructive with safe in all cases except the a100 test which must remain destructive. Changed language in README.

Closes #213

@ScottBailey ScottBailey self-assigned this Jun 21, 2023
@ScottBailey ScottBailey marked this pull request as draft June 21, 2023 02:31
@mikelik
Copy link
Contributor

mikelik commented Jun 21, 2023

Some tests are failing, so I will hold on with the review

@ScottBailey ScottBailey force-pushed the sbailey/arbitrary_container_and_image_names branch from bd95c42 to 5b4734f Compare June 21, 2023 15:32
@ScottBailey ScottBailey changed the title Sbailey/arbitrary container and image names Arbitrary container and image names allow for non-destructive testing Jun 21, 2023
…mes on the command line. This allows for the user to have more than one container as well as having non-destructive regression tests.

`.pylintrc`: made column number larger.
`src/dunes/__main__.py`: Container creatin uses the new CLI arguments.
`src/dunes/args.py`: Add the new CLI options, fix forwarded args functions to work with container name.
`src/dunes/docker.py`: `__init__()` becomes more sophisticated and `upgrade()` becomes more self contained.
`src/dunes/dunes.py`: `__init__()` now takes container and image names.
`tests/*`: Tests are updated to replace `destructive` with `safe` in all cases except the a100 test which must remain destructive. Changed language in README.
@ScottBailey ScottBailey force-pushed the sbailey/arbitrary_container_and_image_names branch from da80789 to e7919c6 Compare June 21, 2023 16:40
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.

Allow dunes to operate on arbitrarily named containers.
2 participants