22 Commits

Author SHA1 Message Date
Amin Vakil
0f606d28b8
Set minimum bash version to 4.4.0 (#3873) 2025-08-14 11:41:49 +00:00
Daniel Bunte
abe34d09ed
feat(install): Adds support for podman(compose) (#3673) 2025-07-22 13:58:07 +00:00
Brett Higgins
979f219355
Fix unbound variable error in install script (#3601) 2025-03-06 10:46:16 +00:00
Amin Vakil
d885dd331f
Use docker-compose if version is gte docker compose (#3595)
Fixes #3587 

This PR tries to use docker-compose if its version is greater than docker compose.
2025-03-03 13:16:31 +00:00
Hubert Deng
b6de547e45
Mandate minimum requirements for ram/cpu (#3275) 2024-08-17 12:26:50 -07:00
Benedikt Franke
ec4f416c26
Reference paths relative to project root (#1800)
* Reference paths relative to the current script or project root

Before this PR:
- some scripts change the current working directory and use relative paths
- different approaches are taken to know which directory a script is running in
- paths are sometimes relative, sometimes absolute, sometimes traversing directories

After this PR:
- scripts do neither change nor care much about the current working directory
- a unified approach determines the directory of the current script
- paths are always relative to the project root

This should resolve an issue I already tried to fix with https://github.com/getsentry/self-hosted/pull/1798,
where the contents of `./sentry` were not copied
into the built container image,
thus `enhance-image.sh` did not apply.

Co-authored-by: Amin Vakil <info@aminvakil.com>
2023-02-17 09:59:48 -08:00
Owain Jones
fcf0d3599b
Add --skip-sse42-requirements to install.sh and enable SKIP_SSE42_REQUIREMENTS override (#1790)
Not all environments are KVM, and not all virtualized CPUs show SSE4.2 support even if they do support it. This adds an escape hatch if you know what you are doing.
2022-12-07 18:46:39 -08:00
Ethan Smith
6b9306a17c
Add pre-commit config (#1738) 2022-10-21 13:46:35 -07:00
Hubert Deng
1920b23d7d
Check to see if docker compose exists, else error out (#1733)
* check to see if docker compose exists

* add check for docker version command doesn't error out

* clean up exception handling of docker commands

* merge master
2022-10-04 15:09:20 -07:00
Hubert Deng
202742c98b
Fix minimum version requirements for docker and docker compose (#1732)
* echo return code to be used in version comparison

* use the not flag to correctly use vergte to compare versions

* include -eq 1 in version matching
2022-10-03 13:54:09 -07:00
Ethan Smith
eb4d70995b
ref: use sort -V to check minimum versions (#1553) 2022-07-12 12:37:28 -07:00
Chad Whitacre
ddbf7cd2d0
Add ARM support (#1538)
Co-authored-by: Ethan Smith <ethan.smith@sentry.io>
2022-07-08 19:03:52 -07:00
Ethan Smith
e028a5ed52
ref: Replace regex with --short flag to get compose version (#1551)
This flag works all the way back to compose 1.4, when the version argument was introduced.
2022-06-30 13:38:59 -07:00
asottile-sentry
9bd7766dff
fix: replace git.io links with redirect targets (#1430)
see: https://github.blog/changelog/2022-04-25-git-io-deprecation/

Committed via https://github.com/asottile/all-repos
2022-04-26 15:11:07 +00:00
Chad Whitacre
e0a1d0dc77
Improve logging of docker versions and relay creds (#1298) 2022-02-04 17:05:53 -05:00
Chad Whitacre
459323354e
Do more migrating to Docker Compose v2 (#1179) 2021-11-30 16:55:56 -05:00
Burak Yigit Kaya
4c810a5daa
fix: Hide compose errors during version check (#1124)
We get `docker: 'compose' is not a docker command.` on the console when we are checking for `docker compose` availability. This PR hides these messages.
2021-10-20 13:44:35 -04:00
EricsonMacedo
78a5c3cb87
feat: Support docker compose CLI (#1116)
Check if docker compose v2, CLI, is available and get semantic version
from it, or fallback to get semantic version out of docker-compose v1
when checking minimum requirements during install.sh script

Fixes #962
2021-10-15 21:21:19 +03:00
Burak Yigit Kaya
7b96408734
fix(requirements): Make compose version check bw-compatible (#1068)
Refs #1062.
2021-08-18 16:43:39 -04:00
Burak Yigit Kaya
497759c1e8
ci: Test with the required minimum docker-compose (#1066)
Refs #1061, refs #1062, refs #1063.
2021-08-18 11:35:21 -04:00
Burak Yigit Kaya
76c33bbbe7
upgrade: use --ansi never for docker-compose (#1051)
Starting from `docker-compose` v1.28.0, the `--no-ansi` option is deprecated and a new, `--ansi never` option is introduced instead. This PR makes the deprecation warnings around this go away but bumps the minimum docker-compose version required to `1.28.0` as the older versions don't support the new option.
2021-08-05 13:06:24 +03:00
Chad Whitacre
a0a86e400f
Finish the refactor (#908) 2021-03-30 10:23:49 -04:00