Skip to content

Instantly share code, notes, and snippets.

@carlisia
Last active September 18, 2021 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlisia/01628fe2843a58f4ad5485f538ca67b7 to your computer and use it in GitHub Desktop.
Save carlisia/01628fe2843a58f4ad5485f538ca67b7 to your computer and use it in GitHub Desktop.
Focus options on providers:
TCE
With focus:
GINKGO_FOCUS='Basic' BSL_BUCKET=c-aws-velero-bucket CREDS_FILE=/Users/carlisiac/creds/credentials-velero-aws CLOUD_PROVIDER=aws make e2e-test
-----
Exemple for filtering a test:
set GINKGO_FOCUS [APIGroup]
[APIGroup]
[Restic]
[Snapshot]
-------
Command for AWS
BSL_BUCKET=c-aws-velero-bucket CREDS_FILE=/Users/carlisiac/creds/credentials-velero-aws VSL_CONFIG=region=us-west-2 CLOUD_PROVIDER=aws make test-e2e
With focus:
GINKGO_FOCUS='Basic' BSL_BUCKET=c-aws-velero-bucket CREDS_FILE=/Users/carlisiac/creds/credentials-velero-aws VSL_CONFIG=region=us-west-2 CLOUD_PROVIDER=aws make test-e2e
-------
Command for KIND
Find ip:
ipconfig getifaddr en0
GINKGO_FOCUS='Restic' BSL_BUCKET=velero BSL_CONFIG=region=minio,s3ForcePathStyle="true",s3Url=http://192.168.9.113:9000 CREDS_FILE=~/creds/credentials-velero-minio CLOUD_PROVIDER=kind OBJECT_STORE_PROVIDER=aws make test-e2e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment