mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-26 14:28:04 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b61adf133f | ||
|
|
27eb7949e5 | ||
|
|
b90198915e |
@@ -1,4 +1,5 @@
|
||||
Dockerfile
|
||||
*.md
|
||||
bin
|
||||
.idea
|
||||
.idea
|
||||
dashboard/node_modules
|
||||
28
.github/workflows/build.yml
vendored
28
.github/workflows/build.yml
vendored
@@ -37,6 +37,11 @@ jobs:
|
||||
args: release --snapshot --rm-dist
|
||||
- name: Test if the Binary is Runnable
|
||||
run: "dist/helm-dashboard_linux_amd64_v1/helm-dashboard --help"
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: binaries
|
||||
path: dist/
|
||||
retention-days: 1
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v3.3.1
|
||||
with:
|
||||
@@ -53,12 +58,33 @@ jobs:
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Docker meta
|
||||
uses: docker/metadata-action@v3
|
||||
id: meta
|
||||
with:
|
||||
images: komodorio/helm-dashboard
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v2
|
||||
if: github.event_name != 'pull_request'
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USER }}
|
||||
password: ${{ secrets.DOCKERHUB_PASS }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: .
|
||||
outputs: local
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: komodorio/helm-dashboard:unstable
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
build-args: VER=0.0.0-dev
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
||||
helm_check:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@@ -68,7 +68,7 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v2
|
||||
if: github.event_name != 'pull_request'
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USER }}
|
||||
@@ -118,4 +118,4 @@ jobs:
|
||||
user_email: "komi@komodor.io"
|
||||
user_name: "komodor-bot"
|
||||
destination_branch: "master"
|
||||
commit_msg: "feat(helm-dashboard): ${{ github.event.head_commit.message }}" #important!! don't change this commit message unless you change the condition in pipeline.yml on helm-charts repo
|
||||
commit_msg: "feat(OSS helm-dashboard): ${{ github.event.head_commit.message }}" #important!! don't change this commit message unless you change the condition in pipeline.yml on helm-charts repo
|
||||
|
||||
16
Dockerfile
16
Dockerfile
@@ -1,9 +1,13 @@
|
||||
# Stage - builder
|
||||
FROM golang as builder
|
||||
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang as builder
|
||||
|
||||
ARG TARGETPLATFORM
|
||||
ARG BUILDPLATFORM
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
|
||||
ENV GOOS=linux
|
||||
ENV GOARCH=amd64
|
||||
ENV GOOS=${TARGETOS:-linux}
|
||||
ENV GOARCH=${TARGETARCH:-amd64}
|
||||
ENV CGO_ENABLED=0
|
||||
|
||||
WORKDIR /build
|
||||
@@ -23,7 +27,11 @@ WORKDIR /build/src
|
||||
RUN make build
|
||||
|
||||
# Stage - runner
|
||||
FROM alpine
|
||||
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine
|
||||
|
||||
ARG TARGETPLATFORM
|
||||
ARG BUILDPLATFORM
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
# Python
|
||||
|
||||
@@ -5,5 +5,5 @@ name: helm-dashboard
|
||||
description: A GUI Dashboard for Helm by Komodor
|
||||
icon: "https://raw.githubusercontent.com/komodorio/helm-dashboard/main/pkg/dashboard/static/logo.svg"
|
||||
|
||||
version: 0.1.8
|
||||
appVersion: "1.3.1"
|
||||
version: 0.1.9
|
||||
appVersion: "1.3.2"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: "dashboard"
|
||||
version: "1.3.1"
|
||||
version: "1.3.2"
|
||||
usage: "A simplified way of working with Helm"
|
||||
description: "View HELM situation in nice web UI"
|
||||
command: "$HELM_PLUGIN_DIR/bin/helm-dashboard"
|
||||
|
||||
Reference in New Issue
Block a user