Compare commits

...

2 Commits

Author SHA1 Message Date
cuddle-please
5c89336845 chore(release): 0.1.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-02-27 01:05:15 +00:00
a3f3e4fe22 fix(deps): update material-ui monorepo to v6.4.6
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-02-27 01:04:10 +00:00
8 changed files with 416 additions and 33 deletions

1
.cuddle/base Submodule

@ -0,0 +1 @@
Subproject commit 8d4e4cc2149f190bff01f2c1eeb97a90a71fa9f1

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.155: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.155: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

165
CHANGELOG.md Normal file
View File

@ -0,0 +1,165 @@
# 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] - 2025-02-27
### Added
- without node
- add stuff
### Fixed
- *(deps)* update material-ui monorepo to v6.4.6
- *(deps)* update material-ui monorepo to v6.4.5
- *(deps)* update react-router monorepo to v7.2.0
- *(deps)* update backstage monorepo
- *(deps)* update dependency pg to v8.13.3
- *(deps)* update material-ui monorepo to v6.4.4
- *(deps)* update material-ui monorepo to v6.4.3
- *(deps)* update react-router monorepo to v7.1.5
- *(deps)* update react-router monorepo to v7.1.4
- *(deps)* update material-ui monorepo to v6.4.2
- *(deps)* update material-ui monorepo to v6.4.1
- *(deps)* update react-router monorepo to v7.1.3
- *(deps)* update dependency dockerode to v4.0.4
- *(deps)* update react-router monorepo to v7.1.2
- *(deps)* update material-ui monorepo to v6.4.0
- *(deps)* update backstage monorepo
- *(deps)* update material-ui monorepo to v6.3.1
- *(deps)* update material-ui monorepo to v6.3.0
- *(deps)* update react-router monorepo to v7.1.1
- *(deps)* update react-router monorepo to v7.1.0
- *(deps)* update dependency @backstage/plugin-scaffolder to v1.27.3
- *(deps)* update backstage monorepo
- *(deps)* update material-ui monorepo to v6.2.1
- *(deps)* update material-ui monorepo to v6.2.0
- *(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 all dependencies
- *(deps)* update dependency prettier to v3.5.2
- *(deps)* update dependency @types/node to v22.13.5
- *(deps)* update dependency msw to v2.7.1
- *(deps)* update dependency lerna to v8.2.0
- *(deps)* update all dependencies
- *(deps)* update dependency @types/node to v22.13.2
- *(deps)* update all dependencies
- *(deps)* update dependency prettier to v3.5.0
- *(deps)* update dependency cypress to v14.0.2
- *(deps)* update dependency @types/node to v22.13.1
- *(deps)* update dependency @types/node to v22.13.0
- *(deps)* update backstage monorepo
- *(deps)* update dependency cypress to v14.0.1
- *(deps)* update all dependencies
- *(deps)* update dependency @types/node to v22.10.10
- *(deps)* update dependency @types/node to v22.10.8
- *(deps)* update dependency @testing-library/user-event to v14.6.1
- *(deps)* update dependency better-sqlite3 to v11.8.1
- *(deps)* update dependency cypress to v14
- *(deps)* update testing-library monorepo
- *(deps)* update dependency @types/node to v22.10.7
- *(deps)* update dependency better-sqlite3 to v11.8.0
- *(deps)* update all dependencies
- *(deps)* update dependency @types/node to v22.10.6
- *(deps)* update dependency typescript to v5.7.3
- *(deps)* update dependency @types/express-serve-static-core to v5.0.4
- *(deps)* update dependency @types/dockerode to v3.3.34
- *(deps)* update all dependencies
- *(deps)* update all dependencies
- *(deps)* update dependency @types/node to v22.10.3
- *(deps)* update dependency @types/express-serve-static-core to v5.0.3
- *(deps)* update dependency concurrently to v9.1.2
- *(deps)* update dependency concurrently to v9.1.1
- *(deps)* update dependency cross-fetch to v4.1.0
- *(deps)* update dependency cypress to v13.17.0
- *(deps)* update dependency msw to v2.7.0
- *(deps)* update dependency msw to v2.6.9
- *(deps)* update dependency @backstage/cli to v0.29.3
- *(deps)* update all dependencies
- *(deps)* update all dependencies
- *(deps)* update all dependencies
- *(deps)* update all dependencies
- *(deps)* update all dependencies
- *(deps)* update dependency @testing-library/react to v16.1.0
- *(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

@ -6768,15 +6768,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.4.5":
version "6.4.5"
resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-6.4.5.tgz#7d3ed23ed3d8e5febb968dd9c5fe5dda80a20766"
integrity sha512-zoXvHU1YuoodgMlPS+epP084Pqv9V+Vg+5IGv9n/7IIFVQ2nkTngYHYxElCq8pdTTbDcgji+nNh0lxri2abWgA==
"@mui/core-downloads-tracker@^6.4.6":
version "6.4.6"
resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-6.4.6.tgz#42820be160159df81976f467ce496f5310e08eb1"
integrity sha512-rho5Q4IscbrVmK9rCrLTJmjLjfH6m/NcqKr/mchvck0EIXlyYUB9+Z0oVmkt/+Mben43LMRYBH8q/Uzxj/c4Vw==
"@mui/icons-material@^6.0.0":
version "6.4.5"
resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-6.4.5.tgz#30f5397b559de28e52d37095d6a7f231fe9f6861"
integrity sha512-4A//t8Nrc+4u4pbVhGarIFU98zpuB5AV9hTNzgXx1ySZJ1tWtx+i/1SbQ8PtGJxWeXlljhwimZJNPQ3x0CiIFw==
version "6.4.6"
resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-6.4.6.tgz#a26eaeae2f7f1359b48dac3fe8a8eec61640c325"
integrity sha512-rGJBvIQQbQAlyKYljHQ8wAQS/K2/uYwvemcpygnAmCizmCI4zSF9HQPuiG8Ql4YLZ6V/uKjA3WHIYmF/8sV+pQ==
dependencies:
"@babel/runtime" "^7.26.0"
@ -6799,15 +6799,15 @@
react-transition-group "^4.4.5"
"@mui/material@^6.0.0":
version "6.4.5"
resolved "https://registry.yarnpkg.com/@mui/material/-/material-6.4.5.tgz#83bdcaf2ffee22f873c036c13012932f823d8e5c"
integrity sha512-5eyEgSXocIeV1JkXs8mYyJXU0aFyXZIWI5kq2g/mCnIgJe594lkOBNAKnCIaGVfQTu2T6TTEHF8/hHIqpiIRGA==
version "6.4.6"
resolved "https://registry.yarnpkg.com/@mui/material/-/material-6.4.6.tgz#6114a02977735d70170243efc487aed0ca974197"
integrity sha512-6UyAju+DBOdMogfYmLiT3Nu7RgliorimNBny1pN/acOjc+THNFVE7hlxLyn3RDONoZJNDi/8vO4AQQr6dLAXqA==
dependencies:
"@babel/runtime" "^7.26.0"
"@mui/core-downloads-tracker" "^6.4.5"
"@mui/system" "^6.4.3"
"@mui/core-downloads-tracker" "^6.4.6"
"@mui/system" "^6.4.6"
"@mui/types" "^7.2.21"
"@mui/utils" "^6.4.3"
"@mui/utils" "^6.4.6"
"@popperjs/core" "^2.11.8"
"@types/react-transition-group" "^4.4.12"
clsx "^2.1.1"
@ -6825,13 +6825,13 @@
"@mui/utils" "^5.15.14"
prop-types "^15.8.1"
"@mui/private-theming@^6.4.3":
version "6.4.3"
resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-6.4.3.tgz#40d7d95316e9e52d465f0c96da23f9fb8f6a989f"
integrity sha512-7x9HaNwDCeoERc4BoEWLieuzKzXu5ZrhRnEM6AUcRXUScQLvF1NFkTlP59+IJfTbEMgcGg1wWHApyoqcksrBpQ==
"@mui/private-theming@^6.4.6":
version "6.4.6"
resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-6.4.6.tgz#77c0b150be94c061b34b34ce00eb60cdfb92837f"
integrity sha512-T5FxdPzCELuOrhpA2g4Pi6241HAxRwZudzAuL9vBvniuB5YU82HCmrARw32AuCiyTfWzbrYGGpZ4zyeqqp9RvQ==
dependencies:
"@babel/runtime" "^7.26.0"
"@mui/utils" "^6.4.3"
"@mui/utils" "^6.4.6"
prop-types "^15.8.1"
"@mui/styled-engine@^5.15.14":
@ -6844,10 +6844,10 @@
csstype "^3.1.3"
prop-types "^15.8.1"
"@mui/styled-engine@^6.4.3":
version "6.4.3"
resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-6.4.3.tgz#fbd7a6b925dfaeaa84ffbf8ed9be78a0ff0b3d6e"
integrity sha512-OC402VfK+ra2+f12Gef8maY7Y9n7B6CZcoQ9u7mIkh/7PKwW/xH81xwX+yW+Ak1zBT3HYcVjh2X82k5cKMFGoQ==
"@mui/styled-engine@^6.4.6":
version "6.4.6"
resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-6.4.6.tgz#cd0783adbb066a349e1995f0e1a7b8c3c2d59738"
integrity sha512-vSWYc9ZLX46be5gP+FCzWVn5rvDr4cXC5JBZwSIkYk9xbC7GeV+0kCvB8Q6XLFQJy+a62bbqtmdwS4Ghi9NBlQ==
dependencies:
"@babel/runtime" "^7.26.0"
"@emotion/cache" "^11.13.5"
@ -6870,16 +6870,16 @@
csstype "^3.1.3"
prop-types "^15.8.1"
"@mui/system@^6.4.3":
version "6.4.3"
resolved "https://registry.yarnpkg.com/@mui/system/-/system-6.4.3.tgz#f1e093850c8cc23c6605297c8a4134bea6fe290b"
integrity sha512-Q0iDwnH3+xoxQ0pqVbt8hFdzhq1g2XzzR4Y5pVcICTNtoCLJmpJS3vI4y/OIM1FHFmpfmiEC2IRIq7YcZ8nsmg==
"@mui/system@^6.4.6":
version "6.4.6"
resolved "https://registry.yarnpkg.com/@mui/system/-/system-6.4.6.tgz#f7078e403bd11377c539a05829cd71c441c8b6e6"
integrity sha512-FQjWwPec7pMTtB/jw5f9eyLynKFZ6/Ej9vhm5kGdtmts1z5b7Vyn3Rz6kasfYm1j2TfrfGnSXRvvtwVWxjpz6g==
dependencies:
"@babel/runtime" "^7.26.0"
"@mui/private-theming" "^6.4.3"
"@mui/styled-engine" "^6.4.3"
"@mui/private-theming" "^6.4.6"
"@mui/styled-engine" "^6.4.6"
"@mui/types" "^7.2.21"
"@mui/utils" "^6.4.3"
"@mui/utils" "^6.4.6"
clsx "^2.1.1"
csstype "^3.1.3"
prop-types "^15.8.1"
@ -6904,10 +6904,10 @@
prop-types "^15.8.1"
react-is "^18.2.0"
"@mui/utils@^6.4.3":
version "6.4.3"
resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-6.4.3.tgz#e08bc3a5ae1552a48dd13ddc7c65e3eebdb4cd58"
integrity sha512-jxHRHh3BqVXE9ABxDm+Tc3wlBooYz/4XPa0+4AI+iF38rV1/+btJmSUgG4shDtSWVs/I97aDn5jBCt6SF2Uq2A==
"@mui/utils@^6.4.6":
version "6.4.6"
resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-6.4.6.tgz#307828bee501d30ed5cd1e339ca28c9efcc4e3f9"
integrity sha512-43nZeE1pJF2anGafNydUcYFPtHwAqiBiauRtaMvurdrZI3YrUjHkAu43RBsxef7OFtJMXGiHFvq43kb7lig0sA==
dependencies:
"@babel/runtime" "^7.26.0"
"@mui/types" "^7.2.21"