Page MenuHomePhabricator

[Nix] Add localstack-down
ClosedPublic

Authored by jon on Sep 27 2022, 9:42 PM.
Tags
None
Referenced Files
F3509298: D5246.diff
Sat, Dec 21, 3:15 AM
Unknown Object (File)
Wed, Nov 27, 5:22 AM
Unknown Object (File)
Mon, Nov 25, 10:21 PM
Unknown Object (File)
Mon, Nov 25, 10:21 PM
Unknown Object (File)
Mon, Nov 25, 10:21 PM
Unknown Object (File)
Mon, Nov 25, 7:54 PM
Unknown Object (File)
Sun, Nov 24, 12:10 PM
Unknown Object (File)
Fri, Nov 22, 8:00 AM
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 ↗(On Diff #17366)

Typo here

18 ↗(On Diff #17366)

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 ↗(On Diff #17366)

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.