UNCLASSIFIED

SSH ACCESS HAS BEEN DISABLED - please see login page for more information!

Commit d8fd931f authored by sean.melissari's avatar sean.melissari

Merge branch '5.23.1-update' into 'development'

Updating to version 5.23.1

See merge request !11
parents 46cc5b32 832d372f
Pipeline #23083 passed with stage
###############################################################
# Default registry variables
ARG BASE_REGISTRY=registry.access.redhat.com
ARG BASE_IMAGE=ubi8
ARG BASE_REGISTRY=nexus-docker-secure.levelup-dev.io
ARG BASE_IMAGE=redhat/ubi/ubi8
ARG BASE_TAG=8.2
###############################################################
ARG ENTRY_SCRIPT=scripts/entrypoint.sh
ARG JQ_LINUX_BIN=jq-linux64
###############################################################
# Copy the mattermost-team-edition tar and entrypoint script to base image
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
RUN yum -y update && yum -y upgrade
COPY mattermost-5.23.1-linux-amd64.tar.gz scripts/entrypoint.sh jq-linux64 /
COPY mattermost-5.22.2-linux-amd64.tar.gz scripts/entrypoint.sh jq-linux64 /
###############################################################
ENV PATH="/mattermost/bin:${PATH}"
###############################################################
# Create the Mattermost storage directory.
# The storage directory will contain all the files and images that
# your users post to Mattermost, so you need to make sure that the
# drive is large enough to hold the anticipated number of uploaded files and images.
# Then, add config file and install jq-linux.
RUN tar -xvzf mattermost-5.22.2-linux-amd64.tar.gz && \
rm -f mattermost-5.22.2-linux-amd64.tar.gz && \
RUN tar -xvzf mattermost-5.23.1-linux-amd64.tar.gz && \
rm -f mattermost-5.23.1-linux-amd64.tar.gz && \
chmod +x /entrypoint.sh && \
mkdir -p /mattermost/data /mattermost/plugins /mattermost/client/plugins && \
cp /mattermost/config/config.json /config.json.save && \
rm -rf /mattermost/config/config.json && \
useradd --system --user-group mattermost && \
groupadd --system --gid=2000 mattermost && \
useradd --system --uid=2000 --gid=2000 mattermost && \
chown -R mattermost:mattermost /mattermost /config.json.save /mattermost/plugins /mattermost/client/plugins && \
mv jq-linux64 /tmp/jq-linux64 && \
cp /tmp/jq-linux64 /usr/bin/jq && \
chmod +x /usr/bin/jq && \
rm -f /tmp/jq-release.key && \
rm -f /tmp/jq-linux64.asc && \
rm -f /tmp/jq-linux64
################################################################################
rm -f /tmp/jq-linux64 && \
dnf upgrade -y && \
dnf clean all && \
rm -rf /var/cache/dnf
USER mattermost
################################################################################
# Healthcheck
HEALTHCHECK --interval=5m --timeout=3s \
CMD curl -f http://localhost:8065/api/v4/system/ping || exit 1
################################################################################
ENTRYPOINT ["/entrypoint.sh"]
WORKDIR /mattermost
CMD ["mattermost"]
# Expose the following ports:
EXPOSE 8065 8067 8074 8075
# Declare volumes for mount point directories
VOLUME ["/mattermost/data", "/mattermost/logs", "/mattermost/config", "/mattermost/plugins", "/mattermost/client/plugins"]
@Library('DCCSCR@master') _
dccscrPipeline(version: "5.22.2")
dccscrPipeline(version: "5.23.1")
# Mattermost Enterprise
Enterprise Edition
Version 5.22.2
Version 5.23.1
This project is for those who are looking to use the Mattermost Enterprise
Edition, which has features that the Team Edition does not. If you are looking
......@@ -8,6 +8,10 @@ for the Mattermost Team Edition project, it is located here:
https://repo1.dsop.io/dsop/opensource/mattermost/mattermost-team-edition.
To deploy Mattermost using the hardened Mattermost Operator in Iron Bank, utilize the container found here:
https://ironbank.dsop.io/repomap/opensource/mattermost/mattermost-operator
## Notes
Adapted from https://github.com/mattermost/mattermost-docker. This repository
contains files which you can use if you wish to follow a Docker-based
......
{
"resources": [
{ "url" : "https://releases.mattermost.com/5.22.2/mattermost-5.22.2-linux-amd64.tar.gz",
"filename": "mattermost-5.22.2-linux-amd64.tar.gz",
"validation": {
"type": "sha256",
"value": "479a7a7be6fa70ace325acabf0d395dccdfe1065050b81c8b38dd0ef76cc7532"
}
},
{ "url" : "https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64",
"filename": "jq-linux64",
"validation": {
"type": "sha256",
"value": "af986793a515d500ab2d35f8d2aecd656e764504b789b66d7e1a0b727a124c44"
}
}
]
}
---
resources:
- url: https://releases.mattermost.com/5.23.1/mattermost-5.23.1-linux-amd64.tar.gz
filename: mattermost-5.23.1-linux-amd64.tar.gz
validation:
type: sha256
value: 406238c445c35ba61f948dc9678b86d67334c171a71438b6f5982664b92d4ba4
- url: https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
filename: jq-linux64
validation:
type: sha256
value: af986793a515d500ab2d35f8d2aecd656e764504b789b66d7e1a0b727a124c44
  • Pipeline Status: SUCCESS
    Branch: development

    graph LR
      0([setup]):::INTERNAL_SUCCESS --> 1([Import Artifacts]):::SUCCESS --> 2((/)):::INTERNAL_SUCCESS --> 3([Stage Artifacts]):::SUCCESS --> 4((/)):::INTERNAL_SUCCESS --> 5([Build]):::SUCCESS --> 6([Publish, Scan & Report]):::INTERNAL_NOT_BUILT
    
    classDef SUCCESS font-size:10px
    classDef FAILURE fill:#f44, font-size:10px
    classDef SKIPPED font-size:10px
    classDef ABORTED fill:#889, font-size:10px
    classDef INTERNAL_SUCCESS font-size:10px, stroke-dasharray: 2, 1
    classDef INTERNAL_FAILURE fill:#f44, font-size:10px, stroke-dasharray: 2, 1
    classDef INTERNAL_SKIPPED font-size:10px, stroke-dasharray: 2, 1
    classDef INTERNAL_ABORTED fill:#889, font-size:10px, stroke-dasharray: 2, 1
    
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment