CLD-5835 - Do not use the mattermost-build-webapp image from ECR (#23748)
* Only use mattermostdevelopment images * Fix docker mirroring workflow * Reenable insights feature for E2E tests
Этот коммит содержится в:
2
.github/workflows/docker-push-mirrored.yml
поставляемый
2
.github/workflows/docker-push-mirrored.yml
поставляемый
@@ -12,6 +12,8 @@ jobs:
|
|||||||
name: cd/Push mirrored docker images
|
name: cd/Push mirrored docker images
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout mattermost project
|
||||||
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
|
||||||
- name: cd/Login to Docker Hub
|
- name: cd/Login to Docker Hub
|
||||||
uses: docker/login-action@3da7dc6e2b31f99ef2cb9fb4c50fb0971e0d0139 # v2.1.0
|
uses: docker/login-action@3da7dc6e2b31f99ef2cb9fb4c50fb0971e0d0139 # v2.1.0
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ version: '3.1'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
dashboard:
|
dashboard:
|
||||||
image: node:16.17.0
|
image: mattermostdevelopment/mirrored-node:16.17.0
|
||||||
environment:
|
environment:
|
||||||
PG_URI: postgres://mmuser:mostest@db:5432/automation_dashboard_db
|
PG_URI: postgres://mmuser:mostest@db:5432/automation_dashboard_db
|
||||||
JWT_SECRET: s8gGBA3ujKRohSw1L8HLOY7Jjnu2ZYv8 # Generated with e.g. `dd if=/dev/urandom count=24 bs=1 2>/dev/null | base64 -w0`
|
JWT_SECRET: s8gGBA3ujKRohSw1L8HLOY7Jjnu2ZYv8 # Generated with e.g. `dd if=/dev/urandom count=24 bs=1 2>/dev/null | base64 -w0`
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ services:
|
|||||||
MM_SERVICESETTINGS_ENABLEONBOARDINGFLOW: "false"
|
MM_SERVICESETTINGS_ENABLEONBOARDINGFLOW: "false"
|
||||||
MM_FEATUREFLAGS_ONBOARDINGTOURTIPS: "false"
|
MM_FEATUREFLAGS_ONBOARDINGTOURTIPS: "false"
|
||||||
MM_SERVICEENVIRONMENT: "test"
|
MM_SERVICEENVIRONMENT: "test"
|
||||||
|
MM_FEATUREFLAGS_INSIGHTSENABLED: "true"
|
||||||
volumes:
|
volumes:
|
||||||
- "server-config:/mattermost/config"
|
- "server-config:/mattermost/config"
|
||||||
ports:
|
ports:
|
||||||
@@ -54,7 +55,7 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
||||||
webhook-interactions:
|
webhook-interactions:
|
||||||
image: public.ecr.aws/q3m3k0p4/mattermost-build-webapp:20220802_node-16.10.0
|
image: mattermostdevelopment/mirrored-node:16.10.0
|
||||||
command: sh -c "npm install -g axios express client-oauth2@larkox/js-client-oauth2#e24e2eb5dfcbbbb3a59d095e831dbe0012b0ac49 && exec node webhook_serve.js"
|
command: sh -c "npm install -g axios express client-oauth2@larkox/js-client-oauth2#e24e2eb5dfcbbbb3a59d095e831dbe0012b0ac49 && exec node webhook_serve.js"
|
||||||
environment:
|
environment:
|
||||||
NODE_PATH: /usr/local/lib/node_modules/
|
NODE_PATH: /usr/local/lib/node_modules/
|
||||||
|
|||||||
@@ -32,5 +32,9 @@
|
|||||||
},
|
},
|
||||||
"golang": {
|
"golang": {
|
||||||
"1.19.5": "golang:1.19.5@sha256:bb9811fad43a7d6fd2173248d8331b2dcf5ac9af20976b1937ecd214c5b8c383"
|
"1.19.5": "golang:1.19.5@sha256:bb9811fad43a7d6fd2173248d8331b2dcf5ac9af20976b1937ecd214c5b8c383"
|
||||||
|
},
|
||||||
|
"node": {
|
||||||
|
"16.10.0": "node:16.10.0",
|
||||||
|
"16.17.0": "node:16.17.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user