storj/cmd/satellite
Márton Elek 7f6f7e1246
satellite: optional migration for integration tests
This patch addresses the following issues:

 1. Running full migration in cockroachdb is quite slow. We already have an approach for unit tests to start from the latest snapshot. This patch makes it possible to use it for integrations tests.
 2. Migration requires executing a separated command which makes it hard to run application in containerized test environments (like storj-up) or from IDE. This patch introduces a hidden flag to run migration.
 3. Test user creation is painful. We do it with calling GraphQL + admin API. Providing an option with testuser makes the integration tests significant more simple (especially as the projectID -> access grant can be predictable)

Change-Id: I61010728727b490ea6aac32620f2da0484966727
2022-10-04 11:35:03 +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/metainfo: add feature flag for server side copy code 2022-02-24 10:43:49 +00:00
api.go satellite: optional migration for integration tests 2022-10-04 11:35:03 +02:00
billing.go satellite/payments/stripecoinpayments: storjscan invoice generation 2022-08-03 13:24:26 -07: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 Dockerfiles: switch base image from alpine to Debian 2022-04-05 11:40:44 +00:00
fetchpieces.go cmd/satellite: fix fetch-pieces segfaulting 2022-03-19 04:34:15 +00:00
gc-bf.go cmd/satellite: add command for collecting GC bloom filters 2022-08-31 11:40:36 +00:00
gc.go satellite/metainfo: add feature flag for server side copy code 2022-02-24 10:43:49 +00:00
gracefulexit.go satellite/satellitedb: Use CRDB AS OF SYSTEM & batch for GE 2021-05-07 13:09:19 -04:00
main.go satellite: optional migration for integration tests 2022-10-04 11:35:03 +02:00
output.go satellite: compensation package and commands 2020-03-30 14:08:14 -06:00
README.md hc to satellite rename (#282) 2018-08-29 14:32:41 -04:00
repairer.go satellite/metainfo: add feature flag for server side copy code 2022-02-24 10:43:49 +00:00
satellite.yaml all: fix comments about grpc 2020-05-11 13:05:34 +03:00
testdata_test.go satellite: optional migration for integration tests 2022-10-04 11:35:03 +02:00
testdata.go satellite: optional migration for integration tests 2022-10-04 11:35:03 +02: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