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

Split frontend and backend #7047

Merged
merged 181 commits into from
Sep 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
7b336cd
Start moving files
maciaszczykm Apr 27, 2022
e9461c0
Move modules to the root dir
maciaszczykm Apr 27, 2022
769e261
Fix backend import paths
maciaszczykm Apr 27, 2022
63d02bc
Move some scripts
maciaszczykm Apr 27, 2022
08eacfc
Add API workflow
maciaszczykm Apr 27, 2022
ef0e113
Update codegen scripts
maciaszczykm Apr 27, 2022
4ed6ceb
Update gitignores
maciaszczykm Apr 27, 2022
21b6691
Update API workflow
maciaszczykm Apr 27, 2022
849c95f
Update API workflow
maciaszczykm Apr 27, 2022
b32acd6
Update backend structure
maciaszczykm Apr 27, 2022
b78a867
Update backend structure
maciaszczykm Apr 27, 2022
3f86d49
Add modules dir
maciaszczykm Apr 27, 2022
4a49bec
Update structure
maciaszczykm Apr 27, 2022
caf2ca4
Split frontend and update web build logic
floreks Apr 27, 2022
59cfb73
Update license config
maciaszczykm Apr 27, 2022
75c7b9e
Add tools module
maciaszczykm Apr 27, 2022
c8513d2
Add license check workflow
maciaszczykm Apr 27, 2022
2b96374
Fix licenses
maciaszczykm Apr 27, 2022
06c329c
Update scripts
maciaszczykm Apr 27, 2022
659c351
Update workflows
maciaszczykm Apr 27, 2022
41872c4
Update workflows
maciaszczykm Apr 27, 2022
fa3bc15
Lower npm requirements to bundled version
maciaszczykm Apr 27, 2022
98a1524
Update package-lock.json
maciaszczykm Apr 27, 2022
6d44899
Update configs
maciaszczykm Apr 27, 2022
a518175
Remove unused code
maciaszczykm Apr 27, 2022
61a7671
Add workspace support and update web handling
floreks Apr 27, 2022
9654738
Merge branch 'split-containers' of github.com:maciaszczykm/kubernetes…
floreks Apr 27, 2022
d750e14
Bump github/codeql-action from 2.1.8 to 2.1.9 (#7049)
dependabot[bot] Apr 28, 2022
4b517d6
Bump @types/node from 17.0.29 to 17.0.30 (#7059)
dependabot[bot] May 1, 2022
fa738c7
Bump core-js from 3.22.2 to 3.22.3 (#7055)
dependabot[bot] May 1, 2022
f0e7765
Bump docker/setup-buildx-action from 1.6.0 to 1.7.0 (#7056)
dependabot[bot] May 1, 2022
7514d8e
Bump typescript from 4.6.3 to 4.6.4 (#7060)
dependabot[bot] May 1, 2022
53bb4c2
Bump ts-loader from 9.2.9 to 9.3.0 (#7062)
dependabot[bot] May 2, 2022
972552d
Bump stylelint from 14.8.0 to 14.8.1 (#7065)
dependabot[bot] May 2, 2022
ccf61ce
Bump @babel/core from 7.17.9 to 7.17.10 (#7066)
dependabot[bot] May 2, 2022
d55d5d7
Bump @types/node from 17.0.30 to 17.0.31 (#7064)
dependabot[bot] May 2, 2022
9798454
Bump @babel/preset-env from 7.16.11 to 7.17.10 (#7063)
dependabot[bot] May 2, 2022
0bbfbd2
docs: deploy `helm` with name `kubernetes-dashboard` (#7068)
JounQin May 2, 2022
46f3128
Bump @typescript-eslint/eslint-plugin from 5.21.0 to 5.22.0 (#7070)
dependabot[bot] May 4, 2022
49018d1
Bump @types/jest from 27.4.1 to 27.5.0 (#7069)
dependabot[bot] May 4, 2022
e79c88a
Bump core-js from 3.22.3 to 3.22.4 (#7071)
dependabot[bot] May 4, 2022
04a5851
Update Japanese translation (Line 1-1593) (#7054)
ziyi-xie May 4, 2022
2532b06
Bump @typescript-eslint/parser from 5.21.0 to 5.22.0 (#7072)
dependabot[bot] May 4, 2022
1c98fbb
Bump docker/setup-qemu-action from 1.2.0 to 2 (#7074)
dependabot[bot] May 6, 2022
e27664a
Bump docker/setup-buildx-action from 1.7.0 to 2 (#7075)
dependabot[bot] May 6, 2022
5c40ba5
Add support for IngressClass [kubernetes#5232] (#6920)
andreadecorte May 9, 2022
c2b666b
Update Japanese translation(Line 1594-2887) (#7079)
ziyi-xie May 10, 2022
cf55d51
Comment targets to migrate
maciaszczykm May 11, 2022
0ed5c75
Merge remote-tracking branch 'origin/split-containers' into split-con…
maciaszczykm May 11, 2022
07205aa
Add licence ignores
maciaszczykm May 11, 2022
fc1014f
Refactor workflows
maciaszczykm May 11, 2022
4dff00b
Merge remote-tracking branch 'upstream/master' into split-containers
maciaszczykm May 11, 2022
5457db0
Other updates
maciaszczykm May 11, 2022
b90fc60
Workflow updates
maciaszczykm May 11, 2022
8967fe9
Workflow updates
maciaszczykm May 11, 2022
3eff92b
Workflow updates
maciaszczykm May 11, 2022
e273548
Workflow updates
maciaszczykm May 11, 2022
d05f96b
Add Go lint action
maciaszczykm May 11, 2022
1099647
Format files
maciaszczykm May 11, 2022
5a55dd8
Fix serve target and update build pipeline
floreks May 11, 2022
995733b
Merge branch 'split-containers' of github.com:maciaszczykm/kubernetes…
floreks May 11, 2022
106680b
go mod tidy for tools
floreks May 11, 2022
945e6bf
Add ensure target for golangci-lint
floreks May 11, 2022
6e95873
Add ensure go target to tools
floreks May 11, 2022
cfd3799
Use private targets in makefile
floreks May 11, 2022
7043432
Optimize targets
floreks May 11, 2022
76b45c3
Update i18n handling for web
floreks May 11, 2022
c2b4cd3
Remove deprecated ngx-i18nsupport package and use ng-extract-i18n-mer…
floreks May 11, 2022
da8a3ed
Fix package.json
floreks May 11, 2022
a1d9b5a
Add nginx gateway and make targets to run prod version of the applica…
floreks May 11, 2022
96b763d
Bump github/codeql-action from 2.1.9 to 2.1.10 (#7095)
dependabot[bot] May 11, 2022
2e1731e
Fix path
maciaszczykm May 12, 2022
bd60394
Update Japanese translation(Line 2888-5094) (#7096)
ziyi-xie May 12, 2022
bd442fd
Update messages.de.xlf (#7117)
davidroth May 18, 2022
03908ba
Bump angular staffs to 13.3.5 (#7053)
shu-mutou May 31, 2022
b3e3f9e
Bump k8s modules to 0.24.0 (#7073)
shu-mutou May 31, 2022
31b93de
chore(deps): Included dependency review (#7102)
naveensrinivasan May 31, 2022
5b5a601
chore: Set permissions for GitHub actions (#7036)
nathannaveen May 31, 2022
159fc58
Update docs for 1.24+ (#6967)
liggitt May 31, 2022
fe35183
Bump actions/setup-go from 3.0.0 to 3.2.0 (#7131)
dependabot[bot] May 31, 2022
6b85fdf
Bump github/codeql-action (#7107)
dependabot[bot] May 31, 2022
9efc10c
Bump actions/setup-node from 3.1.1 to 3.2.0 (#7106)
dependabot[bot] May 31, 2022
53ac69d
Update dependencies and prepare for v2.6.0 release (#7140)
maciaszczykm May 31, 2022
81d122f
Update dev pipeline
floreks May 31, 2022
5476a76
Merge branch 'split-containers' of github.com:maciaszczykm/kubernetes…
floreks May 31, 2022
89f9dbc
Update run pipeline
floreks Jun 1, 2022
d777edb
Cleanup the build and start adding the multi arch build targets for t…
floreks Jun 6, 2022
5a5f9f4
add serviceMonitor labels/annotations (#7120)
TheRealNoob Jun 8, 2022
3821b4e
Update Helm chart (#7167)
maciaszczykm Jun 8, 2022
0012650
Merge remote-tracking branch 'upstream/master' into split-containers
maciaszczykm Jun 8, 2022
7c48623
Updates after merge
maciaszczykm Jun 8, 2022
d68587a
Merge remote-tracking branch 'origin/split-containers' into split-con…
maciaszczykm Jun 8, 2022
a0a9665
Set correct working dir
maciaszczykm Jun 8, 2022
555850c
Set correct working dir
maciaszczykm Jun 8, 2022
51a7fae
Update API tests
maciaszczykm Jun 8, 2022
04f195d
Fix file path
maciaszczykm Jun 8, 2022
0452426
Add cache
maciaszczykm Jun 8, 2022
ab6a4e6
Pipeline improvements
maciaszczykm Jun 8, 2022
d87bf00
Workflow and test updates
maciaszczykm Jun 8, 2022
a71bde6
Rewrite client-gen support and update improve multiarch build
floreks Jun 8, 2022
b12863f
Merge branch 'split-containers' of github.com:maciaszczykm/kubernetes…
floreks Jun 8, 2022
b5da2fb
Remove leftover i18n from root dir
floreks Jun 8, 2022
f2e3c24
Update web scripts
maciaszczykm Jun 8, 2022
d12f3d8
Update workflows
maciaszczykm Jun 8, 2022
fb2ce60
Update API workflow
maciaszczykm Jun 8, 2022
53774be
Fix dependencies
maciaszczykm Jun 8, 2022
313db99
Restore overrides
maciaszczykm Jun 8, 2022
bc68b56
Update dev pipeline
floreks Jun 28, 2022
9928bff
Cleanup
floreks Jun 28, 2022
f5858db
Refactor partial makefiles and web frontend build
floreks Jun 29, 2022
202e194
Fix top level build
floreks Jun 29, 2022
54553e5
Update dashboard-arguments.md
floreks Jul 22, 2022
1aff767
fix: close sizeChan to avoid memory leak. (#7244)
lixd Jul 23, 2022
020ce89
Use batch/v1 API & Add /health endpoint & Fix CronJob OwnerRef (#7301)
floreks Jul 23, 2022
799d9ac
Update dashboard-arguments.md
floreks Jul 27, 2022
ecdc4a8
fix: fix panic while RsaKeyHolder secret is nil (#7189)
ismdeep Aug 5, 2022
808d273
Merge remote-tracking branch 'upstream/master' into split-containers
floreks Aug 5, 2022
dec07e9
go mod tidy and fix master merge issues
floreks Aug 5, 2022
5be92a2
go mod tidy and fix master merge issues
floreks Aug 5, 2022
48b517f
Merge branch 'split-containers' of github.com:maciaszczykm/kubernetes…
floreks Aug 5, 2022
5769deb
Remove unused files
floreks Aug 5, 2022
b51744a
Merge remote-tracking branch 'upstream/master' into split-containers
floreks Aug 5, 2022
3c8e287
Fix build/serve pipeline
floreks Aug 12, 2022
be9606b
Merge remote-tracking branch 'upstream/master' into split-containers
maciaszczykm Aug 26, 2022
8053c6c
Update codecov config
maciaszczykm Aug 26, 2022
278d40a
Bump Go version
maciaszczykm Aug 26, 2022
ca90090
Set GOPATH
maciaszczykm Aug 26, 2022
08a27ec
Retry
maciaszczykm Aug 26, 2022
031ec2c
Retry
maciaszczykm Aug 26, 2022
83a4867
Retry
maciaszczykm Aug 26, 2022
ded3d56
Fix variable name
maciaszczykm Aug 26, 2022
1a26681
Update API workflow
maciaszczykm Aug 26, 2022
2ac861d
Bump golangci-lint
maciaszczykm Aug 26, 2022
df92ddf
Update web workflow
maciaszczykm Aug 26, 2022
5519932
Fix path
maciaszczykm Aug 26, 2022
65fff00
Remove some of npm occurences
maciaszczykm Aug 26, 2022
374f765
Bump Go dependencies
maciaszczykm Aug 26, 2022
be52049
Goimport rest of the files
maciaszczykm Aug 26, 2022
99d2b78
Update web workflow
maciaszczykm Aug 26, 2022
4aee9be
Merge remote-tracking branch 'upstream/master' into split-containers
floreks Sep 9, 2022
b474f69
Fix license check
maciaszczykm Sep 9, 2022
57b336d
Remove duplicated deps review action and tidy dependencies to solve c…
maciaszczykm Sep 9, 2022
f25b367
Fix web static check and remove unused conf variables
maciaszczykm Sep 9, 2022
c9754cf
Bump dependency review action
maciaszczykm Sep 9, 2022
5fba214
Workflow cleanup
maciaszczykm Sep 9, 2022
279e649
Remove ng-in-viewport to fix tests
maciaszczykm Sep 9, 2022
f54df05
Revert "Remove ng-in-viewport to fix tests"
maciaszczykm Sep 9, 2022
d2f3f24
Fix typo
maciaszczykm Sep 9, 2022
543d213
Fix typo
maciaszczykm Sep 9, 2022
97bf143
Remove duplicated import
maciaszczykm Sep 9, 2022
e892e0e
Optimize web dependencies, improve prod run
floreks Sep 9, 2022
486af74
Merge branch 'split-containers' of github.com:maciaszczykm/kubernetes…
floreks Sep 9, 2022
17e5051
Add ngcc postinstall command to yarn
maciaszczykm Sep 9, 2022
727eaef
Merge branch 'split-containers' of github.com:maciaszczykm/kubernetes…
maciaszczykm Sep 9, 2022
ffeb5bf
Fix license check
maciaszczykm Sep 9, 2022
007d9c0
Fix web static check
maciaszczykm Sep 16, 2022
9e52cd8
Merge remote-tracking branch 'upstream/master' into split-containers
maciaszczykm Sep 16, 2022
c5af3f8
Update test config
maciaszczykm Sep 16, 2022
27197c4
Merge remote-tracking branch 'upstream/master' into split-containers
maciaszczykm Sep 16, 2022
78a4fee
Remove code freeze warning
maciaszczykm Sep 16, 2022
72d4743
Update codecov config
maciaszczykm Sep 16, 2022
e414688
Update coverage config
maciaszczykm Sep 16, 2022
5d14feb
Bump coverage action version
maciaszczykm Sep 16, 2022
c87262d
Retry
maciaszczykm Sep 16, 2022
6f1775c
Export GOPATH in e2e
maciaszczykm Sep 16, 2022
9d9655d
Use yarn to run e2e
maciaszczykm Sep 16, 2022
9ec47cb
Add missing script
maciaszczykm Sep 16, 2022
29730aa
Update e2e setup
maciaszczykm Sep 16, 2022
ff485d2
Fix wait-on script
maciaszczykm Sep 16, 2022
955e110
Fix e2e config
maciaszczykm Sep 16, 2022
dc25186
Merge remote-tracking branch 'upstream/master' into split-containers
maciaszczykm Sep 16, 2022
66c759c
Merge new translations from master
maciaszczykm Sep 16, 2022
54679ce
Retry with different port number
maciaszczykm Sep 16, 2022
5c5f861
Retry
maciaszczykm Sep 16, 2022
4b5a05c
Send serve process to background
maciaszczykm Sep 16, 2022
41b5ee4
Add missing vars
maciaszczykm Sep 16, 2022
40bdddf
Fix typo
maciaszczykm Sep 16, 2022
faa05e9
Retry
maciaszczykm Sep 16, 2022
5fea7f8
Merge remote-tracking branch 'upstream/master' into split-containers
maciaszczykm Sep 16, 2022
13b934f
Update translation
maciaszczykm Sep 16, 2022
a131148
Fix translation file
maciaszczykm Sep 16, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 0 additions & 31 deletions .air.toml

This file was deleted.

18 changes: 16 additions & 2 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2017 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
codecov:
notify:
require_ci_to_pass: yes
Expand All @@ -16,7 +30,7 @@ coverage:
informational: true
# We use codecov for information described as above. So it is enough to check only `project` as of now.
patch: off
changes: off
changes: false

parsers:
gcov:
Expand All @@ -29,4 +43,4 @@ parsers:
comment:
layout: "header, diff"
behavior: default
require_changes: no
require_changes: false
6 changes: 0 additions & 6 deletions .dockerignore

This file was deleted.

2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

3 changes: 2 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
directory: "modules/web/"
schedule:
interval: "daily"
open-pull-requests-limit: 3
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 3
- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand Down
99 changes: 99 additions & 0 deletions .github/workflows/cd-global.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
# Copyright 2017 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name: CD / Global
on:
push:
branches: [ master ]
create:
tags:
- 'v*.*.*'
permissions:
contents: read
jobs:

deploy:
name: Development Release
if: github.event_name == 'push' && contains(github.ref, 'master')
runs-on: ubuntu-latest
env:
NG_CLI_ANALYTICS: ci
GOPROXY: "https://proxy.golang.org"
NODE_OPTIONS: "--max-old-space-size=8192"
DOCKER_CLI_EXPERIMENTAL: enabled
TERM: xterm
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version: 1.19
- uses: actions/setup-node@v3
with:
node-version: 16.15.0
- run: yarn
- run: node hack/version.mjs
- run: go mod download
- uses: docker/setup-qemu-action@8b122486cedac8393e77aa9734c3528886e4a1a8 # v1
- uses: docker/setup-buildx-action@v2
- env:
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
run: docker login -u $DOCKER_USER -p $DOCKER_PASS
- run: |
export GOPATH=$(go env GOPATH)/bin
make docker-push-head

release:
name: Release
if: github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
env:
NG_CLI_ANALYTICS: ci
GOPROXY: "https://proxy.golang.org"
NODE_OPTIONS: "--max-old-space-size=8192"
DOCKER_CLI_EXPERIMENTAL: enabled
TERM: xterm
defaults:
run:
shell: bash
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16.15.0
- run: yarn
- run: node hack/version.mjs
- run: go mod download
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- env:
DOCKER_USER: ${{ secrets.DOCKER_RELEASE_USER }}
DOCKER_PASS: ${{ secrets.DOCKER_RELEASE_PASS }}
run: docker login -u $DOCKER_USER -p $DOCKER_PASS
- run: |
export GOPATH=$(go env GOPATH)/bin
make docker-push-release
Original file line number Diff line number Diff line change
Expand Up @@ -12,49 +12,43 @@
# See the License for the specific language governing permissions and
# limitations under the License.

name: Continuous Deployment - Helm
name: CD / Helm

on:
push:
branches: [ master ]
paths:
- 'aio/deploy/helm-chart/**'
- 'charts/helm-chart/**'
- 'aio/scripts/helm-release-chart.sh'
- '.github/workflows/cd-helm-workflow.yml'

jobs:

release:
name: Helm Chart Release
runs-on: ubuntu-latest

steps:
- name: Setup Environment
uses: actions/checkout@v2
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"

- name: Package
shell: bash
run: aio/scripts/helm-release-chart.sh
env:
TERM: xterm-256color

- name: Create Pull Request branch
run: |
git checkout -b gh-pages-pull-request

# Note that will fail if branch already exists.
- name: Push Git Branch
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages-pull-request

# Note that will silently fail if PR already exists.
- name: Create Pull Request
uses: repo-sync/pull-request@v2
Expand Down
144 changes: 0 additions & 144 deletions .github/workflows/cd-workflow.yml

This file was deleted.

Loading