Compare commits

...

2 Commits

Author SHA1 Message Date
cuddle-please
39327f5099 chore(release): 0.1.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2024-12-05 01:04:20 +00:00
e9be9da3ec fix(deps): update material-ui monorepo to v6.1.10
All checks were successful
continuous-integration/drone/push Build is passing
2024-12-05 02:03:10 +01:00
8 changed files with 347 additions and 33 deletions

1
.cuddle/base Submodule

@ -0,0 +1 @@
Subproject commit 05f98cea655ee5c26ad81a085386987c3d84af10

View File

@ -0,0 +1,134 @@
kind: pipeline
name: cuddle-node-service-plan
type: docker
steps:
- name: load_secret
image: debian:buster-slim
volumes:
- name: ssh
path: /root/.ssh/
environment:
SSH_KEY:
from_secret: gitea_id_ed25519
commands:
- mkdir -p $HOME/.ssh/
- echo "$SSH_KEY" | base64 -d > $HOME/.ssh/id_ed25519
- chmod -R 600 ~/.ssh
- |
cat >$HOME/.ssh/config <<EOL
Host git.front.kjuulh.io
IdentityFile $HOME/.ssh/id_ed25519
IdentitiesOnly yes
UserKnownHostsFile=/dev/null
StrictHostKeyChecking no
EOL
- chmod 700 ~/.ssh/config
- name: build pr
image: kasperhermansen/{{bin_name}}:{{image_tag}}
volumes:
- name: ssh
path: /root/.ssh/
commands:
- eval `ssh-agent`
- ssh-add
- echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io
- export CLUSTER=clank-dev
- cuddle --version
- {{ bin_name }} pr
environment:
DAGGER_CLOUD_TOKEN:
from_secret: dagger_cloud_token
DRONE_HOST: "https://ci.i.kjuulh.io"
DRONE_USER: "kjuulh"
DRONE_TOKEN:
from_secret: drone_token
REGISTRY_CACHE_USERNAME:
from_secret: registry_cache_username
REGISTRY_CACHE_PASSWORD:
from_secret: registry_cache_password
REGISTRY_CACHE_TOKEN:
from_secret: registry_cache_token
REGISTRY_CACHE_url:
from_secret: registry_cache_url
DOCKER_BUILDKIT: 1
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
CUDDLE_SECRETS_PROVIDER: 1password
CUDDLE_ONE_PASSWORD_DOT_ENV: ".env.ci"
CUDDLE_SSH_AGENT: "true"
GIT_PASSWORD:
from_secret: git_password
CI_PREFIX: "/mnt/ci/ci"
DOCKER_HOST: "tcp://192.168.1.233:2376"
CUDDLE_PLEASE_TOKEN:
from_secret: cuddle_please_token
OP_SERVICE_ACCOUNT_TOKEN:
from_secret: op_service_account_token
when:
event:
- pull_request
depends_on:
- "load_secret"
- name: build main
image: kasperhermansen/{{bin_name}}:{{image_tag}}
volumes:
- name: ssh
path: /root/.ssh/
commands:
- eval `ssh-agent`
- ssh-add
- echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io
- export CLUSTER=clank-prod
- cuddle --version
- {{ bin_name }} main
environment:
DAGGER_CLOUD_TOKEN:
from_secret: dagger_cloud_token
DRONE_HOST: "https://ci.i.kjuulh.io"
DRONE_USER: "kjuulh"
DRONE_TOKEN:
from_secret: drone_token
REGISTRY_CACHE_USERNAME:
from_secret: registry_cache_username
REGISTRY_CACHE_PASSWORD:
from_secret: registry_cache_password
REGISTRY_CACHE_TOKEN:
from_secret: registry_cache_token
REGISTRY_CACHE_url:
from_secret: registry_cache_url
DOCKER_BUILDKIT: 1
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
CUDDLE_SECRETS_PROVIDER: 1password
CUDDLE_ONE_PASSWORD_DOT_ENV: ".env.ci"
CUDDLE_SSH_AGENT: "true"
GIT_PASSWORD:
from_secret: git_password
CI_PREFIX: "/mnt/ci/ci"
DOCKER_HOST: "tcp://192.168.1.233:2376"
CUDDLE_PLEASE_TOKEN:
from_secret: cuddle_please_token
OP_SERVICE_ACCOUNT_TOKEN:
from_secret: op_service_account_token
when:
event:
- push
branch:
- main
- master
exclude:
- pull_request
depends_on:
- "load_secret"
volumes:
- name: ssh
temp: {}

View File

@ -0,0 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{ service }}"
spec:
selector:
matchLabels:
app: "{{ service }}"
template:
spec:
containers:
- name: "{{ service }}"
image: "deployment:latest"
ports:
- containerPort: 3000
name: external_http
- containerPort: 3001
name: internal_http
- containerPort: 3002
name: internal_grpc

View File

@ -0,0 +1,22 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{ service }}"
spec:
selector:
matchLabels:
app: "{{ service }}"
template:
spec:
containers:
- name: "{{ service }}"
command: [{{ service }}]
args: ["serve"]
image: "deployment:latest"
ports:
- containerPort: 3000
name: external-http
- containerPort: 3001
name: internal-http
- containerPort: 3002
name: internal-grpc

View File

@ -0,0 +1,24 @@
{% set_global cluster_vars = filter_by_prefix(prefix=["clusters", cluster]) %}
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deployment.yaml
- service.yaml
commonLabels:
app: "{{ service }}"
cluster: "{{ cluster }}"
namespace: "{{ cluster_vars.namespace }}"
replicas:
- name: "{{ service }}"
count: {{ cluster_vars.replicas }}
images:
- name: "deployment"
newName: "{{ registry }}/{{ service }}"
newTag: "{{ image_tag }}"

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: "{{ service }}"
spec:
type: LoadBalancer
ports:
- name: external-http
port: 3000
targetPort: 3000
- name: internal-http
port: 3001
targetPort: 3001
- name: internal-grpc
port: 3002
targetPort: 3002

96
CHANGELOG.md Normal file
View File

@ -0,0 +1,96 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [0.1.0] - 2024-12-05
### Added
- without node
- add stuff
### Fixed
- *(deps)* update material-ui monorepo to v6.1.10
- *(deps)* update react-router monorepo to v7.0.2
- *(deps)* update react monorepo to v18.3.1
- *(deps)* update react-router monorepo to v7
- *(deps)* update material-ui monorepo to v6.1.9
- *(deps)* update backstage monorepo
- *(deps)* update material-ui monorepo to v6.1.7
- *(deps)* update react-router monorepo to v6.28.0
- *(deps)* update material-ui monorepo to v6.1.6
- *(deps)* update material-ui monorepo to v6.1.5
- *(deps)* update backstage monorepo
- *(deps)* update dependency @backstage/plugin-scaffolder-backend to v1.26.1
- *(deps)* update react-router monorepo to v6.27.0
- *(deps)* update backstage monorepo
- *(deps)* update material-ui monorepo to v6.1.4
- *(deps)* update dependency @backstage/plugin-app-backend to v0.3.75
- *(deps)* update material-ui monorepo to v6.1.2
- *(deps)* update backstage monorepo
- *(deps)* update material-ui monorepo to v6.1.1
- *(deps)* update backstage monorepo
- *(deps)* update react-router monorepo to v6.26.2
- *(deps)* update material-ui monorepo to v6.1.0
- *(deps)* update material-ui monorepo to v6.0.1
- *(deps)* update backstage monorepo
- *(deps)* update backstage monorepo
- *(deps)* update material-ui monorepo to v6
- *(deps)* update backstage monorepo
- *(deps)* update react-router monorepo to v6.26.1
- *(deps)* replace all dependencies
- *(deps)* update react-router monorepo to v6.24.1
- *(deps)* update backstage monorepo
- *(deps)* update all dependencies
- *(deps)* update react-router monorepo to v6.23.1
- *(deps)* update react-router monorepo to v6.23.0
- *(deps)* update dependency @backstage/plugin-catalog-backend-module-github to ^0.6.0
- *(deps)* update react-router monorepo to v6.22.3
- *(deps)* update dependency @material-ui/lab to v4.0.0-alpha.61
### Other
- *(deps)* update react monorepo to v18.3.13
- *(deps)* update all dependencies
- *(deps)* update all dependencies
- *(deps)* update react monorepo to v18.3.12
- *(deps)* update testing-library monorepo
- *(deps)* update react monorepo
- *(deps)* update dependency @types/jest to v29.5.14
- *(deps)* update dependency lerna to v8.1.9
- *(deps)* update dependency @backstage/cli to v0.28.2
- *(deps)* update backstage monorepo
- *(deps)* update backstage monorepo
- *(deps)* update all dependencies
- *(deps)* update dependency lerna to v8.1.8
- *(deps)* update dependency @testing-library/jest-dom to v6.4.8
- *(deps)* update testing-library monorepo
- *(deps)* update dependency lerna to v8.1.6
- *(deps)* update dependency better-sqlite3 to v10
- *(deps)* update node.js to v22
- *(deps)* update dependency eslint-plugin-cypress to v3
- *(deps)* update dependency @testing-library/react to v15
- *(deps)* update react monorepo to v18
- *(deps)* update dependency lerna to v8
- *(deps)* update dependency @types/jest to v29
- Merge pull request 'Update all dependencies' (#5) from renovate/all into main
Reviewed-on: https://git.front.kjuulh.io/kjuulh/backstage/pulls/5
- *(test)* test commit
- Update all dependencies
- Merge pull request 'Configure Renovate' (#1) from renovate/configure into main
Reviewed-on: https://git.front.kjuulh.io/kjuulh/backstage/pulls/1
- Add renovate.json
- add base setup as well as catalog for gitea
- without example
- base

View File

@ -7048,15 +7048,15 @@
resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.15.15.tgz#2bc2bda50db66c12f10aefec907c48c8f669ef59"
integrity sha512-aXnw29OWQ6I5A47iuWEI6qSSUfH6G/aCsW9KmW3LiFqr7uXZBK4Ks+z8G+qeIub8k0T5CMqlT2q0L+ZJTMrqpg==
"@mui/core-downloads-tracker@^6.1.9":
version "6.1.9"
resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-6.1.9.tgz#7f538205f7f877cdc335d06ef7e671fe840cf68f"
integrity sha512-TWqj7b1w5cmSz4H/uf+y2AHxAH4ldPR7D2bz0XVyn60GCAo/zRbRPx7cF8gTs/i7CiYeHzV6dtat0VpMwOtolw==
"@mui/core-downloads-tracker@^6.1.10":
version "6.1.10"
resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-6.1.10.tgz#871b5a4876cfd0beac6672fe50d57e0c0a53db36"
integrity sha512-LY5wdiLCBDY7u+Od8UmFINZFGN/5ZU90fhAslf/ZtfP+5RhuY45f679pqYIxe0y54l6Gkv9PFOc8Cs10LDTBYg==
"@mui/icons-material@^6.0.0":
version "6.1.9"
resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-6.1.9.tgz#68b1003d3e29db4f5d5e5f46a4333f34762aeeeb"
integrity sha512-AzlhIT51rdjkZ/EcUV2dbhNkNSUHIqCnNoUxodpiTw8buyAUBd+qnxg5OBSuPpun/ZEdSSB8Q7Uyh6zqjiMsEQ==
version "6.1.10"
resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-6.1.10.tgz#9ed27fc750ab4811da94c1a1252253d9d1e86cc2"
integrity sha512-G6P1BCSt6EQDcKca47KwvKjlqgOXFbp2I3oWiOlFgKYTANBH89yk7ttMQ5ysqNxSYAB+4TdM37MlPYp4+FkVrQ==
dependencies:
"@babel/runtime" "^7.26.0"
@ -7079,15 +7079,15 @@
react-transition-group "^4.4.5"
"@mui/material@^6.0.0":
version "6.1.9"
resolved "https://registry.yarnpkg.com/@mui/material/-/material-6.1.9.tgz#e596944ea4d95f16bdc9dd83ebd1b7067e5957be"
integrity sha512-NwqIN0bdsgzSbZd5JFcC+2ez0XW/XNs8uiV2PDHrqQ4qf/FEasFJG1z6g8JbCN0YlTrHZekVb17X0Fv0qcYJfQ==
version "6.1.10"
resolved "https://registry.yarnpkg.com/@mui/material/-/material-6.1.10.tgz#eab2a9df24c68548d0df2b5b25c0410311313ff9"
integrity sha512-txnwYObY4N9ugv5T2n5h1KcbISegZ6l65w1/7tpSU5OB6MQCU94YkP8n/3slDw2KcEfRk4+4D8EUGfhSPMODEQ==
dependencies:
"@babel/runtime" "^7.26.0"
"@mui/core-downloads-tracker" "^6.1.9"
"@mui/system" "^6.1.9"
"@mui/core-downloads-tracker" "^6.1.10"
"@mui/system" "^6.1.10"
"@mui/types" "^7.2.19"
"@mui/utils" "^6.1.9"
"@mui/utils" "^6.1.10"
"@popperjs/core" "^2.11.8"
"@types/react-transition-group" "^4.4.11"
clsx "^2.1.1"
@ -7105,13 +7105,13 @@
"@mui/utils" "^5.15.14"
prop-types "^15.8.1"
"@mui/private-theming@^6.1.9":
version "6.1.9"
resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-6.1.9.tgz#14b84e31bff4caef9b85d77870869d733fde39f6"
integrity sha512-7aum/O1RquBYhfwL/7egDyl9GqJgPM6hoJDFFBbhF6Sgv9yI9v4w3ArKUkuVvR0CtVj4NXRVMKEioh1bjUzvuA==
"@mui/private-theming@^6.1.10":
version "6.1.10"
resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-6.1.10.tgz#cfe8f70c30351208e8ca5c2b16c6992ce0288559"
integrity sha512-DqgsH0XFEweeG3rQfVkqTkeXcj/E76PGYWag8flbPdV8IYdMo+DfVdFlZK8JEjsaIVD2Eu1kJg972XnH5pfnBQ==
dependencies:
"@babel/runtime" "^7.26.0"
"@mui/utils" "^6.1.9"
"@mui/utils" "^6.1.10"
prop-types "^15.8.1"
"@mui/styled-engine@^5.15.14":
@ -7124,10 +7124,10 @@
csstype "^3.1.3"
prop-types "^15.8.1"
"@mui/styled-engine@^6.1.9":
version "6.1.9"
resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-6.1.9.tgz#ef2c39d3e3eda94490e1822d1f23c4fb924651f1"
integrity sha512-xynSLlJRxHLzSfQaiDjkaTx8LiFb9ByVa7aOdwFnTxGWFMY1F+mkXwAUY4jDDE+MAxkWxlzzQE0wOohnsxhdQg==
"@mui/styled-engine@^6.1.10":
version "6.1.10"
resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-6.1.10.tgz#0f093defd35934b6accff156011c9deac22356be"
integrity sha512-+NV9adKZYhslJ270iPjf2yzdVJwav7CIaXcMlPSi1Xy1S/zRe5xFgZ6BEoMdmGRpr34lIahE8H1acXP2myrvRw==
dependencies:
"@babel/runtime" "^7.26.0"
"@emotion/cache" "^11.13.5"
@ -7150,16 +7150,16 @@
csstype "^3.1.3"
prop-types "^15.8.1"
"@mui/system@^6.1.9":
version "6.1.9"
resolved "https://registry.yarnpkg.com/@mui/system/-/system-6.1.9.tgz#7b8735e7cbb6df552416607b9c00404557aa4e31"
integrity sha512-8x+RucnNp21gfFYsklCaZf0COXbv3+v0lrVuXONxvPEkESi2rwLlOi8UPJfcz6LxZOAX3v3oQ7qw18vnpgueRg==
"@mui/system@^6.1.10":
version "6.1.10"
resolved "https://registry.yarnpkg.com/@mui/system/-/system-6.1.10.tgz#d8a6f9099883880182cfafc08fc8ab8099647c01"
integrity sha512-5YNIqxETR23SIkyP7MY2fFnXmplX/M4wNi2R+10AVRd3Ub+NLctWY/Vs5vq1oAMF0eSDLhRTGUjaUe+IGSfWqg==
dependencies:
"@babel/runtime" "^7.26.0"
"@mui/private-theming" "^6.1.9"
"@mui/styled-engine" "^6.1.9"
"@mui/private-theming" "^6.1.10"
"@mui/styled-engine" "^6.1.10"
"@mui/types" "^7.2.19"
"@mui/utils" "^6.1.9"
"@mui/utils" "^6.1.10"
clsx "^2.1.1"
csstype "^3.1.3"
prop-types "^15.8.1"
@ -7184,10 +7184,10 @@
prop-types "^15.8.1"
react-is "^18.2.0"
"@mui/utils@^6.1.9":
version "6.1.9"
resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-6.1.9.tgz#821612300f66684054fd6e36336cfea91f050fbe"
integrity sha512-N7uzBp7p2or+xanXn3aH2OTINC6F/Ru/U8h6amhRZEev8bJhKN86rIDIoxZZ902tj+09LXtH83iLxFMjMHyqNA==
"@mui/utils@^6.1.10":
version "6.1.10"
resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-6.1.10.tgz#edf8c5c9cf930a8290b5347550ece15f5800b1c3"
integrity sha512-1ETuwswGjUiAf2dP9TkBy8p49qrw2wXa+RuAjNTRE5+91vtXJ1HKrs7H9s8CZd1zDlQVzUcUAPm9lpQwF5ogTw==
dependencies:
"@babel/runtime" "^7.26.0"
"@mui/types" "^7.2.19"