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

Minor install script changes #8032

Merged
merged 7 commits into from
Dec 4, 2023
Merged

Minor install script changes #8032

merged 7 commits into from
Dec 4, 2023

Conversation

gbp
Copy link
Member

@gbp gbp commented Dec 1, 2023

What does this do?

Minor install script changes

Why was this needed?

Was documenting how I was setting up a VM to test #7591 while I came across these.


[skip changelog]

gbp added 7 commits December 1, 2023 15:29
If a install upgrades Ruby re-running the install scripts will fail due
to the newer Ruby version not being present.

This happens when re-running as there would be a `config/general.yml`
file present and we're checking the `STAGING_SITE` configuration is
consistent with the install script flags.

Setting `RBENV_VERSION` to `system` uses the Debian/Ubuntu packages Ruby
to run `bin/config` to get `STAGING_SITE`.
Specify fast-forward only flag to make git happy when pulling new
commits. If a user know enough to make local changes to these repo then
they can resolve any conflicts.
Ensure Ruby is available for clean systems before we run commands which
need it.
Required for mail logging.
No need to install gem documentation. Updates default install flag for
all gems to new option.

Manually set flag when install mailcatcher as this is install in system
gems by the non-alaveteli user.
Ensure all default gems are pristine. Saves warnings running commands:
> Ignoring <GEM> because its extensions are not built
Change `all_daemons` task to return old unlisted daemons still present
on the filesystem. Useful for when we replace init.d with systemd.
@gbp gbp merged commit c17a41d into develop Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant