1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-21 13:38:56 +02:00

Merge pull request #4759 from mattermost/MM-52966_fix-ci

[MM-52996] fix server ci after renaming the project
This commit is contained in:
Saturnino Abril 2023-06-05 21:24:59 +08:00 committed by GitHub
commit 4de39798ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 56 additions and 56 deletions

View File

@ -34,16 +34,16 @@ jobs:
uses: actions/checkout@v3
continue-on-error: true
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure'
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Set up Go
uses: actions/setup-go@v3
@ -64,16 +64,16 @@ jobs:
uses: actions/checkout@v3
continue-on-error: true
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure'
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: npm ci
run: |
@ -122,16 +122,16 @@ jobs:
uses: actions/checkout@v3
continue-on-error: true
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure'
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Set up Go
@ -159,16 +159,16 @@ jobs:
uses: actions/checkout@v3
continue-on-error: true
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure'
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Set up Go

View File

@ -23,16 +23,16 @@ jobs:
uses: actions/checkout@v3
continue-on-error: true
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure'
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Replace token 1 server
@ -99,16 +99,16 @@ jobs:
uses: actions/checkout@v3
continue-on-error: true
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure'
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- 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
@ -157,16 +157,16 @@ jobs:
uses: actions/checkout@v3
continue-on-error: true
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure'
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- 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
@ -227,16 +227,16 @@ jobs:
uses: actions/checkout@v3
continue-on-error: true
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure'
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Replace token 1 server

View File

@ -38,16 +38,16 @@ jobs:
uses: actions/checkout@v3
continue-on-error: true
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure'
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- 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.50.1

View File

@ -20,16 +20,16 @@ jobs:
uses: actions/checkout@v3
continue-on-error: true
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure'
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Replace token 1 server
@ -96,16 +96,16 @@ jobs:
uses: actions/checkout@v3
continue-on-error: true
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure'
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Replace token 1 server
@ -155,16 +155,16 @@ jobs:
uses: actions/checkout@v3
continue-on-error: true
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure'
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Replace token 1 server
@ -227,16 +227,16 @@ jobs:
uses: actions/checkout@v3
continue-on-error: true
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref: ${{ env.BRANCH_NAME }}
- uses: actions/checkout@v3
if: steps.mattermostServer.outcome == 'failure'
with:
repository: "mattermost/mattermost-server"
repository: "mattermost/mattermost"
fetch-depth: "20"
path: "mattermost-server"
path: "mattermost"
ref : "b61c096497ac1f22f64b77afe58d0dd5a72b38f1"
- name: Replace token 1 server

View File

@ -44,9 +44,9 @@ func main() {
func makeGoWork(ci bool) string {
repos := map[string]string{
"../mattermost-server": "EXCLUDE_SERVER",
"../enterprise": "EXCLUDE_ENTERPRISE",
"./mattermost-plugin": "EXCLUDE_PLUGIN",
"../mattermost": "EXCLUDE_SERVER",
"../enterprise": "EXCLUDE_ENTERPRISE",
"./mattermost-plugin": "EXCLUDE_PLUGIN",
}
var b strings.Builder

View File

@ -10,7 +10,7 @@ endif
MM_SERVER_PATH ?= $(MM_SERVER_PATH:)
ifeq ($(MM_SERVER_PATH),)
MM_SERVER_PATH := ../../mattermost-server
MM_SERVER_PATH := ../../mattermost
endif