-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from theupdateframework/rename
The Big Rename
- Loading branch information
Showing
43 changed files
with
319 additions
and
334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
## Developer notes | ||
|
||
A development install can be made in any environment but venv is recommended: | ||
|
||
```shell | ||
# Create environment | ||
python3 -m venv .venv | ||
# Enter environment | ||
source .venv/bin/activate | ||
# install the signing and repository tools as editable | ||
pip install -e ./signer -e ./repo | ||
# install tox for a reproducible testing environment | ||
pip install tox | ||
``` | ||
|
||
At this point `tuf-on-ci-sign` and other commands are available from the editable install (source code). | ||
|
||
### Running tests and linters | ||
|
||
Tests and lints can be run with tox: | ||
|
||
```shell | ||
# Run all lints | ||
tox -m lint | ||
|
||
# run all tests | ||
tox -m test | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
## CI tools for Repository Playground | ||
## CI tools for TUF-on-CI | ||
|
||
These commands are used by the GitHub actions in the [actions directory](../actions/). There should be no reason to install or use them elsewhere (except for debugging and testing). | ||
|
||
### Installation | ||
|
||
Development install: `pip install -e .` | ||
|
||
### Usage | ||
|
||
These commands are used by the GitHub actions in the [actions directory](../actions/) . | ||
|
||
`playground-status`: Prints status of the signing event (aka current branch) based on the changes done in the signing event (compared to the starting point of the event) and invites in .signing-event-state file | ||
`tuf-on-ci-status`: Prints status of the signing event (aka current branch) based on the changes done in the signing event (compared to the starting point of the event) and invites in .signing-event-state file | ||
|
||
`playground-snapshot [--push] [<PUBLISH_DIR>]`: Updates snapshot & timestamp based on current repository content. If `--push` is used, the changes are pushed to main branch. If PUBLISH_DIR is given, will create a publishable repository version in PUBLISH_DIR. | ||
`tuf-on-ci-snapshot [--push] [<PUBLISH_DIR>]`: Updates snapshot & timestamp based on current repository content. If `--push` is used, the changes are pushed to main branch. If PUBLISH_DIR is given, will create a publishable repository version in PUBLISH_DIR. | ||
|
||
`playground-online [--push] [<PUBLISH_DIR>]`: Bumps the online roles version if they are about to expire, and signs the changes. If `--push` is used, the changes are pushed to main branch. If PUBLISH_DIR is given, will create a publishable repository version in PUBLISH_DIR. | ||
`tuf-on-ci-bump-online [--push] [<PUBLISH_DIR>]`: Bumps the online roles version if they are about to expire, and signs the changes. If `--push` is used, the changes are pushed to main branch. If PUBLISH_DIR is given, will create a publishable repository version in PUBLISH_DIR. | ||
|
||
`playground-offline [--push]`: Bumps the roles versions if they are about to expire. If `--push` is used, the changes are pushed to signing event branches (branch per role): the signing event names are printed on stdout. | ||
`tuf-on-ci-bump-offline [--push]`: Bumps the roles versions if they are about to expire. If `--push` is used, the changes are pushed to signing event branches (branch per role): the signing event names are printed on stdout. |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.