You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains 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
Use an environment variable for the configuration file path to enhance flexibility across different environments
Ensure that the configuration file path is correctly referenced in all environments. Consider using an environment variable to define the base path for configurations, which can be set differently depending on the deployment environment.
Why: This suggestion improves maintainability by allowing the configuration file path to be easily changed based on the environment, which is a significant improvement for deployment flexibility.
8
Best practice
Replace hard-coded paths with environment variables to increase script adaptability
To avoid hard-coding paths in your scripts, use an environment variable to specify the directory path. This change will make the script more adaptable to different deployment scenarios.
Why: Using environment variables instead of hard-coded paths enhances the adaptability of the script to different deployment scenarios, which is a best practice.
8
Standardize the configuration file path across docker-compose files using an environment variable
To ensure consistency and avoid errors, use a common environment variable across all docker-compose files to define the path for configuration files.
Why: Standardizing the configuration file path using an environment variable ensures consistency and reduces the risk of errors, which is a best practice.
8
Documentation
Use placeholders for paths in documentation to guide users in configuring their environments
It's a good practice to avoid hard-coding paths in documentation examples. Instead, use placeholders and describe how to set them in the text.
Why: This suggestion improves the documentation by making it clearer for users to configure their environments, although it is less critical than code changes.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
Description
Fixes #2340. Will break existing docker setups using the "old" mount point
/opt/bin/config.toml
.Motivation and Context
Fixes #2340
Types of changes
Checklist
PR Type
Enhancement, Documentation
Description
/opt/bin/config.toml
to/opt/selenium/config.toml
in various scripts and configurations.Changes walkthrough 📝
start-selenium-grid-docker.sh
Harmonize mount point in NodeDocker script
NodeDocker/start-selenium-grid-docker.sh
/opt/bin/config.toml
to/opt/selenium/config.toml
.start-selenium-grid-docker.sh
Harmonize mount point in StandaloneDocker script
StandaloneDocker/start-selenium-grid-docker.sh
/opt/bin/config.toml
to/opt/selenium/config.toml
.docker-compose-v3-dynamic-grid.yml
Update mount point in Docker Compose configuration
docker-compose-v3-dynamic-grid.yml
Compose configuration.
docker-compose-v3-test-node-docker.yaml
Update mount point in test Docker Compose configuration
tests/docker-compose-v3-test-node-docker.yaml
Compose configuration.
README.md
Update documentation for new mount point
README.md
configuration file.