Replies: 1 comment
-
|
Related to: #7452 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Allow to easily to declare all prefixed environment variables to be excluded from caching as they are not build-time environment variables.
For example, you use Playwright for end-to-end tests and want to be able to easily configure test data by defining a bunch of
PLAYWRIGHT_API_URL,PLAYWRIGHT_TESTCASE1_USER_NAMEetc so they can be changed per environment (e.g.localandstaging, orprodtestetc).Now you need to define each item while using a syntax
PLAYWRIGHT_*would make it easier.Non-goals
Initial iteration wouldn't need to allow to exclude a particular prefixed environment variable using a syntax of
!PLAYWRIGHT_TESTCASE1_USER_NAMEetc.Background
Avoid needing to define each entry that you want to passthrough and excluded for cache calculations.
Proposal
Allow to define environment similar to a glob match, by the use of
*, e.g.PLAYWRIGHT_*orCI_*etc.Beta Was this translation helpful? Give feedback.
All reactions