Skip to content

Commit

Permalink
cli: remove rstuf custom command add upstream
Browse files Browse the repository at this point in the history
use rstuf upstream cli

update `make inittuf` to use upstream command

Signed-off-by: Kairo de Araujo <[email protected]>
  • Loading branch information
kairoaraujo committed Oct 5, 2024
1 parent 4e5b521 commit 422de27
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 73 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ initdb: .state/docker-build-base .state/db-populated
inittuf: .state/db-migrated
docker compose up -d rstuf-api
docker compose up -d rstuf-worker
docker compose run --rm web python -m warehouse tuf bootstrap dev/rstuf/bootstrap.json --api-server http://rstuf-api
docker compose run --rm web rstuf admin --api-server http://rstuf-api send bootstrap dev/rstuf/bootstrap.json

runmigrations: .state/docker-build-base
docker compose run --rm web python -m warehouse db upgrade head
Expand Down
2 changes: 1 addition & 1 deletion docs/dev/development/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ You should see the following line at the bottom of the output:

.. code-block:: console
Bootstrap completed using `dev/rstuf/bootstrap.json`. 🔐 🎉
Bootstrap completed. 🔐 🎉
This command sends a static *bootstrap payload* to the RSTUF API. The payload
Expand Down
1 change: 1 addition & 0 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ pip-tools>=1.0
pyramid_debugtoolbar>=2.5
pip-api
watchdog
repository-service-tuf
38 changes: 0 additions & 38 deletions tests/unit/cli/test_tuf.py

This file was deleted.

33 changes: 0 additions & 33 deletions warehouse/cli/tuf.py

This file was deleted.

0 comments on commit 422de27

Please sign in to comment.