Kazunori Kimura
df09358dce
README: Fix typo in note about postgresql-client
2023-06-07 22:36:52 +09:00
Kazunori Kimura
2e7102401a
README: postgresql-client-12 no longer contained
2023-06-07 22:32:26 +09:00
Steven Achilles
0807f48c95
Merge pull request #2774 from kkimurak/issue/2773-handle-db-clients-already-uninstalled
...
Fix unused client removal on restarted container
16.0.1-1
2023-06-03 23:36:39 +02:00
Kazunori Kimura
7140f0342b
Fix unused client removal on restarted container
...
Handle the case where the target does not exist
in the process of deleting unused clients.
Such a situation will not occur in newly launched containers,
but will occur if they are restarted.
During container restarts, container status are preserved.
If the unused database client was deleted in the last run,
grep will not match anything.
It returns non-zero code and the container stops there
because entrypoint sets option `-e`
(exit immediately on non-zero exit code excluding some special cases)
This commit make the uninstall process to handle the case
UNUSED_DB_CLIENTS is empty.
2023-06-02 22:12:29 +09:00
Steven Achilles
456fc76f6a
Merge pull request #2770 from sachilles/upgrade-to-16.0.1
...
[GitLab Critical Security Release] Upgrade GitLab CE to 16.0.1
16.0.1
2023-05-25 22:24:02 +02:00
Steven Achilles
5d215d6f25
Upgrade GitLab CE to 16.0.1
2023-05-25 21:05:54 +02:00
Steven Achilles
56a082244d
Merge pull request #2768 from sachilles/upgrade-to-16.0.0
...
Upgrade GitLab CE to 16.0.0
16.0.0
2023-05-25 21:02:23 +02:00
Steven Achilles
230284ebcf
Do not copy ruby by installing gitaly
2023-05-25 18:14:23 +02:00
Steven Achilles
88148ec146
Upgrade GitLab CE to 16.0.0
2023-05-25 06:44:20 +02:00
Steven Achilles
5fc732eb3c
Add new configuration options for database.yml
2023-05-25 06:44:20 +02:00
Steven Achilles
be00b11ea2
Include Postgres requirements in mail template
2023-05-25 06:44:20 +02:00
Steven Achilles
fcd5297d5d
Remove postgresql-client-12
2023-05-25 06:44:20 +02:00
Steven Achilles
1724a79bf5
Merge pull request #2767 from kkimurak/unused-pg-client-purge-instead-of-remove
...
Use `purge` instead to uninstall unused db clients
15.11.5-1
2023-05-25 06:41:44 +02:00
Kazunori Kimura
598a666693
Add -y option on uninstalling unused db client
...
Co-authored-by: Steven Achilles <steven.achilles@googlemail.com>
Co-authored-by: @f-io
2023-05-25 12:44:32 +09:00
Kazunori Kimura
24e2b581fb
Use purge instead to uninstall unused db clients
...
Instead of `remove` that does not remove actual files.
Co-authored-by: @f-io
2023-05-24 20:26:15 +09:00
Steven Achilles
b101d29c59
Merge pull request #2765 from sachilles/upgrade-to-15.11.5
...
Upgrade GitLab CE to 15.11.5
15.11.5
2023-05-23 06:13:27 +02:00
Steven Achilles
f9e3ae132e
Upgrade GitLab CE to 15.11.5
2023-05-22 22:45:04 +02:00
Steven Achilles
3275955a88
Merge pull request #2764 from sachilles/upgrade-to-15.11.4
...
Upgrade GitLab CE to 15.11.4
15.11.4
2023-05-22 22:44:19 +02:00
Steven Achilles
72aa682868
Upgrade GitLab CE to 15.11.4
2023-05-22 22:02:19 +02:00
Steven Achilles
377fb0e9ad
Merge pull request #2685 from kkimurak/install-pgsql-client-based-on-server-version
...
Use a version of `postgresql-client` that matches the server version
2023-05-22 21:55:57 +02:00
Steven Achilles
110a8d75ab
Update README.md
2023-05-22 21:14:14 +02:00
Kazunori Kimura
69d490b757
README.md: Add note for the case any version of client does not match
2023-05-23 04:07:41 +09:00
Kazunori Kimura
b736b992d6
README.md: Add description about postgresql-client switching behavior
...
Co-authored by: Steven Achilles <steven.achilles@googlemail.com>
2023-05-23 04:07:32 +09:00
Kazunori Kimura
b3b700a701
Uninstall unused postgresql-client on startup
...
Unused clients are determinate by checking ~/.postgresqlrc
Uninstall logs like the following will appear in the docker log:
- Uninstalling unused version(s) of client: postgresql-client-12
2023-05-12 06:58:11 +09:00
Kazunori Kimura
260f548c5b
Ship with multiple versions of postgresql-client
...
It is intended to work even in environments without an internet connection.
- Use latest version of pg_isready on checking database connection
- Switch postgresql-client version checking server on startup
- If the server versions do not match exactly, use the latest installed client
and warn on docker log
From postgresql documentation:
https://www.postgresql.org/docs/15/app-pgdump.html#PG-DUMP-NOTES
> Also, it is not guaranteed that pg_dump's output can be loaded
> into a server of an older major version — not even if the dump
> was taken from a server of that version.
To switch client version, generate a file ~/.postgresqlrc with content like:
{server side major version} {server hostname}:{server port} {default database}
See detail on:
https://manpages.ubuntu.com/manpages/bionic/man5/postgresqlrc.5.html
Following messages appear on docker log:
- Detected server version: 140007
- Generating /home/git/.postgresqlrc
2023-05-12 06:58:11 +09:00
Steven Achilles
d35c73ce72
Merge pull request #2760 from sachilles/upgrade-to-15.11.3
...
[GitLab Coordinated Security Release] Upgrade GitLab CE to 15.11.3
15.11.3
2023-05-11 22:28:14 +02:00
Steven Achilles
632ca2bc17
Upgrade GitLab CE to 15.11.3
2023-05-11 20:12:09 +02:00
Steven Achilles
9beb19c97f
Merge pull request #2755 from sachilles/upgrade-to-15.11.2
...
[GitLab Critical Security Release] Upgrade GitLab CE to 15.11.2
15.11.2
2023-05-05 20:45:36 +02:00
Steven Achilles
c0a2827cd2
Upgrade GitLab CE to 15.11.2
2023-05-05 17:01:23 +02:00
Steven Achilles
7597978a7e
Merge pull request #2752 from sachilles/upgrade-to-15.11.1
...
[GitLab Security Release] Upgrade GitLab CE to 15.11.1
15.11.1
2023-05-04 18:42:25 +02:00
Steven Achilles
d9e936ae1e
Upgrade GitLab CE to 15.11.1
2023-05-04 05:41:38 +02:00
Steven Achilles
441dfe6636
Merge pull request #2749 from sachilles/upgrade-to-15.11.0
...
Upgrade GitLab CE to 15.11.0
15.11.0
2023-04-23 09:00:42 +02:00
Steven Achilles
c39cb4d600
Upgrade GitLab CE to 15.11.0
2023-04-22 22:32:22 +02:00
Steven Achilles
b246586131
Merge pull request #2717 from kkimurak/fix-permission-error-on-copying-database.yml-for-building-image
...
Avoid permission error on creating config file
2023-04-21 12:10:36 +02:00
Kazunori Kimura
029186dc63
Avoid permission error on creating config file
...
`assets/build/config/database.yml.postgresql` is owned by root:root,
and permission is rwxrw----
so the user `git` (`${GILTAB_USER}`) doesn't have a permission to copy the file.
This raises an error while building.
2023-04-17 16:06:35 +09:00
Steven Achilles
a3d237b0d5
Merge pull request #2744 from sachilles/upgrade-to-15.10.3
...
Upgrade GitLab CE to 15.10.3
15.10.3
2023-04-16 21:06:31 +02:00
Steven Achilles
286b938f93
Upgrade GitLab CE to 15.10.3
2023-04-16 20:21:24 +02:00
Steven Achilles
5450187484
Merge pull request #2735 from zimmski/enable-git-protocol-2
...
Allow SSH clients to explicitly set the Git transfer protocol
2023-04-12 16:17:53 +02:00
Steven Achilles
c202c0ff3e
Merge pull request #2741 from sachilles/upgrade-to-15.10.2
...
Upgrade GitLab CE to 15.10.2
15.10.2
2023-04-07 19:24:14 +02:00
Steven Achilles
41c5afe804
Upgrade GitLab CE to 15.10.2
2023-04-07 08:45:55 +02:00
Steven Achilles
ed29aea794
Merge pull request #2737 from kkimurak/silence-supervisord-unix_http_server-warning
...
Silence "CRIT unix_http_server" warning on startup
2023-04-06 15:15:33 +02:00
Steven Achilles
5f9f5628bd
Merge pull request #2740 from sachilles/upgrade-to-15.10.1
...
[GitLab Security Release] Upgrade GitLab CE to 15.10.1
15.10.1
2023-03-31 11:39:54 +02:00
Steven Achilles
a5582d96f5
Upgrade GitLab CE to 15.10.1
2023-03-31 10:36:45 +02:00
Kazunori Kimura
95bc778ee0
Silence "CRIT unixServer" warning from supervisord
...
Silence the message like below:
CRIT Server 'unix_http_server' running without any HTTP authentication checking
Reference:
https://github.com/Supervisor/supervisor/issues/717#issuecomment-176860145
https://github.com/sameersbn/docker-redmine/commit/0fb84b9
2023-03-31 03:01:19 +09:00
Markus Zimmermann
4bfc8974ba
Allow SSH clients to explicitly set the Git transfer protocol
...
This allows to the client to explicitly select protocol version 2, which is much more efficient. Without allowing that environment variable it seems that SSH connections are always stuck in version1. See https://docs.gitlab.com/ee/administration/git_protocol.html on how to check if protocol 2 is used.
2023-03-24 11:55:42 +01:00
Steven Achilles
4ece5d46d1
Merge pull request #2734 from sachilles/upgrade-to-15.10.0
...
Upgrade GitLab CE to 15.10.0
15.10.0
2023-03-24 06:52:02 +01:00
Steven Achilles
268af66259
Upgrade GitLab CE to 15.10.0
2023-03-23 20:24:45 +01:00
Steven Achilles
5256a2d134
Merge pull request #2728 from sachilles/upgrade-to-15.9.3
...
Upgrade GitLab CE to 15.9.3
15.9.3
2023-03-13 06:52:39 +01:00
Steven Achilles
7b37de2568
Upgrade GitLab CE to 15.9.3
2023-03-13 00:30:21 +01:00
Steven Achilles
9e58a673c1
Merge pull request #2716 from kkimurak/increase-default-sidekiq-memory-killer-max-rss
...
Increase default value for SIDEKIQ_MEMORY_KILLER_MAX_RSS to 2GB
2023-03-13 00:29:03 +01:00