Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
release(v0.1.0-alpha.0): prepare release
Browse files Browse the repository at this point in the history
This is the official v0.1.0-alpha.0 release.

Signed-off-by: Artem Chernyshev <artem.0xD2@gmail.com>
  • Loading branch information
Unix4ever authored and talos-bot committed May 21, 2021
1 parent 7bde4c8 commit 76b9e1d
Show file tree
Hide file tree
Showing 13 changed files with 305 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
//
// Generated on 2021-05-20T11:44:59Z by kres 2cb907a-dirty.
// Generated on 2021-05-21T14:46:38Z by kres c09e0bc-dirty.

module.exports = {
presets: [
Expand Down
20 changes: 10 additions & 10 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2020-08-30T12:21:44Z by kres latest.
# Generated on 2021-05-20T15:00:42Z by kres adb52e5-dirty.

codecov:
require_ci_to_pass: false
require_ci_to_pass: false

coverage:
status:
project:
default:
target: 50%
threshold: 0.5%
base: auto
if_ci_failed: success
patch: off
status:
project:
default:
target: 50%
threshold: 0.5%
base: auto
if_ci_failed: success
patch: off

comment: false
4 changes: 2 additions & 2 deletions .conform.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2021-05-07T15:54:59Z by kres a7a00ec.
# Generated on 2021-05-20T19:53:49Z by kres 3ad58bf-dirty.

policies:
- type: commit
Expand All @@ -19,7 +19,7 @@ policies:
required: true
conventional:
types: ["chore","docs","perf","refactor","style","test","release"]
scopes: ["*"]
scopes: [".*"]
- type: license
spec:
skipPaths:
Expand Down
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2021-05-20T11:44:59Z by kres 2cb907a-dirty.
# Generated on 2021-05-20T19:53:49Z by kres 3ad58bf-dirty.

**
!frontend/src
Expand All @@ -19,5 +19,6 @@
!go.mod
!go.sum
!.golangci.yml
!CHANGELOG.md
!README.md
!.markdownlint.json
56 changes: 55 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2021-03-30T12:47:15Z by kres 3971480.
# Generated on 2021-05-21T14:46:38Z by kres c09e0bc-dirty.

kind: pipeline
type: kubernetes
Expand Down Expand Up @@ -268,6 +268,60 @@ steps:
depends_on:
- push-theila

- name: release-notes
pull: always
image: autonomy/build-container:latest
commands:
- make release-notes
volumes:
- name: outer-docker-socket
path: /var/outer-run
- name: docker-socket
path: /var/run
- name: buildx
path: /root/.docker/buildx
- name: ssh
path: /root/.ssh
when:
event:
- tag
depends_on:
- unit-tests-frontend
- frontend
- unit-tests
- coverage
- theila
- image-theila
- lint

- name: release
pull: always
image: plugins/github-release
settings:
api_key:
from_secret: github_token
checksum:
- sha256
- sha512
draft: true
files:
- _out/*
note: _out/RELEASE_NOTES.md
volumes:
- name: outer-docker-socket
path: /var/outer-run
- name: docker-socket
path: /var/run
- name: buildx
path: /root/.docker/buildx
- name: ssh
path: /root/.ssh
when:
event:
- tag
depends_on:
- release-notes

services:
- name: docker
image: docker:19.03-dind
Expand Down
2 changes: 1 addition & 1 deletion .jestrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
//
// Generated on 2021-05-20T11:44:59Z by kres 2cb907a-dirty.
// Generated on 2021-05-21T14:46:38Z by kres c09e0bc-dirty.

module.exports = {
preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel/',
Expand Down
23 changes: 23 additions & 0 deletions .kres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,29 @@ name: build
spec:
disableImage: true
---
kind: golang.Build
spec:
outputs:
theila-linux-amd64:
GOOS: linux
GOARCH: amd64
theila-linux-arm64:
GOOS: linux
GOARCH: arm64
theila-linux-armv7:
GOOS: linux
GOARCH: arm
GOARM: 7
theila-darwin-amd64:
GOOS: darwin
GOARCH: amd64
theila-darwin-arm64:
GOOS: darwin
GOARCH: arm64
theila-windows-amd64.exe:
GOOS: windows
GOARCH: amd64
---
kind: golang.Protobuf
spec:
specs:
Expand Down
60 changes: 60 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
## [theila 0.1.0-alpha.0](https://github.com/talos-systems/theila/releases/tag/v0.1.0-alpha.0) (2021-05-21)

Welcome to the v0.1.0-alpha.0 release of theila!
*This is a pre-release of theila*



Please try out the release binaries and report any issues at
https://github.com/talos-systems/theila/issues.

### The First Release

This is the very first release of the UI for Talos and Sidero.

The first iteration is only able to run against the management cluster with Sidero installed.
Theila gets credentials from `~/.kube/config` or from the file defined in `KUBECONFIG`
environment variable. The current context is always used.

For each Sidero Kubernetes cluster it is possible to:
- get the kubeconfig and talosconfig.
- get the list of nodes and pods.

For each node in the cluster it is possible to:
- get the list of services and their health.


### Contributors

* Artem Chernyshev
* Andrew Rynhard

### Changes
<details><summary>18 commits</summary>
<p>

* [`33c7d72`](https://github.com/talos-systems/theila/commit/33c7d72822aa6b7431744396c9f16f4df63ac2a5) release(v0.1.0-alpha.0): prepare release
* [`7bde4c8`](https://github.com/talos-systems/theila/commit/7bde4c8c6e16c197578cbb4e037a05d50194958f) fix: cobra command was initialized but not actually used
* [`04624c9`](https://github.com/talos-systems/theila/commit/04624c95cec587ae0b0d8888d95d484ef8d98cfa) feat: support getting Talos and Kubernetes client configs for a cluster
* [`219b9c8`](https://github.com/talos-systems/theila/commit/219b9c8663fe03af65796b0b6299cff5e66b3efc) feat: implement notifications component
* [`f8b19a0`](https://github.com/talos-systems/theila/commit/f8b19a0585e6e19c0e7da4e4afad5bbd264e0029) feat: decouple watch list from the view
* [`2f8c96e`](https://github.com/talos-systems/theila/commit/2f8c96e44012e7bd0db9869eeb90ab48ff41e162) feat: implement appearance settings modal window
* [`de745d6`](https://github.com/talos-systems/theila/commit/de745d6b7170a9c509cc835a8b675a1c788e80f4) feat: implement Talos runtime backend
* [`af69a0d`](https://github.com/talos-systems/theila/commit/af69a0d58906a86974bc7dbec2c09ca9f78b152f) feat: support getting Kubernetes resource through gRPC gateway
* [`2c50010`](https://github.com/talos-systems/theila/commit/2c50010b0d9f7b168354fedd698600d94123c354) feat: implement breadcrumbs component, add support for table header
* [`3fc1e80`](https://github.com/talos-systems/theila/commit/3fc1e808875f6f502cd2657c4548dd886fbf465d) feat: implement nodes view
* [`961e93a`](https://github.com/talos-systems/theila/commit/961e93a4af430eaa9efcd1e2922af8072fe4cf85) feat: implement clusters view
* [`e8248ff`](https://github.com/talos-systems/theila/commit/e8248ffab89633cae8834631e39cf4dce5e4147a) feat: use plain zap instead of SugaredLogger everywhere
* [`81ba93d`](https://github.com/talos-systems/theila/commit/81ba93dffdc37efdde06557a1c63511a7d61b2f2) chore: generate websocket protocol messages using protobuf
* [`37a878d`](https://github.com/talos-systems/theila/commit/37a878dd396b650df8afaf6730f9afe52d35569c) feat: make JS websocket reconnect on connection loss
* [`23b3281`](https://github.com/talos-systems/theila/commit/23b3281f8880800a9084e1c8a74617fcf966c846) feat: use dynamic watcher to allow listing any kinds of resources
* [`16475f5`](https://github.com/talos-systems/theila/commit/16475f51cc9651736213b36c57381b24dcabdc62) feat: implement real time update server on top of web sockets
* [`76b39ae`](https://github.com/talos-systems/theila/commit/76b39ae563d9f09ecac3451389e3d260abdad48d) feat: create hello world Vue app using Kres
* [`baab493`](https://github.com/talos-systems/theila/commit/baab493f155cbd78c2e8af6ce45268c40ef6aeed) Initial commit
</p>
</details>

### Dependency Changes

This release has no dependency changes

65 changes: 57 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2021-05-20T11:44:59Z by kres 2cb907a-dirty.
# Generated on 2021-05-21T14:46:38Z by kres c09e0bc-dirty.

ARG JS_TOOLCHAIN
ARG TOOLCHAIN
Expand All @@ -24,8 +24,9 @@ RUN npm i -g markdownlint-cli@0.23.2
RUN npm i sentences-per-line@0.2.1
WORKDIR /src
COPY .markdownlint.json .
COPY ./CHANGELOG.md ./CHANGELOG.md
COPY ./README.md ./README.md
RUN markdownlint --ignore "**/node_modules/**" --ignore '**/hack/chglog/**' --rules /node_modules/sentences-per-line/index.js .
RUN markdownlint --ignore "CHANGELOG.md" --ignore "**/node_modules/**" --ignore '**/hack/chglog/**' --rules /node_modules/sentences-per-line/index.js .

# collects proto specs
FROM scratch AS proto-specs
Expand Down Expand Up @@ -175,20 +176,68 @@ FROM base AS unit-tests-run
ARG TESTPKGS
RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg --mount=type=cache,target=/tmp go test -v -covermode=atomic -coverprofile=coverage.txt -coverpkg=${TESTPKGS} -count 1 ${TESTPKGS}

# builds theila
FROM base AS theila-build
# builds theila-darwin-amd64
FROM base AS theila-darwin-amd64-build
COPY --from=generate / /
WORKDIR /src/cmd/theila
RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg go build -ldflags "-s -w" -o /theila
RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w" -o /theila-darwin-amd64

# builds theila-darwin-arm64
FROM base AS theila-darwin-arm64-build
COPY --from=generate / /
WORKDIR /src/cmd/theila
RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg GOARCH=arm64 GOOS=darwin go build -ldflags "-s -w" -o /theila-darwin-arm64

# builds theila-linux-amd64
FROM base AS theila-linux-amd64-build
COPY --from=generate / /
WORKDIR /src/cmd/theila
RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o /theila-linux-amd64

# builds theila-linux-arm64
FROM base AS theila-linux-arm64-build
COPY --from=generate / /
WORKDIR /src/cmd/theila
RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg GOOS=linux GOARCH=arm64 go build -ldflags "-s -w" -o /theila-linux-arm64

# builds theila-linux-armv7
FROM base AS theila-linux-armv7-build
COPY --from=generate / /
WORKDIR /src/cmd/theila
RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg GOOS=linux GOARCH=arm GOARM=7 go build -ldflags "-s -w" -o /theila-linux-armv7

# builds theila-windows-amd64.exe
FROM base AS theila-windows-amd64.exe-build
COPY --from=generate / /
WORKDIR /src/cmd/theila
RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -o /theila-windows-amd64.exe

FROM scratch AS unit-tests
COPY --from=unit-tests-run /src/coverage.txt /coverage.txt

FROM scratch AS theila
COPY --from=theila-build /theila /theila
FROM scratch AS theila-darwin-amd64
COPY --from=theila-darwin-amd64-build /theila-darwin-amd64 /theila-darwin-amd64

FROM scratch AS theila-darwin-arm64
COPY --from=theila-darwin-arm64-build /theila-darwin-arm64 /theila-darwin-arm64

FROM scratch AS theila-linux-amd64
COPY --from=theila-linux-amd64-build /theila-linux-amd64 /theila-linux-amd64

FROM scratch AS theila-linux-arm64
COPY --from=theila-linux-arm64-build /theila-linux-arm64 /theila-linux-arm64

FROM scratch AS theila-linux-armv7
COPY --from=theila-linux-armv7-build /theila-linux-armv7 /theila-linux-armv7

FROM scratch AS theila-windows-amd64.exe
COPY --from=theila-windows-amd64.exe-build /theila-windows-amd64.exe /theila-windows-amd64.exe

FROM theila-linux-${TARGETARCH} AS theila

FROM scratch AS image-theila
COPY --from=theila / /
ARG TARGETARCH
COPY --from=theila theila-linux-${TARGETARCH} /theila
COPY --from=image-fhs / /
COPY --from=image-ca-certificates / /
LABEL org.opencontainers.image.source https://github.com/talos-systems/theila
Expand Down
Loading

0 comments on commit 76b9e1d

Please sign in to comment.