Skip to content

Commit

Permalink
Naming: change sigstore-env to selftest-env
Browse files Browse the repository at this point in the history
This hopefully makes it clearer what it is. same goes
for selftest-requirements.txt

Signed-off-by: Jussi Kukkonen <[email protected]>
  • Loading branch information
jku committed Jan 25, 2025
1 parent 65b0895 commit 39440fd
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:

- name: install sigstore-python
run: |
python3 -m venv sigstore-env
./sigstore-env/bin/python -m pip install --requirement sigstore-requirements.txt
python3 -m venv selftest-env
./selftest-env/bin/python -m pip install --requirement selftest-requirements.txt
- name: conformance test sigstore-python
uses: ./
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
env/
sigstore-env/
selftest-env/
pip-wheel-metadata/
*.egg-info/
__pycache__/
Expand Down
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ env/bootstrap: dev-requirements.txt
./env/bin/python -m pip install --requirement dev-requirements.txt
touch env/bootstrap

sigstore-env/pyvenv.cfg: sigstore-requirements.txt
python3 -m venv sigstore-env
./sigstore-env/bin/python -m pip install --upgrade pip
./sigstore-env/bin/python -m pip install --requirement sigstore-requirements.txt
selftest-env/pyvenv.cfg: selftest-requirements.txt
python3 -m venv selftest-env
./selftest-env/bin/python -m pip install --upgrade pip
./selftest-env/bin/python -m pip install --requirement selftest-requirements.txt


env/pyvenv.cfg: env/bootstrap requirements.txt
./env/bin/python -m pip install --requirement requirements.txt

.PHONY: dev
dev: env/pyvenv.cfg sigstore-env/pyvenv.cfg
dev: env/pyvenv.cfg selftest-env/pyvenv.cfg

.PHONY: lint
lint: env/pyvenv.cfg $(ALL_PY_SRCS)
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions sigstore-python-conformance
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
A wrapper to convert `sigstore-conformance` CLI protocol invocations to match `sigstore-python`.
This wrapper expects to find sigstore-python binary installed in sigstore_env/bin/sigstore
This wrapper expects to find sigstore-python binary installed in selftest-env/bin/sigstore
"""


Expand All @@ -21,7 +21,7 @@ ARG_REPLACEMENTS = {
}

script_dir = os.path.dirname(os.path.realpath(__file__))
SIGSTORE_BINARY = os.path.join(script_dir, "sigstore-env", "bin", "sigstore")
SIGSTORE_BINARY = os.path.join(script_dir, "selftest-env", "bin", "sigstore")

if not os.path.exists(SIGSTORE_BINARY):
exit(
Expand Down

0 comments on commit 39440fd

Please sign in to comment.