Last active
May 9, 2022 21:18
-
-
Save sallyom/9f828f46a6ade7a98eaefecd56190fa2 to your computer and use it in GitHub Desktop.
test script to run sigstore integration tests with skopeo's `make sigstore-testenv-up`
This file contains hidden or 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
#!/bin/bash | |
### Run `make sigstore-testenv-up` from local checkout of containers/skopeo before running this script. | |
### This script must run from local checkout of sigstore/sigstore | |
set -ex | |
echo "running tests" | |
export VAULT_TOKEN=testtoken | |
export VAULT_ADDR=http://localhost:8200/ | |
export AWS_ACCESS_KEY_ID=test | |
export AWS_SECRET_ACCESS_KEY=test | |
export AWS_REGION=us-east-1 | |
export AWS_ENDPOINT=localhost:4566 | |
export AWS_TLS_INSECURE_SKIP_VERIFY=1 | |
export OIDC_ISSUER=http://127.0.0.1:5556/auth | |
export OIDC_ID=sigstore | |
go test -tags e2e -count=1 ./... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment