You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by wa...@apache.org on 2022/10/25 13:03:03 UTC
[incubator-devlake-helm-chart] 01/01: test (#5)
This is an automated email from the ASF dual-hosted git repository.
warren pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-helm-chart.git
commit 460a38775c5954030553ad026b08c004c7fb1919
Author: Warren Chen <yi...@merico.dev>
AuthorDate: Tue Oct 25 20:52:52 2022 +0800
test (#5)
* Fix close features (#3)
* fix(page): use github action
* update asf
* delete ci.yml (#4)
---
.asf.yaml | 18 ----------
.github/workflows/asf-header-check.yml | 33 -----------------
.github/workflows/ci.yaml | 66 ----------------------------------
3 files changed, 117 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index 65cced9..708c6d9 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -16,23 +16,5 @@
#
github:
- description: Apache DevLake Helm Chart
- homepage: https://devlake.apache.org/
- labels:
- - devlake
- - helm
- - chart
- - k8s
- - kubernetes
-
- features:
- issues: true
- projects: true
-
- enabled_merge_buttons:
- squash: true
- merge: false
- rebase: false
-
ghp_branch: gh-pages
ghp_path: /
\ No newline at end of file
diff --git a/.github/workflows/asf-header-check.yml b/.github/workflows/asf-header-check.yml
deleted file mode 100644
index 4e84c66..0000000
--- a/.github/workflows/asf-header-check.yml
+++ /dev/null
@@ -1,33 +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: check-Apache-license-header
-
-on:
- pull_request:
- branches: [ main ]
-
-jobs:
- check-ASF-header:
- name: check Apache license header
- runs-on: ubuntu-20.04
- steps:
- - name: Checkout repository
- uses: actions/checkout@v2
-
- - name: Check License Header
- uses: apache/skywalking-eyes@main
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
deleted file mode 100644
index 5088363..0000000
--- a/.github/workflows/ci.yaml
+++ /dev/null
@@ -1,66 +0,0 @@
-name: CI
-
-on:
- pull_request:
- branches:
- - "*"
-
- push:
-
-jobs:
-
- helm:
- name: Helm chart
- runs-on: ubuntu-latest
- strategy:
- matrix:
- k8s: [v1.16.15, v1.17.17, v1.18.19, v1.19.11, v1.20.7, v1.21.1, v1.22.2]
-
- steps:
-
- - name: Checkout
- uses: actions/checkout@v2
- with:
- submodules: recursive
-
- - name: Lint
- run: |
- docker run --rm --interactive --network host \
- --name ct-lint \
- --volume $PWD:/workdir \
- --workdir /workdir/charts/devlake \
- quay.io/helmpack/chart-testing:v3.4.0 sh -c 'helm dependency update \
- && cd ../.. \
- && helm repo add devlake https://apache.github.io/incubator-devlake-helm-chart \
- && ct lint \
- --charts charts/devlake'
-
- - name: fix permissions
- run: |
- sudo mkdir -p $HOME/.kube
- sudo chmod -R 777 $HOME/.kube
-
- - name: Create Kubernetes ${{ matrix.k8s }} cluster
- id: kind
- uses: ./.github/actions/setup-kind
- with:
- version: v0.11.0
- config: test/e2e/kind.yaml
- image: kindest/node:${{ matrix.k8s }}
-
- - name: Test
- env:
- KIND_CLUSTER_NAME: kind
- SKIP_CLUSTER_CREATION: true
- run: |
- kind get kubeconfig > $HOME/.kube/kind-config-kind
- docker run --rm --interactive --network host \
- --name ct \
- --volume $HOME/.kube/kind-config-kind:/root/.kube/config \
- --volume $PWD:/workdir \
- --workdir /workdir/charts/devlake \
- quay.io/helmpack/chart-testing:v3.4.0 sh -c 'helm dependency update \
- && cd ../.. \
- && helm repo add devlake https://apache.github.io/incubator-devlake-helm-chart \
- && ct install \
- --charts charts/devlake'