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 12:24:22 UTC

[incubator-devlake-helm-chart] branch fix-close-features created (now 3836adb)

This is an automated email from the ASF dual-hosted git repository.

warren pushed a change to branch fix-close-features
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-helm-chart.git


      at 3836adb  update asf

This branch includes the following new commits:

     new dfa71f2  fix(page): use github action
     new 3836adb  update asf

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-devlake-helm-chart] 02/02: update asf

Posted by wa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

warren pushed a commit to branch fix-close-features
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-helm-chart.git

commit 3836adb46d36dd532ef2a22390ad9c1cd6c9f612
Author: Yingchu Chen <yi...@merico.dev>
AuthorDate: Tue Oct 25 20:24:06 2022 +0800

    update asf
---
 .asf.yaml | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 7c0c082..708c6d9 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -16,19 +16,5 @@
 #
 
 github:
-  description: Apache DevLake Helm Chart
-  homepage: https://devlake.apache.org/
-  labels:
-    - devlake
-    - helm
-    - chart
-    - k8s
-    - kubernetes
-
-  enabled_merge_buttons:
-    squash:  true
-    merge:   false
-    rebase:  false
-
   ghp_branch:  gh-pages
   ghp_path:    /
\ No newline at end of file


[incubator-devlake-helm-chart] 01/02: fix(page): use github action

Posted by wa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

warren pushed a commit to branch fix-close-features
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-helm-chart.git

commit dfa71f28acff2d181624a7712a2e45e791bb23fe
Author: Yingchu Chen <yi...@merico.dev>
AuthorDate: Tue Oct 25 19:26:09 2022 +0800

    fix(page): use github action
---
 .github/ISSUE_TEMPLATE/config.yml => .asf.yaml |  18 +++-
 .github/ISSUE_TEMPLATE/bug-report.yml          | 137 -------------------------
 .github/ISSUE_TEMPLATE/documentation.md        |  20 ----
 .github/ISSUE_TEMPLATE/feature-request.yml     |  81 ---------------
 .github/ISSUE_TEMPLATE/question.md             |  17 ---
 .github/ISSUE_TEMPLATE/refactor.md             |  20 ----
 .github/pull_request_template.md               |  28 -----
 .github/workflows/ci.yaml                      |  66 ++++++++++++
 .github/workflows/release.yaml                 |  38 +++++++
 charts/devlake/values.yaml                     |   6 +-
 devlake-0.2.0.tgz                              | Bin 6711 -> 0 bytes
 index.yaml                                     |  40 --------
 12 files changed, 124 insertions(+), 347 deletions(-)

diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.asf.yaml
similarity index 73%
rename from .github/ISSUE_TEMPLATE/config.yml
rename to .asf.yaml
index 78a032f..7c0c082 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.asf.yaml
@@ -15,4 +15,20 @@
 # limitations under the License.
 #
 
-blank_issues_enabled: false
+github:
+  description: Apache DevLake Helm Chart
+  homepage: https://devlake.apache.org/
+  labels:
+    - devlake
+    - helm
+    - chart
+    - k8s
+    - kubernetes
+
+  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/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml
deleted file mode 100644
index 93a2831..0000000
--- a/.github/ISSUE_TEMPLATE/bug-report.yml
+++ /dev/null
@@ -1,137 +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: Bug report
-title: "[Bug][Module Name] Bug title "
-description: Problems and issues with code of Apache DevLake
-labels: ["type/bug"]
-body:
-  - type: markdown
-    attributes:
-      value: >
-        Please make sure what you are reporting is indeed a bug with reproducible steps, if you want to ask questions
-        or share ideas, you can head to our
-        [Discussions](https://github.com/apache/incubator-devlake/discussions) tab, you can also
-        [join our slack](https://join.slack.com/t/devlake-io/shared_invite/zt-18uayb6ut-cHOjiYcBwERQ8VVPZ9cQQw)
-        and send your question to channel `#questions`
-
-        For better global communication, Please write in English.
-
-        If you feel the description in English is not clear, then you can append description in Chinese, thanks!
-
-  - type: checkboxes
-    attributes:
-      label: Search before asking
-      description: >
-        Please make sure to search in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue)
-        first to see whether the same issue was reported already.
-      options:
-        - label: >
-            I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found
-            no similar issues.
-          required: true
-
-  - type: textarea
-    attributes:
-      label: What happened
-      description: Describe what happened.
-      placeholder: >
-        Please provide the context in which the problem occurred and explain what happened
-    validations:
-      required: true
-
-  - type: textarea
-    attributes:
-      label: What you expected to happen
-      description: What do you think went wrong?
-      placeholder: >
-        Please explain why you think the behaviour is erroneous. It is extremely helpful if you copy and paste
-        the fragment of logs showing the exact error messages or wrong behaviour and screenshots for
-        UI problems. You can include files by dragging and dropping them here.
-
-        **NOTE**: please copy and paste texts instead of taking screenshots of them for easy future search.
-    validations:
-      required: true
-
-  - type: textarea
-    attributes:
-      label: How to reproduce
-      description: >
-        What should we do to reproduce the problem? If you are not able to provide a reproducible case,
-        please open a [Discussion](https://github.com/apache/incubator-devlake/discussions) instead.
-      placeholder: >
-        Please make sure you provide a reproducible step-by-step case of how to reproduce the problem
-        as minimally and precisely as possible. Keep in mind we do not have access to your deployment.
-        Remember that non-reproducible issues will be closed! Opening a discussion is recommended as a
-        first step.
-    validations:
-      required: true
-
-  - type: textarea
-    attributes:
-      label: Anything else
-      description: Anything else we need to know?
-      placeholder: >
-        How often does this problem occur? (Once? Every time? Only when certain conditions are met?)
-        Any relevant logs to include? Put them here inside fenced
-        ``` ``` blocks or inside a collapsable details tag if it's too long:
-        <details><summary>x.log</summary> lots of stuff </details>
-
-  - type: dropdown
-    id: version
-    attributes:
-      label: Version
-      description: >
-        Which version of Apache DevLake are you running? We only accept bugs report from the LTS projects.
-      options:
-        - main
-        - v0.13.0
-        - v0.12.0
-        - v0.11.0
-        - v0.10.1
-        - v0.10.0
-        - v0.9.3
-        - v0.9.2
-        - v0.9.1
-        - v0.9.0
-    validations:
-      required: true
-
-  - type: checkboxes
-    attributes:
-      label: Are you willing to submit PR?
-      description: >
-        This is absolutely not required, but we are happy to guide you in the contribution process
-        especially if you already have a good understanding of how to implement the fix.
-        Apache DevLake is a totally community-driven project and we love to bring new contributors in.
-      options:
-        - label: Yes I am willing to submit a PR!
-
-  - type: checkboxes
-    attributes:
-      label: Code of Conduct
-      description: |
-        The Code of Conduct helps create a safe space for everyone. We require that everyone agrees to it.
-      options:
-        - label: >
-            I agree to follow this project's
-            [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
-          required: true
-
-  - type: markdown
-    attributes:
-      value: "Thanks for completing our form!"
diff --git a/.github/ISSUE_TEMPLATE/documentation.md b/.github/ISSUE_TEMPLATE/documentation.md
deleted file mode 100644
index 7a94913..0000000
--- a/.github/ISSUE_TEMPLATE/documentation.md
+++ /dev/null
@@ -1,20 +0,0 @@
----
-name: Documentation Issue
-about: Help improve our documentation
-title: '[Doc][Module Name] Documentation title'
-labels: type/docs
-assignees: ''
-
----
-
-## Documentation Scope
-Briefly explain what is the documentation is referencing (main README, a specific plugin etc.)
-
-## Describe the Change
-A clear and concise description of what is being updated in the documentation
-
-## Screenshots
-If applicable, add screenshots to help explain your problem.
-
-## Additional context
-Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml
deleted file mode 100644
index c77f250..0000000
--- a/.github/ISSUE_TEMPLATE/feature-request.yml
+++ /dev/null
@@ -1,81 +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: Feature request
-description: Suggest an idea for this project
-title: "[Feature][Module Name] Feature title"
-labels: [ "type/feature-request"]
-body:
-  - type: markdown
-    attributes:
-      value: |
-        For better global communication, Please write in English.
-
-        If you feel the description in English is not clear, then you can append description in Chinese, thanks!
-
-  - type: checkboxes
-    attributes:
-      label: Search before asking
-      description: >
-        Please make sure to search in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) first
-        to see whether the same feature was requested already.
-      options:
-        - label: >
-            I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no
-            similar feature requirement.
-          required: true
-
-  - type: textarea
-    attributes:
-      label: Description
-      description: A short description of your feature
-
-  - type: textarea
-    attributes:
-      label: Use case
-      description: What do you want to happen?
-      placeholder: >
-        Rather than telling us how you might implement this feature, try to take a
-        step back and describe what you are trying to achieve.
-
-  - type: textarea
-    attributes:
-      label: Related issues
-      description: Is there currently another issue associated with this?
-
-  - type: checkboxes
-    attributes:
-      label: Are you willing to submit a PR?
-      description: >
-        This is absolutely not required, but we are happy to guide you in the contribution process
-        especially if you already have a good understanding of how to implement the feature.
-        Apache DevLake is a totally community-driven project and we love to bring new contributors in.
-      options:
-        - label: Yes I am willing to submit a PR!
-
-  - type: checkboxes
-    attributes:
-      label: Code of Conduct
-      description: |
-        The Code of Conduct helps create a safe space for everyone. We require that everyone agrees to it.
-      options:
-        - label: |
-            I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
-          required: true
-
-  - type: markdown
-    attributes:
-      value: "Thanks for completing our form!"
diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md
deleted file mode 100644
index a4a3bc4..0000000
--- a/.github/ISSUE_TEMPLATE/question.md
+++ /dev/null
@@ -1,17 +0,0 @@
----
-name: Question
-about: Ask a question
-title: '[Question][Module Name] Question title'
-labels: type/question
-assignees: ''
-
----
-
-## Question
-Ask a question here.
-
-## Screenshots
-If applicable, add screenshots to help explain.
-
-## Additional context
-Add any other context here.
diff --git a/.github/ISSUE_TEMPLATE/refactor.md b/.github/ISSUE_TEMPLATE/refactor.md
deleted file mode 100644
index e62e935..0000000
--- a/.github/ISSUE_TEMPLATE/refactor.md
+++ /dev/null
@@ -1,20 +0,0 @@
----
-name: Refactor
-about: Improve operation without altering functionality
-title: '[Refactor][Module Name] Refactor title'
-labels: type/refactor
-assignees: ''
-
----
-
-## What and why to refactor
-What are you trying to refactor? Why should it be refactored now?
-
-## Describe the solution you'd like
-How to refactor?
-
-## Related issues
-Please link any other
-
-## Additional context
-Add any other context or screenshots about the feature request here.
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
deleted file mode 100644
index 356173c..0000000
--- a/.github/pull_request_template.md
+++ /dev/null
@@ -1,28 +0,0 @@
-### ⚠️ Pre Checklist
-
-> Please complete _ALL_ items in this checklist, and remove before submitting
-
-- [ ] I have read through the [Contributing Documentation](https://devlake.apache.org/community/).
-- [ ] I have added relevant tests.
-- [ ] I have added relevant documentation.
-- [ ] I will add labels to the PR, such as `pr-type/bug-fix`, `pr-type/feature-development`, etc.
-
-
-
-# Summary
-
-<!--
-Thanks for submitting a pull request!
-
-We appreciate you spending the time to work on these changes.
-Please fill out as many sections below as possible.
--->
-
-### Does this close any open issues?
-Closes xx
-
-### Screenshots
-Include any relevant screenshots here.
-
-### Other Information
-Any other information that is important to this PR.
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
new file mode 100644
index 0000000..5088363
--- /dev/null
+++ b/.github/workflows/ci.yaml
@@ -0,0 +1,66 @@
+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'
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
new file mode 100644
index 0000000..f39f04f
--- /dev/null
+++ b/.github/workflows/release.yaml
@@ -0,0 +1,38 @@
+name: Release Charts
+
+on:
+  push:
+    branches:
+      - master
+
+jobs:
+  release:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v2
+        with:
+          submodules: recursive
+          fetch-depth: 0
+
+      - name: Configure Git
+        run: |
+          git config user.name "$GITHUB_ACTOR"
+          git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
+
+      - name: Install Helm
+        run: |
+          echo "installing helm 3..."
+          curl -sSL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
+
+      - name: Add Helm repo
+        run: |
+          helm repo add devlake https://apache.github.io/incubator-devlake-helm-chart
+
+      - name: Run chart-releaser
+        uses: ./.github/actions/chart-releaser-action
+        with:
+          charts_dir: .
+        env:
+          CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
+          CR_SKIP_EXISTING: true
diff --git a/charts/devlake/values.yaml b/charts/devlake/values.yaml
index 7d5fbfa..09d2ad1 100644
--- a/charts/devlake/values.yaml
+++ b/charts/devlake/values.yaml
@@ -71,7 +71,7 @@ grafana:
   # image for grafana
   image:
     repository: apache/devlake-dashboard
-    tag: latest
+    tag: v0.14.2
     pullPolicy: Always
   
   resources: {}
@@ -86,7 +86,7 @@ grafana:
 lake:
   image:
     repository: apache/devlake
-    tag: latest
+    tag: v0.14.2
     pullPolicy: Always
   # storage for config
   storage:
@@ -107,7 +107,7 @@ lake:
 ui:
   image:
     repository: apache/devlake-config-ui
-    tag: latest
+    tag: v0.14.2
     pullPolicy: Always
 
   resources: {}
diff --git a/devlake-0.2.0.tgz b/devlake-0.2.0.tgz
deleted file mode 100644
index 18cde4d..0000000
Binary files a/devlake-0.2.0.tgz and /dev/null differ
diff --git a/index.yaml b/index.yaml
deleted file mode 100644
index c6993a5..0000000
--- a/index.yaml
+++ /dev/null
@@ -1,40 +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.
-#
-
-apiVersion: v1
-entries:
-  devlake:
-  - apiVersion: v2
-    appVersion: 0.13.0
-    created: "2022-10-19T09:02:24.43027+08:00"
-    description: Apache DevLake is an open-source dev data platform that ingests,
-      analyzes, and visualizes the fragmented data from DevOps tools to distill insights
-      for engineering productivity.
-    digest: aa0dd92a058a4c8688696cffaa3359940811ae4aefe3fab32259effbd994adac
-    home: https://devlake.apache.org/
-    icon: https://devlake.apache.org/img/logo.svg
-    keywords:
-    - devlake
-    name: devlake
-    sources:
-    - https://github.com/apache/incubator-devlake
-    - https://github.com/apache/incubator-devlake-website
-    type: application
-    urls:
-    - https://merico-dev.github.io/devlake-helm-chart/devlake-0.2.0.tgz
-    version: 0.2.0
-generated: "2022-10-19T09:02:24.429661+08:00"