mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-24 13:43:12 +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:
commit
4de39798ab
32
.github/workflows/ci.yml
vendored
32
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
32
.github/workflows/dev-release.yml
vendored
32
.github/workflows/dev-release.yml
vendored
@ -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
|
||||
|
8
.github/workflows/lint-server.yml
vendored
8
.github/workflows/lint-server.yml
vendored
@ -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
|
||||
|
32
.github/workflows/prod-release.yml
vendored
32
.github/workflows/prod-release.yml
vendored
@ -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
|
||||
|
@ -44,7 +44,7 @@ func main() {
|
||||
|
||||
func makeGoWork(ci bool) string {
|
||||
repos := map[string]string{
|
||||
"../mattermost-server": "EXCLUDE_SERVER",
|
||||
"../mattermost": "EXCLUDE_SERVER",
|
||||
"../enterprise": "EXCLUDE_ENTERPRISE",
|
||||
"./mattermost-plugin": "EXCLUDE_PLUGIN",
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user