Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add more ACTOR_ env vars, add a test, rename ENV_VARS #403

Merged
merged 4 commits into from
Jul 11, 2023

Conversation

jirimoravcik
Copy link
Member

I added more actor env vars based on updated https://github.com/apify/actor-specs/#environment-variables

I added a test that checks if all actor env vars begin with ACTOR_.

I renamed ENV_VARS to APIFY_ENV_VARS and created a new ENV_VARS variable that just copies the values for backwards compatibility. Also added a test to check if this works correctly.

@github-actions github-actions bot added this to the 67th sprint - Platform team milestone Jul 11, 2023
@github-actions github-actions bot added t-platform Issues with this label are in the ownership of the platform team. tested Temporary label used only programatically for some analytics. labels Jul 11, 2023
Copy link
Member

@fnesveda fnesveda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I just had an idea about making the tests stricter

test/consts.test.ts Outdated Show resolved Hide resolved
test/consts.test.ts Show resolved Hide resolved
jirimoravcik and others added 2 commits July 11, 2023 09:59
Co-authored-by: František Nesveda <[email protected]>
Co-authored-by: František Nesveda <[email protected]>
@jirimoravcik jirimoravcik requested review from fnesveda July 11, 2023 08:03
@jirimoravcik jirimoravcik merged commit 555a265 into master Jul 11, 2023
@jirimoravcik jirimoravcik deleted the feature/add-more-actor-env-vars branch July 11, 2023 08:56
@fnesveda fnesveda added the validated Issues that are resolved and their solutions fulfill the acceptance criteria. label Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t-platform Issues with this label are in the ownership of the platform team. tested Temporary label used only programatically for some analytics. validated Issues that are resolved and their solutions fulfill the acceptance criteria.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants