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

Commit 76b9e1d

Browse files
Unix4evertalos-bot
authored andcommitted
release(v0.1.0-alpha.0): prepare release
This is the official v0.1.0-alpha.0 release. Signed-off-by: Artem Chernyshev <[email protected]>
1 parent 7bde4c8 commit 76b9e1d

File tree

13 files changed

+305
-39
lines changed

13 files changed

+305
-39
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
//
3-
// Generated on 2021-05-20T11:44:59Z by kres 2cb907a-dirty.
3+
// Generated on 2021-05-21T14:46:38Z by kres c09e0bc-dirty.
44

55
module.exports = {
66
presets: [

.codecov.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2020-08-30T12:21:44Z by kres latest.
3+
# Generated on 2021-05-20T15:00:42Z by kres adb52e5-dirty.
44

55
codecov:
6-
require_ci_to_pass: false
6+
require_ci_to_pass: false
77

88
coverage:
9-
status:
10-
project:
11-
default:
12-
target: 50%
13-
threshold: 0.5%
14-
base: auto
15-
if_ci_failed: success
16-
patch: off
9+
status:
10+
project:
11+
default:
12+
target: 50%
13+
threshold: 0.5%
14+
base: auto
15+
if_ci_failed: success
16+
patch: off
1717

1818
comment: false

.conform.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2021-05-07T15:54:59Z by kres a7a00ec.
3+
# Generated on 2021-05-20T19:53:49Z by kres 3ad58bf-dirty.
44

55
policies:
66
- type: commit
@@ -19,7 +19,7 @@ policies:
1919
required: true
2020
conventional:
2121
types: ["chore","docs","perf","refactor","style","test","release"]
22-
scopes: ["*"]
22+
scopes: [".*"]
2323
- type: license
2424
spec:
2525
skipPaths:

.dockerignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2021-05-20T11:44:59Z by kres 2cb907a-dirty.
3+
# Generated on 2021-05-20T19:53:49Z by kres 3ad58bf-dirty.
44

55
**
66
!frontend/src
@@ -19,5 +19,6 @@
1919
!go.mod
2020
!go.sum
2121
!.golangci.yml
22+
!CHANGELOG.md
2223
!README.md
2324
!.markdownlint.json

.drone.yml

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
33
#
4-
# Generated on 2021-03-30T12:47:15Z by kres 3971480.
4+
# Generated on 2021-05-21T14:46:38Z by kres c09e0bc-dirty.
55

66
kind: pipeline
77
type: kubernetes
@@ -268,6 +268,60 @@ steps:
268268
depends_on:
269269
- push-theila
270270

271+
- name: release-notes
272+
pull: always
273+
image: autonomy/build-container:latest
274+
commands:
275+
- make release-notes
276+
volumes:
277+
- name: outer-docker-socket
278+
path: /var/outer-run
279+
- name: docker-socket
280+
path: /var/run
281+
- name: buildx
282+
path: /root/.docker/buildx
283+
- name: ssh
284+
path: /root/.ssh
285+
when:
286+
event:
287+
- tag
288+
depends_on:
289+
- unit-tests-frontend
290+
- frontend
291+
- unit-tests
292+
- coverage
293+
- theila
294+
- image-theila
295+
- lint
296+
297+
- name: release
298+
pull: always
299+
image: plugins/github-release
300+
settings:
301+
api_key:
302+
from_secret: github_token
303+
checksum:
304+
- sha256
305+
- sha512
306+
draft: true
307+
files:
308+
- _out/*
309+
note: _out/RELEASE_NOTES.md
310+
volumes:
311+
- name: outer-docker-socket
312+
path: /var/outer-run
313+
- name: docker-socket
314+
path: /var/run
315+
- name: buildx
316+
path: /root/.docker/buildx
317+
- name: ssh
318+
path: /root/.ssh
319+
when:
320+
event:
321+
- tag
322+
depends_on:
323+
- release-notes
324+
271325
services:
272326
- name: docker
273327
image: docker:19.03-dind

.jestrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
//
3-
// Generated on 2021-05-20T11:44:59Z by kres 2cb907a-dirty.
3+
// Generated on 2021-05-21T14:46:38Z by kres c09e0bc-dirty.
44

55
module.exports = {
66
preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel/',

.kres.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,29 @@ name: build
44
spec:
55
disableImage: true
66
---
7+
kind: golang.Build
8+
spec:
9+
outputs:
10+
theila-linux-amd64:
11+
GOOS: linux
12+
GOARCH: amd64
13+
theila-linux-arm64:
14+
GOOS: linux
15+
GOARCH: arm64
16+
theila-linux-armv7:
17+
GOOS: linux
18+
GOARCH: arm
19+
GOARM: 7
20+
theila-darwin-amd64:
21+
GOOS: darwin
22+
GOARCH: amd64
23+
theila-darwin-arm64:
24+
GOOS: darwin
25+
GOARCH: arm64
26+
theila-windows-amd64.exe:
27+
GOOS: windows
28+
GOARCH: amd64
29+
---
730
kind: golang.Protobuf
831
spec:
932
specs:

CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
## [theila 0.1.0-alpha.0](https://github.com/talos-systems/theila/releases/tag/v0.1.0-alpha.0) (2021-05-21)
2+
3+
Welcome to the v0.1.0-alpha.0 release of theila!
4+
*This is a pre-release of theila*
5+
6+
7+
8+
Please try out the release binaries and report any issues at
9+
https://github.com/talos-systems/theila/issues.
10+
11+
### The First Release
12+
13+
This is the very first release of the UI for Talos and Sidero.
14+
15+
The first iteration is only able to run against the management cluster with Sidero installed.
16+
Theila gets credentials from `~/.kube/config` or from the file defined in `KUBECONFIG`
17+
environment variable. The current context is always used.
18+
19+
For each Sidero Kubernetes cluster it is possible to:
20+
- get the kubeconfig and talosconfig.
21+
- get the list of nodes and pods.
22+
23+
For each node in the cluster it is possible to:
24+
- get the list of services and their health.
25+
26+
27+
### Contributors
28+
29+
* Artem Chernyshev
30+
* Andrew Rynhard
31+
32+
### Changes
33+
<details><summary>18 commits</summary>
34+
<p>
35+
36+
* [`33c7d72`](https://github.com/talos-systems/theila/commit/33c7d72822aa6b7431744396c9f16f4df63ac2a5) release(v0.1.0-alpha.0): prepare release
37+
* [`7bde4c8`](https://github.com/talos-systems/theila/commit/7bde4c8c6e16c197578cbb4e037a05d50194958f) fix: cobra command was initialized but not actually used
38+
* [`04624c9`](https://github.com/talos-systems/theila/commit/04624c95cec587ae0b0d8888d95d484ef8d98cfa) feat: support getting Talos and Kubernetes client configs for a cluster
39+
* [`219b9c8`](https://github.com/talos-systems/theila/commit/219b9c8663fe03af65796b0b6299cff5e66b3efc) feat: implement notifications component
40+
* [`f8b19a0`](https://github.com/talos-systems/theila/commit/f8b19a0585e6e19c0e7da4e4afad5bbd264e0029) feat: decouple watch list from the view
41+
* [`2f8c96e`](https://github.com/talos-systems/theila/commit/2f8c96e44012e7bd0db9869eeb90ab48ff41e162) feat: implement appearance settings modal window
42+
* [`de745d6`](https://github.com/talos-systems/theila/commit/de745d6b7170a9c509cc835a8b675a1c788e80f4) feat: implement Talos runtime backend
43+
* [`af69a0d`](https://github.com/talos-systems/theila/commit/af69a0d58906a86974bc7dbec2c09ca9f78b152f) feat: support getting Kubernetes resource through gRPC gateway
44+
* [`2c50010`](https://github.com/talos-systems/theila/commit/2c50010b0d9f7b168354fedd698600d94123c354) feat: implement breadcrumbs component, add support for table header
45+
* [`3fc1e80`](https://github.com/talos-systems/theila/commit/3fc1e808875f6f502cd2657c4548dd886fbf465d) feat: implement nodes view
46+
* [`961e93a`](https://github.com/talos-systems/theila/commit/961e93a4af430eaa9efcd1e2922af8072fe4cf85) feat: implement clusters view
47+
* [`e8248ff`](https://github.com/talos-systems/theila/commit/e8248ffab89633cae8834631e39cf4dce5e4147a) feat: use plain zap instead of SugaredLogger everywhere
48+
* [`81ba93d`](https://github.com/talos-systems/theila/commit/81ba93dffdc37efdde06557a1c63511a7d61b2f2) chore: generate websocket protocol messages using protobuf
49+
* [`37a878d`](https://github.com/talos-systems/theila/commit/37a878dd396b650df8afaf6730f9afe52d35569c) feat: make JS websocket reconnect on connection loss
50+
* [`23b3281`](https://github.com/talos-systems/theila/commit/23b3281f8880800a9084e1c8a74617fcf966c846) feat: use dynamic watcher to allow listing any kinds of resources
51+
* [`16475f5`](https://github.com/talos-systems/theila/commit/16475f51cc9651736213b36c57381b24dcabdc62) feat: implement real time update server on top of web sockets
52+
* [`76b39ae`](https://github.com/talos-systems/theila/commit/76b39ae563d9f09ecac3451389e3d260abdad48d) feat: create hello world Vue app using Kres
53+
* [`baab493`](https://github.com/talos-systems/theila/commit/baab493f155cbd78c2e8af6ce45268c40ef6aeed) Initial commit
54+
</p>
55+
</details>
56+
57+
### Dependency Changes
58+
59+
This release has no dependency changes
60+

Dockerfile

Lines changed: 57 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

77
ARG JS_TOOLCHAIN
88
ARG TOOLCHAIN
@@ -24,8 +24,9 @@ RUN npm i -g [email protected]
2424
2525
WORKDIR /src
2626
COPY .markdownlint.json .
27+
COPY ./CHANGELOG.md ./CHANGELOG.md
2728
COPY ./README.md ./README.md
28-
RUN markdownlint --ignore "**/node_modules/**" --ignore '**/hack/chglog/**' --rules /node_modules/sentences-per-line/index.js .
29+
RUN markdownlint --ignore "CHANGELOG.md" --ignore "**/node_modules/**" --ignore '**/hack/chglog/**' --rules /node_modules/sentences-per-line/index.js .
2930

3031
# collects proto specs
3132
FROM scratch AS proto-specs
@@ -175,20 +176,68 @@ FROM base AS unit-tests-run
175176
ARG TESTPKGS
176177
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}
177178

178-
# builds theila
179-
FROM base AS theila-build
179+
# builds theila-darwin-amd64
180+
FROM base AS theila-darwin-amd64-build
180181
COPY --from=generate / /
181182
WORKDIR /src/cmd/theila
182-
RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg go build -ldflags "-s -w" -o /theila
183+
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
184+
185+
# builds theila-darwin-arm64
186+
FROM base AS theila-darwin-arm64-build
187+
COPY --from=generate / /
188+
WORKDIR /src/cmd/theila
189+
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
190+
191+
# builds theila-linux-amd64
192+
FROM base AS theila-linux-amd64-build
193+
COPY --from=generate / /
194+
WORKDIR /src/cmd/theila
195+
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
196+
197+
# builds theila-linux-arm64
198+
FROM base AS theila-linux-arm64-build
199+
COPY --from=generate / /
200+
WORKDIR /src/cmd/theila
201+
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
202+
203+
# builds theila-linux-armv7
204+
FROM base AS theila-linux-armv7-build
205+
COPY --from=generate / /
206+
WORKDIR /src/cmd/theila
207+
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
208+
209+
# builds theila-windows-amd64.exe
210+
FROM base AS theila-windows-amd64.exe-build
211+
COPY --from=generate / /
212+
WORKDIR /src/cmd/theila
213+
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
183214

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

187-
FROM scratch AS theila
188-
COPY --from=theila-build /theila /theila
218+
FROM scratch AS theila-darwin-amd64
219+
COPY --from=theila-darwin-amd64-build /theila-darwin-amd64 /theila-darwin-amd64
220+
221+
FROM scratch AS theila-darwin-arm64
222+
COPY --from=theila-darwin-arm64-build /theila-darwin-arm64 /theila-darwin-arm64
223+
224+
FROM scratch AS theila-linux-amd64
225+
COPY --from=theila-linux-amd64-build /theila-linux-amd64 /theila-linux-amd64
226+
227+
FROM scratch AS theila-linux-arm64
228+
COPY --from=theila-linux-arm64-build /theila-linux-arm64 /theila-linux-arm64
229+
230+
FROM scratch AS theila-linux-armv7
231+
COPY --from=theila-linux-armv7-build /theila-linux-armv7 /theila-linux-armv7
232+
233+
FROM scratch AS theila-windows-amd64.exe
234+
COPY --from=theila-windows-amd64.exe-build /theila-windows-amd64.exe /theila-windows-amd64.exe
235+
236+
FROM theila-linux-${TARGETARCH} AS theila
189237

190238
FROM scratch AS image-theila
191-
COPY --from=theila / /
239+
ARG TARGETARCH
240+
COPY --from=theila theila-linux-${TARGETARCH} /theila
192241
COPY --from=image-fhs / /
193242
COPY --from=image-ca-certificates / /
194243
LABEL org.opencontainers.image.source https://github.com/talos-systems/theila

0 commit comments

Comments
 (0)