Compare commits
1 Commits
main
...
cuddle-ple
Author | SHA1 | Date | |
---|---|---|---|
|
c34bbdf540 |
1
.cuddle/base
Submodule
1
.cuddle/base
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 21e8d2340ad72fe8e9fcb5079b2f796c7e6ca1bc
|
134
.cuddle/tmp/cuddle-node-service-plan.yaml
Normal file
134
.cuddle/tmp/cuddle-node-service-plan.yaml
Normal 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: {}
|
||||
|
20
.cuddle/tmp/deployment.yaml
Normal file
20
.cuddle/tmp/deployment.yaml
Normal 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
|
22
.cuddle/tmp/kustomize/base/deployment.yaml
Normal file
22
.cuddle/tmp/kustomize/base/deployment.yaml
Normal 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
|
24
.cuddle/tmp/kustomize/base/kustomization.yaml
Normal file
24
.cuddle/tmp/kustomize/base/kustomization.yaml
Normal 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 }}"
|
17
.cuddle/tmp/kustomize/base/service.yaml
Normal file
17
.cuddle/tmp/kustomize/base/service.yaml
Normal 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
|
||||
|
49
CHANGELOG.md
Normal file
49
CHANGELOG.md
Normal file
@ -0,0 +1,49 @@
|
||||
# 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-05-14
|
||||
|
||||
### Added
|
||||
- without node
|
||||
- add stuff
|
||||
|
||||
### Fixed
|
||||
- *(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 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
|
||||
|
@ -30,12 +30,12 @@
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.28.0",
|
||||
"@backstage/cli": "^0.26.0",
|
||||
"@spotify/prettier-config": "^15.0.0",
|
||||
"concurrently": "^8.0.0",
|
||||
"lerna": "^8.0.0",
|
||||
"prettier": "^3.0.0",
|
||||
"typescript": "~5.5.0"
|
||||
"typescript": "~5.4.0"
|
||||
},
|
||||
"resolutions": {
|
||||
"@types/react": "^18.0.0",
|
||||
|
@ -9,16 +9,16 @@
|
||||
"dependencies": {
|
||||
"@backstage/app-defaults": "^1.0.3",
|
||||
"@backstage/catalog-model": "^1.0.3",
|
||||
"@backstage/cli": "^0.28.0",
|
||||
"@backstage/cli": "^0.26.0",
|
||||
"@backstage/core-app-api": "^1.0.3",
|
||||
"@backstage/core-components": "^0.15.0",
|
||||
"@backstage/core-components": "^0.14.0",
|
||||
"@backstage/core-plugin-api": "^1.0.3",
|
||||
"@backstage/integration-react": "^1.1.1",
|
||||
"@backstage/plugin-api-docs": "^0.11.0",
|
||||
"@backstage/plugin-catalog": "^1.3.0",
|
||||
"@backstage/plugin-catalog-common": "^1.0.3",
|
||||
"@backstage/plugin-catalog-graph": "^0.4.0",
|
||||
"@backstage/plugin-catalog-import": "^0.12.0",
|
||||
"@backstage/plugin-catalog-import": "^0.11.0",
|
||||
"@backstage/plugin-catalog-react": "^1.1.1",
|
||||
"@backstage/plugin-github-actions": "^0.6.0",
|
||||
"@backstage/plugin-org": "^0.6.0",
|
||||
@ -31,21 +31,21 @@
|
||||
"@backstage/plugin-techdocs-module-addons-contrib": "^1.0.1",
|
||||
"@backstage/plugin-techdocs-react": "^1.0.1",
|
||||
"@backstage/plugin-user-settings": "^0.8.0",
|
||||
"@backstage/theme": "^0.6.0",
|
||||
"@backstage/theme": "^0.5.0",
|
||||
"@internal/plugin-catalog-backend-module-gitea": "^0.1.0",
|
||||
"@mui/material": "^6.0.0",
|
||||
"@mui/icons-material": "^6.0.0",
|
||||
"@material-ui/core": "^4.12.2",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
"history": "^5.0.0",
|
||||
"react": "^18.0.0",
|
||||
"react-dom": "^18.0.0",
|
||||
"react-router": "6.28.0",
|
||||
"react-router-dom": "6.28.0",
|
||||
"react-router": "6.23.1",
|
||||
"react-router-dom": "6.23.1",
|
||||
"react-use": "^17.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/test-utils": "^1.1.1",
|
||||
"@testing-library/jest-dom": "^6.0.0",
|
||||
"@testing-library/react": "^16.0.0",
|
||||
"@testing-library/react": "^15.0.0",
|
||||
"@testing-library/user-event": "^14.0.0",
|
||||
"@types/jest": "^29.0.0",
|
||||
"@types/node": "^20.0.0",
|
||||
|
@ -16,18 +16,18 @@
|
||||
"build-image": "docker build ../.. -f Dockerfile --tag backstage"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/backend-common": "^0.25.0",
|
||||
"@backstage/backend-tasks": "^0.6.0",
|
||||
"@backstage/backend-common": "^0.22.0",
|
||||
"@backstage/backend-tasks": "^0.5.0",
|
||||
"@backstage/catalog-client": "^1.0.3",
|
||||
"@backstage/catalog-model": "^1.0.3",
|
||||
"@backstage/config": "^1.0.1",
|
||||
"@backstage/plugin-app-backend": "^0.3.33",
|
||||
"@backstage/plugin-auth-backend": "^0.23.0",
|
||||
"@backstage/plugin-auth-backend": "^0.22.0",
|
||||
"@backstage/plugin-catalog-backend": "^1.2.0",
|
||||
"@backstage/plugin-catalog-backend-module-github": "^0.7.0",
|
||||
"@backstage/plugin-permission-common": "^0.8.0",
|
||||
"@backstage/plugin-permission-node": "^0.8.0",
|
||||
"@backstage/plugin-proxy-backend": "^0.5.0",
|
||||
"@backstage/plugin-catalog-backend-module-github": "^0.6.0",
|
||||
"@backstage/plugin-permission-common": "^0.7.0",
|
||||
"@backstage/plugin-permission-node": "^0.7.0",
|
||||
"@backstage/plugin-proxy-backend": "^0.4.0",
|
||||
"@backstage/plugin-scaffolder-backend": "^1.3.0",
|
||||
"@backstage/plugin-search-backend": "^1.0.0",
|
||||
"@backstage/plugin-search-backend-module-pg": "^0.5.0",
|
||||
@ -41,12 +41,12 @@
|
||||
"winston": "^3.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.28.0",
|
||||
"@backstage/cli": "^0.26.0",
|
||||
"@types/dockerode": "^3.3.0",
|
||||
"@types/express": "^4.17.6",
|
||||
"@types/express-serve-static-core": "^4.17.5",
|
||||
"@types/luxon": "^3.0.0",
|
||||
"better-sqlite3": "^11.0.0"
|
||||
"better-sqlite3": "^10.0.0"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
|
@ -23,11 +23,11 @@
|
||||
"postpack": "backstage-cli package postpack"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/core-components": "^0.15.0",
|
||||
"@backstage/core-components": "^0.14.0",
|
||||
"@backstage/core-plugin-api": "^1.0.3",
|
||||
"@backstage/theme": "^0.6.0",
|
||||
"@mui/material": "^6.0.0",
|
||||
"@mui/icons-material": "^6.0.0",
|
||||
"@backstage/theme": "^0.5.0",
|
||||
"@material-ui/core": "^4.9.13",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
"@material-ui/lab": "4.0.0-alpha.61",
|
||||
"react-use": "^17.2.4"
|
||||
},
|
||||
@ -35,12 +35,12 @@
|
||||
"react": "^16.13.1 || ^17.0.0 || ^18.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.28.0",
|
||||
"@backstage/cli": "^0.26.0",
|
||||
"@backstage/core-app-api": "^1.0.3",
|
||||
"@backstage/dev-utils": "^1.0.3",
|
||||
"@backstage/test-utils": "^1.1.1",
|
||||
"@testing-library/jest-dom": "^6.0.0",
|
||||
"@testing-library/react": "^16.0.0",
|
||||
"@testing-library/react": "^15.0.0",
|
||||
"@testing-library/user-event": "^14.0.0",
|
||||
"@types/jest": "*",
|
||||
"@types/node": "*",
|
||||
|
Loading…
Reference in New Issue
Block a user