This is an automated email from the ASF dual-hosted git repository.
casion pushed a commit to branch dev-1.3.2-action
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git
The following commit(s) were added to refs/heads/dev-1.3.2-action by this push:
new 430767af0 publish-snapshot.yml
430767af0 is described below
commit 430767af087913c4af17e62392b6ebcb2e7a6724
Author: casionone <[email protected]>
AuthorDate: Fri Dec 23 21:06:48 2022 +0800
publish-snapshot.yml
---
.github/workflows/auto-comment.yml | 55 -------------
.github/workflows/auto-format-pr.yaml | 69 ----------------
.github/workflows/build-backend.yml | 43 ----------
.github/workflows/build-frontend.yml | 53 ------------
.github/workflows/check-code-format.yml | 35 --------
.github/workflows/check-license.yml | 42 ----------
.github/workflows/check-sql-script.yml | 50 ------------
.../workflows/check-third-party-dependencies.yml | 56 -------------
.github/workflows/codeql-analysis.yml | 66 ---------------
.github/workflows/dead-link-checker.yaml | 35 --------
.github/workflows/dlc.json | 19 -----
.github/workflows/publish-docker.yaml | 95 ----------------------
.github/workflows/publish-snapshot.yml | 10 +--
13 files changed, 5 insertions(+), 623 deletions(-)
diff --git a/.github/workflows/auto-comment.yml
b/.github/workflows/auto-comment.yml
deleted file mode 100644
index 70cd679fa..000000000
--- a/.github/workflows/auto-comment.yml
+++ /dev/null
@@ -1,55 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-name: Create Comment
-
-on:
- issues:
- types: [opened]
-
-jobs:
- create-comment:
- runs-on: ubuntu-latest
- steps:
- - name: Create comment
- uses: actions-cool/issues-helper@v3
- with:
- actions: 'create-comment'
- token: ${{ secrets.GITHUB_TOKEN }}
- issue-number: ${{ github.event.issue.number }}
- body: |
- ## :blush: Welcome to the Apache Linkis (incubating) community!!
- We are glad that you are contributing by opening this issue.
-
- Please make sure to include all the relevant context.
- We will be here shortly.
-
- If you are interested in contributing to our website project,
please let us know!
- You can check out our contributing guide on
- :point_right: [How to Participate in Project
Contribution](https://linkis.apache.org/community/how-to-contribute).
-
-
- ### Community
-
- |WeChat Assistant|WeChat Public Account|
- |-|-|
- |<img
src="https://linkis.apache.org/Images/wedatasphere_contact_01.png"
width="128"/>|<img src="https://linkis.apache.org/Images/gzh_01.png"
width="128"/>|
-
-
- ### Mailing Lists
- |Name|Description|Subscribe|Unsubscribe|Archive|
- |:-----|:--------|:------|:-------|:-----|
- | [[email protected]](mailto:[email protected]) |
community activity information |
[subscribe](mailto:[email protected]) |
[unsubscribe](mailto:[email protected]) |
[archive](http://mail-archives.apache.org/mod_mbox/linkis-dev) |
diff --git a/.github/workflows/auto-format-pr.yaml
b/.github/workflows/auto-format-pr.yaml
deleted file mode 100644
index 301d91c76..000000000
--- a/.github/workflows/auto-format-pr.yaml
+++ /dev/null
@@ -1,69 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-name: Create Code Format Apply PullRequest
-
-on:
- pull_request:
- branches: [dev,dev-*]
- types: [closed]
-
-jobs:
- auto-code-format:
- if: ${{ startsWith(github.repository, 'apache/') }}
-
- runs-on: ubuntu-latest
- env:
- BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
- SHA: ${{ github.sha }}
-
- steps:
-
- - name: Checkout
- uses: actions/checkout@v3
- if: github.event_name == 'pull_request' && github.event.action ==
'closed' && github.event.pull_request.merged == true
-
- - name: Set up JDK 8
- uses: actions/setup-java@v2
- with:
- java-version: '8'
- distribution: 'adopt'
-
- - name: Code Format Apply
- run:
- ./mvnw spotless:apply
-
- - name: Create Pull Request
- uses: peter-evans/[email protected]
- with:
- token: ${{ secrets.GITHUB_TOKEN }}
- branch: ${{ env.BRANCH_NAME }}-${{ env.SHA }}
- base: ${{ env.BRANCH_NAME }}
- commit-message: code format apply
- committer: GitHub <[email protected]>
- author: ${{ github.actor }} <${{ github.actor
}}@users.noreply.github.com>
- signoff: false
- delete-branch: true
-
- title: '[Code] Code format apply'
- body: |
- ## Code format apply
- - run the result of mvn spotless:apply
-
- labels: |
- code format
- automated pr
diff --git a/.github/workflows/build-backend.yml
b/.github/workflows/build-backend.yml
deleted file mode 100644
index 563fe37d6..000000000
--- a/.github/workflows/build-backend.yml
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-name: Build Backend
-
-on: [push, pull_request]
-
-env:
- MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
-Dmaven.wagon.http.retryHandler.class=standard
-Dmaven.wagon.http.retryHandler.count=3
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
-
-jobs:
- build-backend:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- - name: Set up JDK 8
- uses: actions/setup-java@v2
- with:
- distribution: 'adopt'
- java-version: 8
- - name: Build backend by maven
- run:
- ./mvnw clean package
-# - name: Upload coverage to Codecov
-# uses: codecov/[email protected]
-# with:
-# token: ${{ secrets.CODECOV_TOKEN }}
diff --git a/.github/workflows/build-frontend.yml
b/.github/workflows/build-frontend.yml
deleted file mode 100644
index 210cce095..000000000
--- a/.github/workflows/build-frontend.yml
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-name: Build Frontend
-
-on: [push, pull_request]
-
-
-jobs:
- build-frontend:
- runs-on: ubuntu-latest
-
- strategy:
- matrix:
- node-version: [14]
- # See supported Node.js release schedule at
https://nodejs.org/en/about/releases/
-
- steps:
- - uses: actions/checkout@v2
- with:
- submodules: true
-
- - uses: actions/cache@v2
- with:
- path: ~/.npm
- key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
- restore-keys: |
- ${{ runner.os }}-node-
-
- - name: Set Up NodeJS ${{ matrix.node-version }}
- uses: actions/setup-node@v2-beta
- with:
- node-version: ${{ matrix.node-version }}
-
- - name: Build frontend by node.js
- run: |
- cd linkis-web
- npm install
- npm run build
diff --git a/.github/workflows/check-code-format.yml
b/.github/workflows/check-code-format.yml
deleted file mode 100644
index 0323eb980..000000000
--- a/.github/workflows/check-code-format.yml
+++ /dev/null
@@ -1,35 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-name: Code Format Check
-
-on: [push, pull_request]
-
-jobs:
- spotless-check:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout source
- uses: actions/checkout@v2
- - name: Set up JDK 8
- uses: actions/setup-java@v2
- with:
- java-version: '8'
- distribution: 'adopt'
- - name: Code format check
- run:
- ./mvnw spotless:check
diff --git a/.github/workflows/check-license.yml
b/.github/workflows/check-license.yml
deleted file mode 100644
index 3c79607dc..000000000
--- a/.github/workflows/check-license.yml
+++ /dev/null
@@ -1,42 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-name: License Check
-
-on: [push, pull_request]
-
-jobs:
- apache-rat-check:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout source
- uses: actions/checkout@v2
- - name: Set up JDK 8
- uses: actions/setup-java@v2
- with:
- java-version: '8'
- distribution: 'adopt'
- - name: License check with Maven
- run: |
- rat_file=`mvn apache-rat:check | { grep -oe "\\S\\+/rat.txt" ||
true; }`
- echo "rat_file=$rat_file"
- if [[ -n "$rat_file" ]];then echo "check error!" && cat $rat_file
&& exit 123;else echo "check success!" ;fi
- - name: Upload the report
- uses: actions/upload-artifact@v2
- with:
- name: license-check-report
- path: "**/target/rat.txt"
diff --git a/.github/workflows/check-sql-script.yml
b/.github/workflows/check-sql-script.yml
deleted file mode 100644
index ec965372b..000000000
--- a/.github/workflows/check-sql-script.yml
+++ /dev/null
@@ -1,50 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-name: Sql Script Check
-
-on: [push, pull_request]
-
-jobs:
- sql-check:
- runs-on: ubuntu-latest
- services:
- mysql:
- image: mysql:5.7
- env:
- MYSQL_ROOT_PASSWORD: password
- ports:
- - 32574:3306
- options: --health-cmd="mysqladmin ping" --health-interval=10s
--health-timeout=5s --health-retries=3
- steps:
- - name: Checkout source
- uses: actions/checkout@v2
-
- - name: Verify linkis init sql
- run: |
- sudo apt-get install -y mysql-client
-
- config="--host 127.0.0.1 --port 32574 -uroot -ppassword
--default-character-set=utf8"
- MYSQL_DB=linkis_test
-
- mysql --host 127.0.0.1 --port 32574 -uroot -ppassword -e "SHOW
DATABASES"
- mysql $config -e "CREATE DATABASE IF NOT EXISTS $MYSQL_DB DEFAULT
CHARSET utf8 COLLATE utf8_general_ci;"
- mysql $config -D$MYSQL_DB -e "source
./linkis-dist/package/db/linkis_ddl.sql"
- mysql $config -D$MYSQL_DB -e "source
./linkis-dist/package/db/linkis_dml.sql"
- mysql $config -D$MYSQL_DB -e "show tables"
-
-
diff --git a/.github/workflows/check-third-party-dependencies.yml
b/.github/workflows/check-third-party-dependencies.yml
deleted file mode 100644
index 8c0731388..000000000
--- a/.github/workflows/check-third-party-dependencies.yml
+++ /dev/null
@@ -1,56 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-name: Third-party Dependencies Check
-
-on: [push, pull_request]
-
-env:
- MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
-Dmaven.wagon.http.retryHandler.class=standard
-Dmaven.wagon.http.retryHandler.count=3
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
-
-jobs:
- third-party-dependencies-check-:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout source
- uses: actions/checkout@v2
- - name: Set up JDK 8
- uses: actions/setup-java@v2
- with:
- java-version: '8'
- distribution: 'adopt'
- - name: mvn install
- run:
- #pom.xml also introduce linkis related jar,so run mvn install in
first time
- ./mvnw install -Dmaven.test.skip=true -Dmaven.javadoc.skip=true
- - name: mvn dependency:copy-dependencies
- run:
- ./mvnw dependency:copy-dependencies -DincludeScope=runtime
-DoutputDirectory=${{ github.workspace }}/current_dependencies
- - name: generate current_dependencies.txt
- run: |
- ls ${{ github.workspace }}/current_dependencies |egrep -v "^linkis"
|sort > ~/current_dependencies.txt
- cat ~/current_dependencies.txt
- - name: check third dependencies
- run: |
- #by using commond join ,to check whether there are new third-party
dependencies,compared with file(tool/dependencies/known-dependencies.txt)
- sort ${{ github.workspace
}}/tool/dependencies/known-dependencies.txt > ~/known-dependencies.txt
- join -t : -o 1.1 2.1 -a2 ~/known-dependencies.txt
~/current_dependencies.txt > ~/result.txt
- #print new third-party dependencies name if it exists
- awk -F ":" '{if($1=="")print $2" is not in file
known-dependencies.txt!\n You can refer to this guide to repair
it(你可以参考这个执行进行修复):https://linkis.apache.org/zh-CN/community/development-specification/license"}'
~/result.txt
- result=`awk -F ":" '{if($1=="")print $2}' ~/result.txt |wc -l`
- #if has new third-party,the Action will fail
- if [[ $result == 0 ]];then echo "All third dependencies is known!"
;else exit 1;fi
\ No newline at end of file
diff --git a/.github/workflows/codeql-analysis.yml
b/.github/workflows/codeql-analysis.yml
deleted file mode 100644
index f5be6ff8a..000000000
--- a/.github/workflows/codeql-analysis.yml
+++ /dev/null
@@ -1,66 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-name: CodeQL Analysis
-
-
-on:
- pull_request:
- branches: [dev,dev-*]
- push:
- branches: [dev,dev-*]
-
-jobs:
- analyze:
- name: Code Analyze
- runs-on: ubuntu-latest
-# if: (github.repository == 'apache/linkis')
- strategy:
- fail-fast: false
- matrix:
- language: ['java', 'javascript', 'python']
-
- steps:
- - name: Checkout repository
- uses: actions/checkout@v2
- with:
- submodules: true
- - name: Set up JDK 1.8
- uses: actions/setup-java@v1
- with:
- java-version: 1.8
-
- - name: Cache local Maven repository
- uses: actions/cache@v2
- with:
- path: ~/.m2/repository
- key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
- restore-keys: |
- ${{ runner.os }}-linkis-maven-
-
-
- - name: Initialize CodeQL
- uses: github/codeql-action/init@v2
- with:
- languages: ${{ matrix.language }}
-
-# - name: Autobuild
-# uses: github/codeql-action/autobuild@v2
- - name: Build
- run:
- ./mvnw clean package -Dmaven.test.skip=true
-
- - name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v2
\ No newline at end of file
diff --git a/.github/workflows/dead-link-checker.yaml
b/.github/workflows/dead-link-checker.yaml
deleted file mode 100644
index 68fc1258c..000000000
--- a/.github/workflows/dead-link-checker.yaml
+++ /dev/null
@@ -1,35 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-
-name: Dead Link Check
-
-on: [push, pull_request]
-
-jobs:
- dead-links-check:
- runs-on: ubuntu-latest
- timeout-minutes: 30
- if: (github.repository == 'apache/incubator-linkis')
- steps:
- - uses: actions/checkout@v3
- - uses: gaurav-nelson/github-action-markdown-link-check@v1
- with:
- use-quiet-mode: 'no'
- use-verbose-mode: 'yes'
- folder-path: '../'
- config-file: '.github/workflows/dlc.json'
diff --git a/.github/workflows/dlc.json b/.github/workflows/dlc.json
deleted file mode 100644
index 8c6e04fe7..000000000
--- a/.github/workflows/dlc.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "ignorePatterns": [
- {
- "pattern": "^http://localhost"
- },
- {
- "pattern": "^http://127.0.0.1"
- }
- ],
- "timeout": "10s",
- "retryOn429": true,
- "retryCount": 10,
- "fallbackRetryDelay": "1000s",
- "aliveStatusCodes": [
- 200,
- 401,
- 403
- ]
-}
diff --git a/.github/workflows/publish-docker.yaml
b/.github/workflows/publish-docker.yaml
deleted file mode 100644
index c15cff59a..000000000
--- a/.github/workflows/publish-docker.yaml
+++ /dev/null
@@ -1,95 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-name: Publish Docker
-on:
- push:
- branches:
- - dev-1.3.1
-jobs:
- publish-docker:
- runs-on: ubuntu-latest
- strategy:
- matrix:
- node-version: [14.17.3]
- timeout-minutes: 90
- env:
- TAG: ${{ github.sha }}
- SKIP_TEST: true
- HUB: ghcr.io/apache/incubator-linkis
- LINKIS_VERSION: 1.3.1
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- - name: Set up JDK 8
- uses: actions/setup-java@v2
- with:
- distribution: 'adopt'
- java-version: 8
- - name: Cache local Maven repository
- uses: actions/cache@v2
- with:
- path: ~/.m2/repository
- key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
- restore-keys: |
- ${{ runner.os }}-maven-
- - name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v2
- with:
- node-version: ${{ matrix.node-version }}
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v1
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v1
- - name: Build frontend by node.js
- run: |
- cd linkis-web
- sed -i "/VUE_APP_MN_CONFIG_PREFIX/d" .env
- npm install
- npm run build
-
- - name: Build backend by maven
- run: |
- ./mvnw install -Pdocker -Dmaven.javadoc.skip=true
-Dmaven.test.skip=true -Dlinkis.build.web=true -Dlinkis.build.ldh=true
- - name: Log in to the Container registry
- uses: docker/[email protected]
- with:
- registry: ${{ env.HUB }}
- username: ${{ github.actor }}
- password: ${{ secrets.GITHUB_TOKEN }}
- - name: Push Docker Image
- env:
- DOCKER_VERSION: ${{ github.ref_name }}-${{ github.sha }}
- run: |
- docker images
- docker tag linkis:${{ env.LINKIS_VERSION }} ${{ env.HUB }}/linkis:${{
env.DOCKER_VERSION }}
- docker push ${{ env.HUB }}/linkis:${{ env.DOCKER_VERSION }}
-
- docker tag linkis:${{ env.LINKIS_VERSION }} ${{ env.HUB
}}/linkis:latest
- docker push ${{ env.HUB }}/linkis:latest
-
- docker tag linkis-web:${{ env.LINKIS_VERSION }} ${{ env.HUB
}}/linkis-web:${{ env.DOCKER_VERSION }}
- docker push ${{ env.HUB }}/linkis-web:${{ env.DOCKER_VERSION }}
-
- docker tag linkis-web:${{ env.LINKIS_VERSION }} ${{ env.HUB
}}/linkis-web:latest
- docker push ${{ env.HUB }}/linkis-web:latest
-
- docker tag linkis-ldh:${{ env.LINKIS_VERSION }} ${{ env.HUB
}}/linkis-ldh:${{ env.DOCKER_VERSION }}
- docker push ${{ env.HUB }}/linkis-ldh:${{ env.DOCKER_VERSION }}
-
- docker tag linkis-ldh:${{ env.LINKIS_VERSION }} ${{ env.HUB
}}/linkis-ldh:latest
- docker push ${{ env.HUB }}/linkis-ldh:latest
diff --git a/.github/workflows/publish-snapshot.yml
b/.github/workflows/publish-snapshot.yml
index dcf4ee9c2..9b36e10f0 100644
--- a/.github/workflows/publish-snapshot.yml
+++ b/.github/workflows/publish-snapshot.yml
@@ -17,9 +17,10 @@
name: Publish Snapshot
-on:
- schedule:
- - cron: '0 0 * * *'
+#on:
+# schedule:
+# - cron: '0 0 * * *'
+on: [push]
jobs:
publish-snapshot:
@@ -29,8 +30,7 @@ jobs:
fail-fast: false
matrix:
branch:
- - dev-1.3.0
- - dev-1.3.1
+ - dev-1.3.2
steps:
- name: Checkout repository
uses: actions/checkout@v2
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]