Page MenuHomePhabricator

[Nix] Add localstack-down
ClosedPublic

Authored by jon on Sep 27 2022, 9:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 26, 10:04 AM
Unknown Object (File)
Thu, Dec 26, 10:04 AM
Unknown Object (File)
Thu, Dec 26, 10:04 AM
Unknown Object (File)
Thu, Dec 26, 10:04 AM
Unknown Object (File)
Thu, Dec 26, 10:03 AM
Unknown Object (File)
Thu, Dec 26, 9:54 AM
Unknown Object (File)
Sat, Dec 21, 7:12 AM
Unknown Object (File)
Sat, Dec 21, 7:12 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
Lint Not Applicable
Unit
Tests Not Applicable

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.