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!: Removing unused ACTOR_BASE_DOCKER_IMAGES and ACTOR_BASE_DOCKER_IMAGE_DEFAULT constants #376

Merged
merged 2 commits into from
Apr 14, 2023

Conversation

mtrunkat
Copy link
Member

This constant is not currently used anywhere, and the repo with docker images should serve as a single source of truth.

This constant is not currently used anywhere, and the repo with docker images should serve as a single source of truth.
@mtrunkat mtrunkat requested a review from fnesveda April 11, 2023 09:08
@mtrunkat mtrunkat added adhoc Ad-hoc unplanned task added during the sprint. debt Code quality improvement or decrease of technical debt. labels Apr 11, 2023
@github-actions github-actions bot added this to the 61st sprint - Platform team milestone Apr 11, 2023
@github-actions github-actions bot added the t-platform Issues with this label are in the ownership of the platform team. label Apr 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, but we probably can remove the other const too.

* Default image from ACTOR_BASE_DOCKER_IMAGES.
*/
export const ACTOR_BASE_DOCKER_IMAGE_DEFAULT = ACTOR_BASE_DOCKER_IMAGES[0].name;
export const ACTOR_BASE_DOCKER_IMAGE_DEFAULT = 'apify/actor-node';
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we can remove this const too? We have no notion of "default base Docker image" anymore, and it's only used in two files in integration tests, where we can/should hardcode it anyway.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, right, I see it's only used on tests and there it can be hardcoded for sure.

Copy link
Member Author

Choose a reason for hiding this comment

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

@mtrunkat mtrunkat requested a review from fnesveda April 13, 2023 07:29
@mtrunkat mtrunkat changed the title feat!: Removing unused ACTOR_BASE_DOCKER_IMAGES constant feat!: Removing unused ACTOR_BASE_DOCKER_IMAGES and ACTOR_BASE_DOCKER_IMAGE_DEFAULT constants Apr 14, 2023
@mtrunkat mtrunkat merged commit 55f89d0 into master Apr 14, 2023
@mtrunkat mtrunkat deleted the feature/remove_docker_images branch April 14, 2023 06:35
@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
adhoc Ad-hoc unplanned task added during the sprint. debt Code quality improvement or decrease of technical debt. t-platform Issues with this label are in the ownership of the platform team. 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.

2 participants