Mirror of
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

remove lunaria core

+19 -392
-244
.github/workflows/deployment.yaml
··· 1 - name: Deployment 2 - 3 - on: 4 - push: 5 - branches: [main] 6 - workflow_dispatch: 7 - 8 - concurrency: 9 - group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }} 10 - cancel-in-progress: true 11 - 12 - env: 13 - REGISTRY: docker.io 14 - IMAGE_OWNER: trueberryless 15 - IMAGE_NAME: mutanuq 16 - LUNARIA_IMAGE_NAME: i18n-mutanuq 17 - NODE_VERSION: 20 18 - 19 - jobs: 20 - changes: 21 - name: Filter 22 - runs-on: ubuntu-latest 23 - outputs: 24 - starlight: ${{ steps.filter.outputs.starlight }} 25 - steps: 26 - - name: Check out the repo 27 - uses: actions/checkout@v4 28 - 29 - - uses: dorny/paths-filter@v3 30 - id: filter 31 - with: 32 - filters: | 33 - starlight: 34 - - 'starlight/**' 35 - 36 - changesets: 37 - name: Changesets 38 - runs-on: ubuntu-latest 39 - outputs: 40 - hasChangesets: ${{ steps.changesets.outputs.hasChangesets }} 41 - permissions: 42 - contents: write 43 - pull-requests: write 44 - steps: 45 - - name: Generate GitHub App token 46 - id: generate_token 47 - uses: tibdex/github-app-token@v2.1.0 48 - with: 49 - app_id: ${{ secrets.BOT_APP_ID }} 50 - private_key: ${{ secrets.BOT_PRIVATE_KEY }} 51 - 52 - - name: Checkout Repo 53 - uses: actions/checkout@v4 54 - 55 - - name: Setup PNPM 56 - uses: pnpm/action-setup@v3 57 - 58 - - name: Setup Node 59 - uses: actions/setup-node@v4 60 - with: 61 - node-version: ${{ env.NODE_VERSION }} 62 - cache: "pnpm" 63 - 64 - - name: Install Dependencies 65 - run: pnpm i 66 - 67 - - name: Create Release Pull Request 68 - uses: changesets/action@v1 69 - id: changesets 70 - with: 71 - version: pnpm run version 72 - commit: "[ci] release" 73 - title: "[ci] release" 74 - env: 75 - GITHUB_TOKEN: ${{ steps.generate_token.outputs.token}} 76 - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} 77 - 78 - - name: Get published version 79 - if: steps.changesets.outputs.hasChangesets == 'true' 80 - run: | 81 - git checkout changeset-release/main 82 - VERSION=$(node -p "require('./starlight/package.json').version") 83 - git commit --amend -m "[ci] release ${{ env.IMAGE_NAME }} v$VERSION" --no-edit 84 - git push origin changeset-release/main:changeset-release/main --force 85 - 86 - image-tag: 87 - name: Image Tag 88 - runs-on: ubuntu-latest 89 - outputs: 90 - IMAGE_TAG: ${{ env.IMAGE_TAG }} 91 - steps: 92 - - name: Check out the repo 93 - uses: actions/checkout@v4 94 - 95 - - name: Read version from package.json 96 - id: get_version 97 - run: | 98 - VERSION=$(jq -r '.version' starlight/package.json) 99 - echo "IMAGE_TAG=$VERSION" >> $GITHUB_ENV 100 - 101 - deployment: 102 - needs: [changes, changesets, image-tag] 103 - if: > 104 - ( 105 - needs.changesets.outputs.hasChangesets == 'false' && 106 - ( 107 - contains(github.event.head_commit.message, 'deploy') || 108 - contains(github.event.head_commit.message, '[ci] release') 109 - ) 110 - ) || 111 - github.event_name == 'workflow_dispatch' 112 - runs-on: ubuntu-latest 113 - permissions: 114 - contents: write 115 - steps: 116 - - name: Check out the repo 117 - uses: actions/checkout@v4 118 - with: 119 - fetch-depth: 0 120 - 121 - - name: Setup PNPM 122 - uses: pnpm/action-setup@v3 123 - with: 124 - package_json_file: ./starlight/package.json 125 - 126 - - name: Setup Node 127 - uses: actions/setup-node@v4 128 - with: 129 - node-version: ${{ env.NODE_VERSION }} 130 - cache: pnpm 131 - cache-dependency-path: ./pnpm-lock.yaml 132 - 133 - - name: Install dependencies 134 - run: pnpm install 135 - shell: bash 136 - working-directory: ./starlight 137 - 138 - - name: Build Website 139 - run: pnpm run build 140 - shell: bash 141 - working-directory: ./starlight 142 - 143 - - name: Build Lunaria Website 144 - run: pnpm run lunaria:build 145 - shell: bash 146 - working-directory: ./starlight 147 - 148 - - name: Set up Docker Buildx 149 - uses: docker/setup-buildx-action@v3 150 - 151 - - name: Log in to Docker Hub 152 - uses: docker/login-action@v3 153 - with: 154 - username: ${{ secrets.DOCKER_USERNAME }} 155 - password: ${{ secrets.DOCKER_PASSWORD }} 156 - 157 - - name: Extract metadata (tags, labels) for Docker 158 - id: meta 159 - uses: docker/metadata-action@v5 160 - with: 161 - images: ${{ env.REGISTRY }}/${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }} 162 - 163 - - name: Build and push Docker image 164 - uses: docker/build-push-action@v6 165 - with: 166 - context: . 167 - push: true 168 - tags: | 169 - ${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}:${{ needs.image-tag.outputs.IMAGE_TAG }} 170 - ${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}:latest 171 - labels: ${{ steps.meta.outputs.labels }} 172 - 173 - - name: Extract metadata (tags, labels) for Docker 174 - id: meta-lunaria 175 - uses: docker/metadata-action@v5 176 - with: 177 - images: ${{ env.REGISTRY }}/${{ env.IMAGE_OWNER }}/${{ env.LUNARIA_IMAGE_NAME }} 178 - 179 - - name: Build and push Docker image 180 - uses: docker/build-push-action@v6 181 - with: 182 - context: . 183 - file: ./starlight/lunaria/Dockerfile 184 - push: true 185 - tags: | 186 - ${{ env.IMAGE_OWNER }}/${{ env.LUNARIA_IMAGE_NAME }}:${{ needs.image-tag.outputs.IMAGE_TAG }} 187 - ${{ env.IMAGE_OWNER }}/${{ env.LUNARIA_IMAGE_NAME }}:latest 188 - labels: ${{ steps.meta-lunaria.outputs.labels }} 189 - 190 - - name: Update manifest/deployment.yaml file 191 - run: | 192 - yq eval '.spec.template.spec.containers[0].image = "${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}:${{ needs.image-tag.outputs.IMAGE_TAG }}"' -i manifest/deployment.yaml 193 - 194 - - name: Update manifest-lunaria/deployment.yaml file 195 - run: | 196 - yq eval '.spec.template.spec.containers[0].image = "${{ env.IMAGE_OWNER }}/${{ env.LUNARIA_IMAGE_NAME }}:${{ needs.image-tag.outputs.IMAGE_TAG }}"' -i manifest-lunaria/deployment.yaml 197 - 198 - - uses: stefanzweifel/git-auto-commit-action@v4 199 - with: 200 - commit_message: "[ci] deployment" 201 - 202 - release: 203 - name: Release 204 - needs: [image-tag, deployment] 205 - runs-on: ubuntu-latest 206 - permissions: 207 - contents: write 208 - steps: 209 - - name: Check out the repo 210 - uses: actions/checkout@v4 211 - 212 - - id: extract-changelog 213 - uses: sean0x42/markdown-extract@v2.1.0 214 - with: 215 - file: starlight/CHANGELOG.md 216 - pattern: ${{ needs.image-tag.outputs.IMAGE_TAG }} 217 - 218 - - uses: ncipollo/release-action@v1 219 - id: create_release 220 - with: 221 - tag: ${{ env.IMAGE_NAME }}@${{ needs.image-tag.outputs.IMAGE_TAG }} 222 - makeLatest: true 223 - body: ${{ steps.extract-changelog.outputs.markdown }} 224 - skipIfReleaseExists: true 225 - 226 - - name: Check if release was created 227 - id: check_release 228 - run: | 229 - if [ -z "${{ steps.create_release.outputs.html_url }}" ]; then 230 - echo "RELEASE_SKIPPED=true" >> $GITHUB_ENV 231 - else 232 - echo "RELEASE_SKIPPED=false" >> $GITHUB_ENV 233 - fi 234 - 235 - - name: Discord notification 236 - if: env.RELEASE_SKIPPED == 'false' 237 - env: 238 - DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL }} 239 - uses: Ilshidur/action-discord@0.3.2 240 - with: 241 - args: | 242 - # ${{ env.IMAGE_NAME }}@${{ needs.image-tag.outputs.IMAGE_TAG }} 243 - 244 - ${{ steps.extract-changelog.outputs.markdown }}
-12
manifest-lunaria/certificate.yaml
··· 1 - apiVersion: cert-manager.io/v1 2 - kind: Certificate 3 - metadata: 4 - name: i18n-mutanuq 5 - namespace: i18n-mutanuq 6 - spec: 7 - secretName: i18n-mutanuq 8 - issuerRef: 9 - name: acme-issuer 10 - kind: ClusterIssuer 11 - dnsNames: 12 - - "i18n-mutanuq.trueberryless.org"
-21
manifest-lunaria/deployment.yaml
··· 1 - apiVersion: apps/v1 2 - kind: Deployment 3 - metadata: 4 - name: i18n-mutanuq 5 - namespace: i18n-mutanuq 6 - labels: 7 - app: i18n-mutanuq 8 - spec: 9 - replicas: 3 10 - selector: 11 - matchLabels: 12 - app: i18n-mutanuq 13 - template: 14 - metadata: 15 - labels: 16 - app: i18n-mutanuq 17 - spec: 18 - containers: 19 - - name: i18n-mutanuq 20 - image: "trueberryless/i18n-mutanuq:0.2.0" 21 - imagePullPolicy: Always
-22
manifest-lunaria/ingress.yaml
··· 1 - apiVersion: networking.k8s.io/v1 2 - kind: Ingress 3 - metadata: 4 - name: i18n-mutanuq 5 - namespace: i18n-mutanuq 6 - spec: 7 - rules: 8 - - host: i18n-mutanuq.trueberryless.org 9 - http: 10 - paths: 11 - - path: / 12 - pathType: Prefix 13 - backend: 14 - service: 15 - name: i18n-mutanuq 16 - port: 17 - number: 80 18 - 19 - tls: 20 - - hosts: 21 - - i18n-mutanuq.trueberryless.org 22 - secretName: i18n-mutanuq
-4
manifest-lunaria/namespace.yaml
··· 1 - apiVersion: v1 2 - kind: Namespace 3 - metadata: 4 - name: i18n-mutanuq
-13
manifest-lunaria/service.yaml
··· 1 - apiVersion: v1 2 - kind: Service 3 - metadata: 4 - name: i18n-mutanuq 5 - namespace: i18n-mutanuq 6 - annotations: 7 - cert-manager.io/issuer: acme-issuer 8 - spec: 9 - selector: 10 - app: i18n-mutanuq 11 - ports: 12 - - name: http 13 - port: 80
-12
manifest/certificate.yaml
··· 1 - apiVersion: cert-manager.io/v1 2 - kind: Certificate 3 - metadata: 4 - name: mutanuq 5 - namespace: mutanuq 6 - spec: 7 - secretName: mutanuq 8 - issuerRef: 9 - name: acme-issuer 10 - kind: ClusterIssuer 11 - dnsNames: 12 - - "mutanuq.trueberryless.org"
-21
manifest/deployment.yaml
··· 1 - apiVersion: apps/v1 2 - kind: Deployment 3 - metadata: 4 - name: mutanuq 5 - namespace: mutanuq 6 - labels: 7 - app: mutanuq 8 - spec: 9 - replicas: 3 10 - selector: 11 - matchLabels: 12 - app: mutanuq 13 - template: 14 - metadata: 15 - labels: 16 - app: mutanuq 17 - spec: 18 - containers: 19 - - name: mutanuq 20 - image: "trueberryless/mutanuq:0.2.0" 21 - imagePullPolicy: Always
-22
manifest/ingress.yaml
··· 1 - apiVersion: networking.k8s.io/v1 2 - kind: Ingress 3 - metadata: 4 - name: mutanuq 5 - namespace: mutanuq 6 - spec: 7 - rules: 8 - - host: mutanuq.trueberryless.org 9 - http: 10 - paths: 11 - - path: / 12 - pathType: Prefix 13 - backend: 14 - service: 15 - name: mutanuq 16 - port: 17 - number: 80 18 - 19 - tls: 20 - - hosts: 21 - - mutanuq.trueberryless.org 22 - secretName: mutanuq
-4
manifest/namespace.yaml
··· 1 - apiVersion: v1 2 - kind: Namespace 3 - metadata: 4 - name: mutanuq
-13
manifest/service.yaml
··· 1 - apiVersion: v1 2 - kind: Service 3 - metadata: 4 - name: mutanuq 5 - namespace: mutanuq 6 - annotations: 7 - cert-manager.io/issuer: acme-issuer 8 - spec: 9 - selector: 10 - app: mutanuq 11 - ports: 12 - - name: http 13 - port: 80
+18 -3
pnpm-lock.yaml
··· 35 35 '@fontsource-variable/jetbrains-mono': 36 36 specifier: ^5.0.21 37 37 version: 5.1.1 38 - '@lunariajs/core': 39 - specifier: ^0.1.0 40 - version: 0.1.1 38 + '@lunariajs/starlight': 39 + specifier: ^0.1.1 40 + version: 0.1.1(@astrojs/starlight@0.32.2(astro@5.4.2(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2)))(astro@5.4.2(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2)) 41 41 '@zachleat/table-saw': 42 42 specifier: ^1.0.6 43 43 version: 1.0.6 ··· 533 533 resolution: {integrity: sha512-sAqM9+DVsLe3xHM9wu2pEnKGYMs/bWS9qpR+CGHol3RihOELnOQTzHddXbdB1MtgesbI8dnQuG64Ocd8KkWsng==} 534 534 engines: {node: '>=18.17.0'} 535 535 hasBin: true 536 + 537 + '@lunariajs/starlight@0.1.1': 538 + resolution: {integrity: sha512-tpkqv8TCGUvz0z5nVk1ACb/2bT3seqDx+CHimNQugcpAFSip9BqDPOiWqaCujzZFajfR/L4mUsPAnavnnE8KVw==} 539 + engines: {node: '>=18.17.0'} 540 + peerDependencies: 541 + '@astrojs/starlight': '>=0.14.0' 542 + astro: '>=4.0.0' 536 543 537 544 '@manypkg/find-root@1.1.0': 538 545 resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} ··· 3099 3106 simple-git: 3.27.0 3100 3107 ultramatter: 0.0.4 3101 3108 zod: 3.23.8 3109 + transitivePeerDependencies: 3110 + - supports-color 3111 + 3112 + '@lunariajs/starlight@0.1.1(@astrojs/starlight@0.32.2(astro@5.4.2(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2)))(astro@5.4.2(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2))': 3113 + dependencies: 3114 + '@astrojs/starlight': 0.32.2(astro@5.4.2(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2)) 3115 + '@lunariajs/core': 0.1.1 3116 + astro: 5.4.2(jiti@1.21.6)(rollup@4.35.0)(typescript@5.7.2) 3102 3117 transitivePeerDependencies: 3103 3118 - supports-color 3104 3119
+1 -1
starlight/package.json
··· 17 17 "@11ty/eleventy-fetch": "^4.0.1", 18 18 "@astrojs/starlight": "^0.32.2", 19 19 "@fontsource-variable/jetbrains-mono": "^5.0.21", 20 - "@lunariajs/core": "^0.1.0", 20 + "@lunariajs/starlight": "^0.1.1", 21 21 "@zachleat/table-saw": "^1.0.6", 22 22 "astro": "^5.4.2", 23 23 "astro-feelback": "^0.3.4",