storj/cmd/satellite
Egon Elbre 63fa386b0a satellite/payments/stripecoinpayments: avoid mock cross-talk in tests
The tests were using global variables for keeping the mock state, which
was indexed by the satellite ID. However, the satellite ID-s are
deterministic and it's possible for two tests end up using the same
mocks.

Instead make the mock creation not depend on the satellite ID and
instead require it being configured via paymentsconfig.

This fixes TestAutoFreezeChore failure.

Change-Id: I531d3550a934fbb36cff2973be96fd43b7edc44a
2023-03-03 20:20:48 +02:00
..
reports cmd/satellite: add project ID, bucket name to partner attribution CSV 2022-06-01 20:27:12 +00:00
admin.go satellite: fix metabase configuration wiring 2022-11-02 15:17:34 +00:00
api.go satellite/satellitedb: cleanup testing access 2023-02-06 14:36:11 +02:00
auditor.go satellite/audit: split out auditor process 2022-12-16 12:44:32 -06:00
billing_test.go cmd/satellite: change invoicing flags to iso8601 2022-10-07 07:58:23 -07:00
billing.go satellite/payments/stripecoinpayments: avoid mock cross-talk in tests 2023-03-03 20:20:48 +02:00
compensation.go compensation: always generate invoices for every node 2021-03-29 14:15:45 +00:00
Dockerfile Dockerfiles: switch base image from alpine to Debian 2022-04-05 11:40:44 +00:00
entrypoint cmd/satellite: Add run auditor to satellite entrypoint. 2023-01-04 15:31:06 +00:00
fetchpieces.go satellite/audit: newContainment->containment 2022-12-16 17:59:52 +00:00
gc-bf.go satellite: use ranged loop with GC-GF peer 2023-02-13 18:32:21 +00:00
gc.go satellite: fix metabase configuration wiring 2022-11-02 15:17:34 +00:00
gracefulexit.go satellite/satellitedb: Use CRDB AS OF SYSTEM & batch for GE 2021-05-07 13:09:19 -04:00
main.go cmd/satellite: limit time spent restoring trash from a node 2023-02-24 20:56:09 +00:00
output.go satellite: compensation package and commands 2020-03-30 14:08:14 -06:00
rangedloop.go {cmd/storj-sim, satellite/rangedloop}: added rangedloop to storj-sim, removed identity 2023-01-05 11:29:00 +00:00
README.md hc to satellite rename (#282) 2018-08-29 14:32:41 -04:00
repair_segment_test.go cmd/satellite: repair-segment; add option to process csv file directly 2022-11-18 17:40:17 +00:00
repair_segment.go satellite/metabase: add piece size calculation to segment 2023-02-22 11:04:02 +00:00
repairer.go satellite/audit: newContainment->containment 2022-12-16 17:59:52 +00:00
testdata_test.go satellite: optional migration for integration tests 2022-10-04 11:35:03 +02:00
testdata.go {satellite/console,web/satellite}: get project salt from satellite 2022-10-12 19:06:27 +00:00
usage.go Allow for DB application names per process. (#3983) 2020-12-04 11:24:39 +01:00

Satellite

Documentation for developing and building the satellite service

Usage:

First make an identity:

go install storj.io/storj/cmd/satellite
satellite setup

You can edit ~/.storj/satellite/config.yaml to your liking. Then run it!

satellite run