Page MenuHomePhabricator

[Nix] Add localstack-down
ClosedPublic

Authored by jon on Sep 27 2022, 9:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 22, 12:06 PM
Unknown Object (File)
Tue, Oct 22, 11:54 AM
Unknown Object (File)
Tue, Oct 22, 11:54 AM
Unknown Object (File)
Tue, Oct 22, 11:54 AM
Unknown Object (File)
Tue, Oct 22, 11:54 AM
Unknown Object (File)
Tue, Oct 22, 12:26 AM
Unknown Object (File)
Oct 15 2024, 7:10 PM
Unknown Object (File)
Sep 18 2024, 11:16 PM
Subscribers

Details

Reviewers
abosh
varun
ashoat
atul
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rCOMMafb91bc1e417: [Nix] Add localstack-down
Summary

Allow for localstack to be easily be shutdown through nix

part of: https://linear.app/comm/issue/ENG-1697

Depends on D5245

Test Plan
nix run .#localstack-up
# get message about it being up
docker ps # assert localstack is running

nix run .#localstack-down
docker ps # assert localstack is no longer running

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Owners added a reviewer: Restricted Owners Package.Sep 27 2022, 9:42 PM
atul added 1 blocking reviewer(s): abosh.

Resigning and adding @abosh as blocking. Anticipate you'll get some pushback on shell within writeShellApplication instead of external file

Refactor into script and nix wrapper

@abosh is busy with classwork

ashoat requested changes to this revision.Oct 6 2022, 5:52 AM

Looks great, requesting changes for minor nits

scripts/localstack_down.sh
15

Typo here

18

Can we capitalize "No" for consistency?

This revision now requires changes to proceed.Oct 6 2022, 5:52 AM
jon marked 2 inline comments as done.

Fix typos

scripts/localstack_down.sh
18

Yep

This revision is now accepted and ready to land.Oct 10 2022, 12:09 PM
This revision was automatically updated to reflect the committed changes.