1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-09-16 08:56:19 +02:00

Test fixing main after mono-repo (#4669) (#4674)

This commit is contained in:
Miguel de la Cruz
2023-03-29 13:39:57 +02:00
committed by GitHub
parent 13481d4220
commit 74ad293519
4 changed files with 31 additions and 31 deletions

View File

@@ -44,7 +44,7 @@ jobs:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref : "master" ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v3 uses: actions/setup-go@v3
with: with:
@@ -74,7 +74,7 @@ jobs:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref : "master" ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: npm ci - name: npm ci
run: | run: |
cd focalboard/webapp && npm ci && cd - cd focalboard/webapp && npm ci && cd -
@@ -132,7 +132,7 @@ jobs:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref : "master" ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v3 uses: actions/setup-go@v3
@@ -169,7 +169,7 @@ jobs:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref : "master" ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v3 uses: actions/setup-go@v3

View File

@@ -8,14 +8,14 @@ on:
workflow_dispatch: workflow_dispatch:
env: env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }} BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
EXCLUDE_ENTERPRISE: true EXCLUDE_ENTERPRISE: true
jobs: jobs:
ubuntu: ubuntu:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
@@ -25,16 +25,16 @@ jobs:
continue-on-error: true continue-on-error: true
with: with:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref: ${{ env.BRANCH_NAME }} ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3 - uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure' if: steps.mattermostServer.outcome == 'failure'
with: with:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref : "master" ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Replace token 1 server - name: Replace token 1 server
run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go
@@ -101,16 +101,16 @@ jobs:
continue-on-error: true continue-on-error: true
with: with:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref: ${{ env.BRANCH_NAME }} ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3 - uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure' if: steps.mattermostServer.outcome == 'failure'
with: with:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref : "master" ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Replace token 1 server - name: Replace token 1 server
run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go
@@ -159,16 +159,16 @@ jobs:
continue-on-error: true continue-on-error: true
with: with:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref: ${{ env.BRANCH_NAME }} ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3 - uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure' if: steps.mattermostServer.outcome == 'failure'
with: with:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref : "master" ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Replace token 1 server - name: Replace token 1 server
run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go
@@ -229,16 +229,16 @@ jobs:
continue-on-error: true continue-on-error: true
with: with:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref: ${{ env.BRANCH_NAME }} ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3 - uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure' if: steps.mattermostServer.outcome == 'failure'
with: with:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref : "master" ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Replace token 1 server - name: Replace token 1 server
run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go

View File

@@ -48,7 +48,7 @@ jobs:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref : "master" ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: set up golangci-lint - name: set up golangci-lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.46.2 run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.46.2
- name: lint - name: lint

View File

@@ -21,16 +21,16 @@ jobs:
continue-on-error: true continue-on-error: true
with: with:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref: ${{ env.BRANCH_NAME }} ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3 - uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure' if: steps.mattermostServer.outcome == 'failure'
with: with:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref : "master" ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Replace token 1 server - name: Replace token 1 server
run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go
@@ -97,16 +97,16 @@ jobs:
continue-on-error: true continue-on-error: true
with: with:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref: ${{ env.BRANCH_NAME }} ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3 - uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure' if: steps.mattermostServer.outcome == 'failure'
with: with:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref : "master" ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Replace token 1 server - name: Replace token 1 server
run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go
@@ -156,16 +156,16 @@ jobs:
continue-on-error: true continue-on-error: true
with: with:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref: ${{ env.BRANCH_NAME }} ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3 - uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure' if: steps.mattermostServer.outcome == 'failure'
with: with:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref : "master" ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Replace token 1 server - name: Replace token 1 server
run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go
@@ -228,16 +228,16 @@ jobs:
continue-on-error: true continue-on-error: true
with: with:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref: ${{ env.BRANCH_NAME }} ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3 - uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure' if: steps.mattermostServer.outcome == 'failure'
with: with:
repository: "mattermost/mattermost-server" repository: "mattermost/mattermost-server"
fetch-depth: "20" fetch-depth: "20"
path: "mattermost-server" path: "mattermost-server"
ref : "master" ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Replace token 1 server - name: Replace token 1 server
run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go run: sed -i -e "s,placeholder_rudder_dataplane_url,${{ secrets.RUDDER_DATAPLANE_URL }},g" ${{ github.workspace }}/focalboard/server/services/telemetry/telemetry.go