Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/actions/chart-testing-action
Submodule chart-testing-action deleted from e6669b
1 change: 0 additions & 1 deletion .github/actions/kind-action
Submodule kind-action deleted from fa81e5
59 changes: 32 additions & 27 deletions .github/workflows/auto-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,31 +25,36 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Create comment
uses: actions-cool/issues-helper@v3
uses: actions/github-script@v7
with:
actions: 'create-comment'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
## :blush: Welcome to the Apache Linkis 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) |
script: |
const body = [
"## :blush: Welcome to the Apache Linkis 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) |",
].join("\n");
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body,
});
14 changes: 8 additions & 6 deletions .github/workflows/dead-link-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ on:
jobs:
dead-links-check:
runs-on: ubuntu-latest
timeout-minutes: 30
timeout-minutes: 60
if: (github.repository == 'apache/linkis')
steps:
- uses: actions/checkout@v4
- uses: tcort/github-action-markdown-link-check@e7c7a18363c842693fadde5d41a3bd3573a7a225
- uses: actions/setup-node@v4
with:
use-quiet-mode: 'no'
use-verbose-mode: 'yes'
folder-path: '../'
config-file: '.github/workflows/dlc.json'
node-version: 20
- name: Install markdown-link-check
run: npm install -g markdown-link-check@3
- name: Check markdown links
run: |
find . -name "*.md" -not -path "./.git/*" -print0 | xargs -0 -P 8 -n1 markdown-link-check -c .github/workflows/dlc.json
19 changes: 17 additions & 2 deletions .github/workflows/dlc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,27 @@
},
{
"pattern": "^(https?://)?([a-zA-Z0-9-]+\\.)*bilibili\\.com"
},
{
"pattern": "^#"
},
{
"pattern": "^https?://[^/]*\\.localhost"
},
{
"pattern": "^https://badges\\.toozhao\\.com"
},
{
"pattern": "^https://deepwiki\\.com/apache/linkis"
},
{
"pattern": "^https://mybatis\\.org/mybatis-3/zh"
}
],
"timeout": "10s",
"retryOn429": true,
"retryCount": 10,
"fallbackRetryDelay": "1000s",
"retryCount": 3,
"fallbackRetryDelay": "30s",
"aliveStatusCodes": [
200,
401,
Expand Down
36 changes: 23 additions & 13 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
TAG: ${{ github.sha }}
SKIP_TEST: true
HUB: ghcr.io/apache/linkis
LINKIS_VERSION: 1.8.0
steps:
- name: Free up disk space
run: |
Expand Down Expand Up @@ -96,7 +95,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
run: docker buildx create --name linkis-builder --use

- name: Build frontend by node.js
run: |
Expand All @@ -109,22 +108,33 @@ jobs:
run: |
./mvnw install -Pdocker -Dmysql.connector.scope=compile -Dmaven.javadoc.skip=true -Dmaven.test.skip=true -Dlinkis.build.web=true -Dlinkis.build.ldh=true

- name: Set up chart-testing
uses: ./.github/actions/chart-testing-action

- name: Set up helm and kubectl
run: |
HELM_VERSION=v3.14.4
curl -sSL -o /tmp/helm.tgz "https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz"
tar -xzf /tmp/helm.tgz -C /tmp linux-amd64/helm
sudo mv /tmp/linux-amd64/helm /usr/local/bin/helm
KUBECTL_VERSION=v1.23.4
curl -sLo /tmp/kubectl "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl"
chmod +x /tmp/kubectl && sudo mv /tmp/kubectl /usr/local/bin/kubectl

- name: Create Kind cluster
uses: ./.github/actions/kind-action
with:
config: ${{ env.KIND_CONFIG_PATH }}
node_image: ${{ matrix.kubernetes-version }}
cluster_name: ${{ env.KIND_CLUSTER_NAME }}
run: |
KIND_VERSION=v0.20.0
curl -sLo /tmp/kind "https://kind.sigs.k8s.io/dl/${KIND_VERSION}/kind-linux-amd64"
chmod +x /tmp/kind && sudo mv /tmp/kind /usr/local/bin/kind
kind create cluster \
--config ${{ env.KIND_CONFIG_PATH }} \
--image ${{ matrix.kubernetes-version }} \
--name ${{ env.KIND_CLUSTER_NAME }}

- name: Start Linkis Service
run: |
docker tag linkis:${{ env.LINKIS_VERSION }} linkis:dev
docker tag linkis-web:${{ env.LINKIS_VERSION }} linkis-web:dev
docker tag linkis-ldh:${{ env.LINKIS_VERSION }} linkis-ldh:dev
LINKIS_VERSION=$(grep -m1 -oP '(?<=<revision>)[^<]+' pom.xml)
echo "LINKIS_VERSION=${LINKIS_VERSION}"
docker tag linkis:${LINKIS_VERSION} linkis:dev
docker tag linkis-web:${LINKIS_VERSION} linkis-web:dev
docker tag linkis-ldh:${LINKIS_VERSION} linkis-ldh:dev

# for debug Download the image directly first, then adjust it to active build
#ROOT_DIR=./linkis-dist/
Expand Down
Loading