Skip to content
Closed
Show file tree
Hide file tree
Changes from 4 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
43 changes: 43 additions & 0 deletions kubernetes-dashboard-api.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
package:
name: kubernetes-dashboard-api
version: 1.10.1
epoch: 0
description: Go module handling authentication to the Kubernetes API
copyright:
- license: Apache-2.0

pipeline:
- uses: git-checkout
with:
repository: https://github.com/kubernetes/dashboard
tag: api/v${{package.version}}
expected-commit: 8c15a76aec0489f63ab841e4aaf09391d2e68912

- uses: go/build
with:
packages: .
modroot: ./modules/api
output: dashboard-api

- uses: strip

test:
environment:
contents:
packages:
- curl
pipeline:
- uses: test/kwok/cluster
- name: Verify kubernetes-dashboard-api installation
runs: |
dashboard-api --bind-address=0.0.0.0 --kubeconfig=/root/.kube/config &> dashboard-api.log &
sleep 5
grep "Starting Kubernetes Dashboard API" dashboard-api.log || exit 1
update:
enabled: true
github:
identifier: kubernetes/dashboard
strip-prefix: api/v
use-tag: true
tag-filter: api/v
43 changes: 43 additions & 0 deletions kubernetes-dashboard-auth.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
package:
name: kubernetes-dashboard-auth
version: 1.2.2
epoch: 0
description: Stateless Go module, which could be referred to as a Kubernetes API extension
copyright:
- license: Apache-2.0

pipeline:
- uses: git-checkout
with:
repository: https://github.com/kubernetes/dashboard
tag: auth/v${{package.version}}
expected-commit: 8c15a76aec0489f63ab841e4aaf09391d2e68912

- uses: go/build
with:
packages: .
modroot: ./modules/auth
output: dashboard-auth

- uses: strip

test:
environment:
contents:
packages:
- curl
pipeline:
- uses: test/kwok/cluster
- name: Verify kubernetes-dashboard-auth installation
runs: |
dashboard-auth --address=0.0.0.0 --apiserver-host="https://accounts.google.com" --kubeconfig=/root/.kube/config &> dashboard-auth.log &
sleep 5
grep "Starting Kubernetes Dashboard Auth" dashboard-auth.log || exit 1

update:
enabled: true
github:
identifier: kubernetes/dashboard
strip-prefix: auth/v
use-tag: true
tag-filter: auth/v
53 changes: 26 additions & 27 deletions kubernetes-dashboard-metrics-scraper.yaml
Original file line number Diff line number Diff line change
@@ -1,44 +1,43 @@
package:
name: kubernetes-dashboard-metrics-scraper
version: 1.0.9
epoch: 19
description: Container to scrape, store, and retrieve a window of time from the Metrics Server.
version: 1.2.1
epoch: 0
description: Go module used to scrape and store a small window of metrics fetched from the Kubernetes Metrics Server.
copyright:
- license: Apache-2.0

environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- glibc-dev
- go
- ncurses-dev
- sqlite

pipeline:
- uses: git-checkout
with:
repository: https://github.com/kubernetes-sigs/dashboard-metrics-scraper
tag: v${{package.version}}
expected-commit: b3f5d8f275bf12d8581769851a985fbc41fd371b
repository: https://github.com/kubernetes/dashboard
tag: metrics-scraper/v${{package.version}}
expected-commit: 9d28815f430acdbfb490e2e68a465e2eb371ba79

- uses: go/bump
- uses: go/build
with:
deps: github.com/emicklei/[email protected] golang.org/x/[email protected] gopkg.in/[email protected] golang.org/x/[email protected] google.golang.org/[email protected] golang.org/x/[email protected]

- runs: |
hack/build.sh
mkdir -p ${{targets.destdir}}/usr/bin
mv /metrics-sidecar ${{targets.destdir}}/usr/bin/metrics-sidecar
packages: .
modroot: ./modules/metrics-scraper
output: dashboard-metrics-scraper

- uses: strip

test:
environment:
contents:
packages:
- curl
pipeline:
- uses: test/kwok/cluster
- name: Verify kubernetes-dashboard-metrics-scraper installation
runs: |
dashboard-metrics-scraper --kubeconfig=/root/.kube/config &> dashboard-metrics-scraper.log &
sleep 5
grep "Starting Metrics Scraper" dashboard-metrics-scraper.log || exit 1

update:
enabled: true
github:
identifier: kubernetes-sigs/dashboard-metrics-scraper
strip-prefix: v
identifier: kubernetes/dashboard
strip-prefix: metrics-scraper/v
use-tag: true
tag-filter: v
tag-filter: metrics-scraper/v
43 changes: 43 additions & 0 deletions kubernetes-dashboard-web.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
package:
name: kubernetes-dashboard-web
version: 1.5.2
epoch: 0
description: General-purpose web UI for Kubernetes clusters with enhanced authentication features
copyright:
- license: Apache-2.0

pipeline:
- uses: git-checkout
with:
repository: https://github.com/kubernetes/dashboard
tag: web/v${{package.version}}
expected-commit: 8c15a76aec0489f63ab841e4aaf09391d2e68912

- uses: go/build
with:
packages: .
modroot: ./modules/web
output: dashboard-web

- uses: strip

test:
environment:
contents:
packages:
- curl
pipeline:
- uses: test/kwok/cluster
- name: Verify kubernetes-dashboard-web installation
runs: |
dashboard-web --bind-address=0.0.0.0 --kubeconfig=/root/.kube/config &> dashboard-web.log &
sleep 5
grep "Starting Kubernetes Dashboard Web" dashboard-web.log || exit 1

update:
enabled: true
github:
identifier: kubernetes/dashboard
strip-prefix: web/v
use-tag: true
tag-filter: web/v