Commit graph

38 commits

Author SHA1 Message Date
Eva Sarafianou
35a6e84338
Bump ubuntu base image version (#31819)
* Bump ubuntu base image version

* Update to Oct 2025 version

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-11-19 12:02:40 +02:00
Eva Sarafianou
0d181ca215
Push Proxy Authentication (#34211)
* Initial Implementation of Push Proxy Authentication

* Include Config Listener for Leader plus delete startup function as job scheduler runs on initialization

* Remove push proxy auth from local imports

* Add push proxy auth to external imports

* Add push proxy auth error messages

* Update error codes

* Fix enterprise dep definition

* make i18n-extract

* Mock System store Get

* m

* m

* m

* m

* Update serverID header

* Add install type env var to docker

* Update Push Proxy config with new options

Global, US, Germany and Japan. Previous configurations will keep working

* use model.SafeDereference

* Delete token when new push proxy URL is empty

* ServerID header only if auth token is available

---------

Co-authored-by: Daniel Schalla <daniel@mattermost.com>
Co-authored-by: Nick Misasi <nick.misasi@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-11-12 20:16:44 +02:00
Jesse Hallam
06b1bf3a51
MM-64878: FIPS Build (#33809)
* pin to ubuntu-24.04

* always use FIPS compatible Postgres settings

* use sha256 for remote cluster IDs

* use sha256 for client config hash

* rework S3 backend to be FIPS compatible

* skip setup-node during build, since already in container

* support FIPS builds

* Dockerfile for FIPS image, using glibc-openssl-fips

* workaround entrypoint inconsistencies

* authenticate to DockerHub

* fix FIPS_ENABLED, add test-mmctl-fips

* decouple check-mattermost-vet from test/build steps

* fixup! decouple check-mattermost-vet from test/build steps

* only build-linux-amd64 for fips

* rm entrypoint workaround

* tweak comment grammar

* rm unused Dockerfile.fips (for now)

* ignore gpg import errors, since would fail later anyway

* for fips, only make package-linux-amd64

* set FIPS_ENABLED for build step

* Add a FIPS-specific list of prepackaged plugins

Note that the names are still temporary, since they are not uploaded to
S3 yet. We may need to tweak them when that happens.

* s/golangci-lint/check-style/

This ensures we run all the `check-style` checks: previously,
`modernize` was missing.

* pin go-vet to @v2, remove annoying comment

* add -fips to linux-amd64.tz.gz package

* rm unused setup-chainctl

* use BUILD_TYPE_NAME instead

* mv fips build to enterprise-only

* fixup! use BUILD_TYPE_NAME instead

* temporarily pre-package no plugins for FIPS

* split package-cleanup

* undo package-cleanup, just skip ARM, also test

* skip arm for FIPS in second target too

* fmt Makefile

* Revert "rm unused Dockerfile.fips (for now)"

This reverts commit 601e37e0ff.

* reintroduce Dockerfile.fips and align with existing Dockerfile

* s/IMAGE/BUILD_IMAGE/

* bump the glibc-openssl-fips version

* rm redundant comment

* fix FIPS checks

* set PLUGIN_PACKAGES empty until prepackaged plugins ready

* upgrade glibc-openssl-fips, use non-dev version for final stage

* another BUILD_IMAGE case

* Prepackage the FIPS versions of plugins

* relocate FIPS_ENABLED initialization before use

* s/Config File MD5/Config File Hash/

* Update the FIPS plugin names and encode the + sign

* add /var/tmp for local socket manipulation

---------

Co-authored-by: Alejandro García Montoro <alejandro.garciamontoro@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-09-15 10:53:28 -03:00
Eva Sarafianou
02c65e9869
Fix PostgreSQL SSL connection issue with sslmode=require in distroless images (#33523)
* Copy CA certificates to distroless

* Change home directory

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-07-23 11:01:50 +03:00
Eva Sarafianou
0a7be9f034
Move from ubuntu to distroless image (#31136)
* Move from ubuntu to distroless image

* Update updated ubunty image for first stage

* Update server/build/Dockerfile

Co-authored-by: Daniel Schalla <daniel@mattermost.com>

* Update server/build/Dockerfile

Co-authored-by: Daniel Schalla <daniel@mattermost.com>

* Add mising env var for health check

* Add mattermost user in /etc/passwd

* Fix e2e userId

* use cypress in place of server. Wget and not curl

* Simplify e2e changes

---------

Co-authored-by: Daniel Schalla <daniel@mattermost.com>
2025-06-03 20:52:13 +03:00
Mario Vitale
88bbc9dcb8
Bump base image to Ubuntu 24 (#27729)
* Bump base image to Ubuntu 24

* Fix Noble dependencies

* Fix docker image build

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-07-25 14:23:37 +02:00
Antonis Stamatiou
fae7aa79fc
fix: Remove version dependency from Dockerfile (#26812) 2024-04-17 15:19:59 +03:00
mattermod
9abdc7a933 Update latest version to 9.7.1 2024-04-17 06:11:42 +00:00
mattermod
b6da56e44d Update latest version to 9.6.1 2024-03-27 18:37:17 +00:00
mattermod
52a900aeea Update latest version to 9.6.0 2024-03-22 19:17:26 +00:00
mattermod
19c1165117 Update latest version to 9.5.2 2024-03-07 12:17:08 +00:00
mattermod
97479800c2 Update latest version to 9.5.1 2024-02-19 14:43:00 +00:00
mattermod
ed82ca8d11 Update latest version to 9.4.2 2024-01-31 09:16:46 +00:00
mattermod
b668c9b048 Update latest version to 9.4.1 2024-01-22 07:41:42 +00:00
mattermod
bb9c695c1b Update latest version to 9.3.0 2023-12-14 17:01:02 +00:00
mattermod
a7f8347f01 Update latest version to 9.2.3 2023-11-30 18:36:28 +00:00
mattermod
bd1c0b7a20 Update latest version to 9.2.2 2023-11-16 14:15:48 +00:00
mattermod
45d6fb122f Update latest version to 9.1.2 2023-11-07 07:36:55 +00:00
mattermod
ba335b4025 Update latest version to 9.1.1 2023-10-31 16:14:24 +00:00
Antonis Stamatiou
f01e8f6c6d
[CLD-6501] Enhance visibility for PR builds artefacts (#25141)
Co-authored-by: Akis Maziotis <akis.maziotis@mattermost.com>
2023-10-25 18:22:15 +03:00
mattermod
2cdf2aaff8 Update latest version to 9.1.0 2023-10-16 15:02:56 +00:00
mattermod
22686de81d Update latest version to 9.0.1 2023-10-13 12:28:43 +00:00
mattermod
d5c497d7c9 Update latest version to 9.0.0 2023-09-27 07:00:39 +00:00
mattermod
1ef935c5c8 Update latest version to 8.1.2 2023-09-13 13:00:09 +00:00
mattermod
1fb8772ef9 Update latest version to 8.1.1 2023-09-05 17:03:02 +00:00
mattermod
ab542c4dff Update latest version to 8.1.0 2023-08-28 07:22:30 +00:00
mattermod
d7697f3b39 Update latest version to 8.0.1 2023-07-27 11:56:22 +00:00
3kami3
5b3833839e
Fixed missing zoneinfo (#23759) (#23760)
* added tzdata
* set noninteractive installation

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-07-25 17:32:49 +02:00
mattermod
62495f16bd Update latest version to 8.0.0 2023-07-18 08:19:15 +00:00
mattermod
1f235ba064 Update latest version to 7.10.4 2023-07-13 10:19:19 +00:00
mattermod
fcf7acdefa Update latest version to 7.10.3 2023-06-21 13:53:32 +00:00
mattermod
60e6794554 Update latest version to 7.10.2 2023-05-19 07:49:39 +00:00
mattermod
f48f979e1b Update latest version to 7.10.1 2023-05-17 17:44:15 +00:00
Daniel Schalla
826f6e561a
Update DockerFile to Ubuntu LTS Base Image (#22987)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-25 14:59:31 +02:00
Spiros Economakis
bf4555a223
Bump libucrl gnutls to 7.64.0-4+deb10u6 (#23084)
The pin to previous version fails with not found.

Ticket: https://mattermost.atlassian.net/browse/CLD-5582
2023-04-24 09:36:51 -06:00
mattermod
5e52b8a50e Update latest version to 7.10.0 2023-04-19 09:48:29 +00:00
mattermod
a8d79ec3da Update latest version to 7.9.2 2023-04-18 10:18:55 +00:00
Doug Lauder
c943ed6859
Mono repo -> Master (#22553)
Combines the following repositories into one:

https://github.com/mattermost/mattermost-server
https://github.com/mattermost/mattermost-webapp
https://github.com/mattermost/focalboard
https://github.com/mattermost/mattermost-plugin-playbooks
2023-03-22 17:22:27 -04:00
Renamed from build/Dockerfile (Browse further)