Compare commits
1 Commits
e2889d43b7
...
71686ecf5e
Author | SHA1 | Date | |
---|---|---|---|
71686ecf5e
|
40
.gitea/workflows/process-repository.yaml
Normal file
40
.gitea/workflows/process-repository.yaml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
name: process-repository
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "@daily"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
process-repository:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout Python Script
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: alexlebens/workflow-scripts
|
||||||
|
ref: main
|
||||||
|
token: ${{ secrets.BOT_TOKEN }}
|
||||||
|
path: workflow-scripts
|
||||||
|
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: "3.13"
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pip install requests immutabledict
|
||||||
|
|
||||||
|
- name: Run Script
|
||||||
|
env:
|
||||||
|
INSTANCE_URL: ${{ vars.INSTANCE_URL }}
|
||||||
|
OWNER: ${{ gitea.owner }}
|
||||||
|
REPOSITORY: ${{ gitea.repository }}
|
||||||
|
TOKEN: ${{ secrets.BOT_TOKEN }}
|
||||||
|
LOG_LEVEL: DEBUG
|
||||||
|
ISSUE_STALE_DAYS: 3
|
||||||
|
ISSUE_STALE_TAG: 16
|
||||||
|
ISSUE_EXCLUDE_TAG: 20
|
||||||
|
PULL_REQUEST_STALE_DAYS: 3
|
||||||
|
PULL_REQUEST_STALE_TAG: 16
|
||||||
|
PULL_REQUEST_REQUIRED_TAG: 15
|
||||||
|
run: python ./workflow-scripts/process-repository.py
|
@@ -1,28 +0,0 @@
|
|||||||
apiVersion: v2
|
|
||||||
name: site-documentation
|
|
||||||
version: 1.0.0
|
|
||||||
description: Site Documentation
|
|
||||||
keywords:
|
|
||||||
- site-documentation
|
|
||||||
- astro
|
|
||||||
home: https://wiki.alexlebens.dev/s/1c39adb6-e0c6-4b01-b71f-278631adf584
|
|
||||||
sources:
|
|
||||||
- https://github.com/alexlebens/site-documentation
|
|
||||||
- https://github.com/withastro/astro
|
|
||||||
- https://github.com/cloudflare/cloudflared
|
|
||||||
- https://github.com/alexlebens/site-documentation/pkgs/container/site-documentation
|
|
||||||
- https://github.com/bjw-s-labs/helm-charts/tree/main/charts/other/app-template
|
|
||||||
- https://gitea.alexlebens.dev/alexlebens/helm-charts/src/branch/main/charts/cloudflared
|
|
||||||
maintainers:
|
|
||||||
- name: alexlebens
|
|
||||||
dependencies:
|
|
||||||
- name: app-template
|
|
||||||
alias: site-documentation
|
|
||||||
repository: https://bjw-s-labs.github.io/helm-charts/
|
|
||||||
version: 4.2.0
|
|
||||||
- name: cloudflared
|
|
||||||
alias: cloudflared-site
|
|
||||||
repository: oci://harbor.alexlebens.net/helm-charts
|
|
||||||
version: 1.19.0
|
|
||||||
icon: https://d21zlbwtcn424f.cloudfront.net/logo-new-round.png
|
|
||||||
appVersion: 0.8.1
|
|
@@ -1,21 +0,0 @@
|
|||||||
apiVersion: external-secrets.io/v1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: site-documentation-cloudflared-api-secret
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/name: site-documentation-cloudflared-api-secret
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
|
||||||
spec:
|
|
||||||
secretStoreRef:
|
|
||||||
kind: ClusterSecretStore
|
|
||||||
name: vault
|
|
||||||
data:
|
|
||||||
- secretKey: cf-tunnel-token
|
|
||||||
remoteRef:
|
|
||||||
conversionStrategy: Default
|
|
||||||
decodingStrategy: None
|
|
||||||
key: /cloudflare/tunnels/site-documentation
|
|
||||||
metadataPolicy: None
|
|
||||||
property: token
|
|
@@ -1,30 +0,0 @@
|
|||||||
site-documentation:
|
|
||||||
global:
|
|
||||||
fullnameOverride: site-documentation
|
|
||||||
controllers:
|
|
||||||
main:
|
|
||||||
type: deployment
|
|
||||||
replicas: 3
|
|
||||||
strategy: RollingUpdate
|
|
||||||
revisionHistoryLimit: 3
|
|
||||||
containers:
|
|
||||||
main:
|
|
||||||
image:
|
|
||||||
repository: harbor.alexlebens.net/images/site-documentation
|
|
||||||
tag: 1.1.1
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 10m
|
|
||||||
memory: 128Mi
|
|
||||||
service:
|
|
||||||
main:
|
|
||||||
controller: main
|
|
||||||
ports:
|
|
||||||
http:
|
|
||||||
port: 80
|
|
||||||
targetPort: 4321
|
|
||||||
protocol: HTTP
|
|
||||||
cloudflared-site:
|
|
||||||
name: cloudflared-site
|
|
||||||
existingSecretName: site-documentation-cloudflared-api-secret
|
|
Reference in New Issue
Block a user