Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release asset of v1.0.0 doesn't include prebuilt binaries #308

Open
suzuki-shunsuke opened this issue Dec 1, 2023 · 3 comments
Open

Release asset of v1.0.0 doesn't include prebuilt binaries #308

suzuki-shunsuke opened this issue Dec 1, 2023 · 3 comments

Comments

@suzuki-shunsuke
Copy link

https://github.com/kubesphere/kubeeye#install-and-use-kubeeye

Method 1: Download the pre-built executable file from Releases.

https://github.com/kubesphere/kubeeye/releases/tag/v1.0.0

image

The release asset of v1.0.0 doesn't include prebuilt binaries.

$ tar tvzf kubeeye-offline-v1.0.0.tar.gz 
drwxr-xr-x  0 runner docker      0 12  1 00:36 kubeeye-offline-v1.0.0/
drwxr-xr-x  0 runner docker      0 12  1 00:36 kubeeye-offline-v1.0.0/chart/
drwxr-xr-x  0 runner docker      0 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/
-rw-r--r--  0 runner docker   1137 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/Chart.yaml
-rw-r--r--  0 runner docker    349 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/.helmignore
-rw-r--r--  0 runner docker   2222 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/values.yaml
drwxr-xr-x  0 runner docker      0 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/templates/
-rw-r--r--  0 runner docker   4855 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/templates/deployment.yaml
-rw-r--r--  0 runner docker    263 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/templates/serviceaccount.yaml
-rw-r--r--  0 runner docker    276 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/templates/manager-config.yaml
-rw-r--r--  0 runner docker    831 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/templates/proxy-rbac.yaml
-rw-r--r--  0 runner docker    240 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/templates/metrics-reader-rbac.yaml
-rw-r--r--  0 runner docker    996 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/templates/leader-election-rbac.yaml
-rw-r--r--  0 runner docker    185 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/templates/config.yaml
-rw-r--r--  0 runner docker   1782 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/templates/_helpers.tpl
-rw-r--r--  0 runner docker    450 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/templates/metrics-service.yaml
-rw-r--r--  0 runner docker    350 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/templates/apiserver.yaml
-rw-r--r--  0 runner docker   2759 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/templates/manager-rbac.yaml
-rw-r--r--  0 runner docker    329 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/templates/inspect-result.yaml
drwxr-xr-x  0 runner docker      0 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/crds/
-rw-r--r--  0 runner docker   8696 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/crds/inspectresult-crd.yaml
-rw-r--r--  0 runner docker   3538 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/crds/inspectplan-crd.yaml
-rw-r--r--  0 runner docker   3478 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/crds/inspecttask-crd.yaml
-rw-r--r--  0 runner docker   7480 12  1 00:36 kubeeye-offline-v1.0.0/chart/kubeeye/crds/inspectrule-crd.yaml
drwxr-xr-x  0 runner docker      0 12  1 00:36 kubeeye-offline-v1.0.0/rule/
-rw-r--r--  0 runner docker    579 12  1 00:36 kubeeye-offline-v1.0.0/rule/kubeeye_v1alpha2_systemd.yaml
-rw-r--r--  0 runner docker   4383 12  1 00:36 kubeeye-offline-v1.0.0/rule/kubeeye_v1alpha2_prometheusrule.yaml
-rw-r--r--  0 runner docker    262 12  1 00:36 kubeeye-offline-v1.0.0/rule/kubeeye_v1alpha2_filterrule.yaml
-rw-r--r--  0 runner docker    176 12  1 00:36 kubeeye-offline-v1.0.0/rule/kubeeye_v1alpha2_services_connect.yaml
-rw-r--r--  0 runner docker   1603 12  1 00:36 kubeeye-offline-v1.0.0/rule/kubeeye_v1alpha2_opa_node.yaml
-rw-r--r--  0 runner docker  57827 12  1 00:36 kubeeye-offline-v1.0.0/rule/kubeeye_v1alpha2_opa_deployment.yaml
-rw-r--r--  0 runner docker   2076 12  1 00:36 kubeeye-offline-v1.0.0/rule/kubeeye_v1alpha2_opa_namespace.yaml
-rw-r--r--  0 runner docker    688 12  1 00:36 kubeeye-offline-v1.0.0/rule/kubeeye_v1alpha2_nodeInfo.yaml
-rw-r--r--  0 runner docker   1304 12  1 00:36 kubeeye-offline-v1.0.0/rule/kubeeye_v1alpha2_opa_evnet.yaml
-rw-r--r--  0 runner docker    505 12  1 00:36 kubeeye-offline-v1.0.0/rule/kubeeye_v1alpha2_filechange.yaml
-rw-r--r--  0 runner docker   1512 12  1 00:36 kubeeye-offline-v1.0.0/rule/kubeeye_v1alpha2_opa_abnormalPodStatus.yaml
-rw-r--r--  0 runner docker   3414 12  1 00:36 kubeeye-offline-v1.0.0/rule/kubeeye_v1alpha2_sysctlrule.yaml
drwxr-xr-x  0 runner docker      0 12  1 00:36 kubeeye-offline-v1.0.0/images/
-rw-------  0 runner docker 73283584 12  1 00:36 kubeeye-offline-v1.0.0/images/kubeeye-apiserver.tar
-rw-------  0 runner docker 47816192 12  1 00:36 kubeeye-offline-v1.0.0/images/kube-rbac-proxy.tar
-rw-------  0 runner docker 73251840 12  1 00:36 kubeeye-offline-v1.0.0/images/kubeeye-controller.tar
-rw-------  0 runner docker 65912832 12  1 00:36 kubeeye-offline-v1.0.0/images/kubeeye-job.tar
@suzuki-shunsuke
Copy link
Author

The release asset was built by GitHub Actions.

https://github.com/kubesphere/kubeeye/actions/runs/7048589956/workflow

offline-package:
needs:
- kubeeye-apiserver
- kubeeye-controller
- kubeeye-job
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Pull images of kubeeye
run: |
docker pull kubespheredev/kubeeye-apiserver:${{ github.ref_name }}
docker pull kubespheredev/kubeeye-controller:${{ github.ref_name }}
docker pull kubespheredev/kubeeye-job:${{ github.ref_name }}
docker pull kubesphere/kube-rbac-proxy:v0.11.0
- name: Build offline package
run: |
mkdir -p kubeeye-offline-${{ github.ref_name }}/images
cp -r chart kubeeye-offline-${{ github.ref_name }}
cp -r deploy/rule kubeeye-offline-${{ github.ref_name }}
docker save -o kubeeye-offline-${{ github.ref_name }}/images/kubeeye-apiserver.tar kubespheredev/kubeeye-apiserver:${{ github.ref_name }}
docker save -o kubeeye-offline-${{ github.ref_name }}/images/kubeeye-controller.tar kubespheredev/kubeeye-controller:${{ github.ref_name }}
docker save -o kubeeye-offline-${{ github.ref_name }}/images/kubeeye-job.tar kubespheredev/kubeeye-job:${{ github.ref_name }}
docker save -o kubeeye-offline-${{ github.ref_name }}/images/kube-rbac-proxy.tar kubesphere/kube-rbac-proxy:v0.11.0
tar -zcvf kubeeye-offline-${{ github.ref_name }}.tar.gz kubeeye-offline-${{ github.ref_name }}
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: true
files: kubeeye-offline-${{ github.ref_name }}.tar.gz

@suzuki-shunsuke
Copy link
Author

suzuki-shunsuke commented Dec 1, 2023

@suzuki-shunsuke
Copy link
Author

The commit 3c078e7 removed the build workflow.
Why was the workflow removed?

Remove ke tool build workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant