zulip/tools/ci
Lalit 112df91fbd provision: Do not require that no other yarn precedes us in $PATH.
`check_version` in `install-yarn` had the rather careful check that
the yarn it installed into `/usr/bin/yarn` was the yarn which was
first in the user's `$PATH`.  This caused problems when the user had a
pre-existing `/usr/local/bin/yarn`; however, those problems are
limited to the `install-yarn` script itself, since the nearly all
calls to yarn from Zulip's code already hardcode the `/srv/zulip-yarn`
location, and do not depend on what is in `$PATH`.

Remove the checks in `install-yarn` that depend on the local `$PATH`,
and stop installing our `yarn` into it.  We also adjust the two
callsites which did not specify the full path to `yarn`, so use
`/srv/zulip-yarn`.

Fixes: #23993

Co-authored-by: Alex Vandiver <alexmv@zulip.com>
2023-01-19 17:51:52 -05:00
..
.gitattributes install: Replace wget with curl. 2021-06-25 09:05:07 -07:00
Dockerfile ci: Do not pre-install rabbitmq-server in Docker images. 2022-10-25 14:53:32 -04:00
Dockerfile.prod scripts: Pass --retry 3 to curl. 2022-11-08 08:07:36 -08:00
activate-venv Use #!/usr/bin/env for bash shebangs. 2018-12-17 17:21:08 -08:00
build-docker-images ci: Test upgrades from the minimum of each major version, not the max. 2022-07-16 10:43:40 -07:00
check-executables ci: Check that non-scripts aren’t marked executable. 2022-12-07 09:54:01 -08:00
generate-failure-message tools: Reimplement CI failure script without using CircleCI endpoint. 2022-12-05 14:33:15 -05:00
production-build provision: Do not require that no other yarn precedes us in $PATH. 2023-01-19 17:51:52 -05:00
production-install ci: Remove references to CircleCI, which we no longer use. 2022-07-16 10:43:40 -07:00
production-pgroonga ci: Test pgroonga installation. 2021-11-20 07:13:50 -08:00
production-upgrade ci: Do not pre-install rabbitmq-server in Docker images. 2022-10-25 14:53:32 -04:00
production-upgrade-pg ci: Unpack installation tarball under /root/. 2021-05-14 14:31:00 -07:00
production-verify ci: Remove references to CircleCI, which we no longer use. 2022-07-16 10:43:40 -07:00
setup-backend ci: Remove 2>&1 redirection. 2021-03-29 14:52:06 -07:00
setup-frontend
success-http-headers.template.txt nginx: Remove legacy X-XSS-Protection header. 2022-06-27 17:38:18 -07:00