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

Install scripts #191

Merged
merged 11 commits into from
Apr 9, 2024
Merged

Install scripts #191

merged 11 commits into from
Apr 9, 2024

Conversation

ivnglkv
Copy link
Contributor

@ivnglkv ivnglkv commented Mar 27, 2024

Created installation scripts for Windows (PowerShell) and macOS/Linux (Bash). These scripts should replace long one-liners we use to start app on non-developer's machines.
Also Docker Compose files were updated thus old commands will no longer work.

Docker Compose configuration changes:

  • All managed resources are labeled so it becomes easy to uninstall them
  • MongoDB is not started in all configurations except production
  • CI has a separate override file because Docker Compose version on the GitHub Actions runner seems to be not supporting !reset instruction on service level.

Installation script basic behaviour:

  1. Cleanup old Docker resources (based on the Docker label) and files in the current directory (docker-compose.yaml, docker-compose.override.yaml, browsers.json and .env)
  2. Download required files
  3. Start application

Available configurations:

  1. Changing branch used as a source for files download.
  2. Changing Docker image tag, effectively changing the version of application being launched.
  3. Altering amount of parallel Selenoid sessions.
  4. Changing Docker Compose pull policy.
  5. Running Docker Compose in detached mode.
  6. Skipping cleanup stage.

@ivnglkv ivnglkv merged commit fc9e05b into develop Apr 9, 2024
2 checks passed
@ivnglkv ivnglkv deleted the install-scripts branch April 9, 2024 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant