Skip to content
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

Add --no-pull, --dry-run, refactor effect typeclasses #267

Merged
merged 10 commits into from
Jul 31, 2024
Merged

Conversation

pbrisbin
Copy link
Member

@pbrisbin pbrisbin commented Jul 31, 2024

When we test restylers we might build a tag then run it. Without
the explicit pull step, this was fine. But with the explicit pull step
it attempts to pull even though the image exists locally. To avoid
this, we built ourselves --no-pull.

Add --pull=never to docker-run invocation

73ca252

We have an explicit pull, so this should not change anything. However,
we're about to introduce a --no-pull option to prevent that (for when
running something only locally-built, as in restyler testing), and it
would be mildly confusing if the docker-run still pulled even if you
were using --no-pull.

Derive more options ThroughOptions on TestApp

732c9c0

Add --no-pull

0b4692e

Update --help in README

e4e4a4d

Break up MonadSystem

153371e

  • Move Git and Docker under Monad namespace
  • Break up MonadSystem into Monad{Directory,{Read,Write}File}
  • Rewrite FS and update specs

Re-enable RunSpec via new MonadDocker test instance

Pull weed

1bb45c9

fixup! Pull weed

e772a1e

Add --dry-run

f30899f

pbrisbin added 6 commits July 30, 2024 16:37
We have an explicit pull, so this should not change anything. However,
we're about to introduce a `--no-pull` option to prevent that (for when
running something only locally-built, as in restyler testing), and it
would be mildly confusing if the `docker-run` still pulled even if you
were using `--no-pull`.
- Move `Git` and `Docker` under `Monad` namespace
- Break up `MonadSystem` into `Monad{Directory,{Read,Write}File}`
- Rewrite `FS` and update specs
@pbrisbin pbrisbin changed the title pb/no pull Add --no-pull, refactor effect typeclasses Jul 31, 2024
@pbrisbin pbrisbin changed the title Add --no-pull, refactor effect typeclasses Add --no-pull, --dry-run, refactor effect typeclasses Jul 31, 2024
@pbrisbin pbrisbin marked this pull request as ready for review July 31, 2024 16:09
@pbrisbin pbrisbin enabled auto-merge (rebase) July 31, 2024 16:09
@pbrisbin pbrisbin merged commit 51c7e19 into main Jul 31, 2024
8 checks passed
@pbrisbin pbrisbin deleted the pb/no-pull branch July 31, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant