Compare commits

...
Sign in to create a new pull request.

24 commits

Author SHA1 Message Date
6606d6dbee sync: update watch-repos.yaml from wavecat repo 2026-03-17 13:15:22 +00:00
226cc6bea2 sync: update fluffychat-trigger.yaml from wavecat repo 2026-03-17 13:15:19 +00:00
3b7b383fa7 sync: update fluffychat-build.yaml from wavecat repo 2026-03-17 13:15:17 +00:00
d536847a66 sync: update continuwuity-trigger.yaml from wavecat repo
All checks were successful
Trigger FluffyChat CI Pipeline / dispatch (push) Successful in 6s
2026-03-17 13:15:15 +00:00
cdcb46fa78 sync: update continuwuity-build.yaml from wavecat repo
Some checks failed
Trigger FluffyChat CI Pipeline / dispatch (push) Has been cancelled
2026-03-17 13:15:13 +00:00
a4feaf53fe sync: remove stale trigger.yaml
All checks were successful
Trigger FluffyChat CI Pipeline / dispatch (push) Successful in 5s
2026-03-17 13:11:02 +00:00
22da285cbf sync: remove stale build.yaml
Some checks failed
Trigger FluffyChat CI Pipeline / dispatch (push) Has been cancelled
2026-03-17 13:11:01 +00:00
559b2d0f75 sync: update watch-repos.yaml from wavecat repo
Some checks failed
Trigger FluffyChat CI Pipeline / dispatch (push) Has been cancelled
2026-03-17 13:10:59 +00:00
15fa9ac30e sync: update fluffychat-trigger.yaml from wavecat repo
Some checks failed
Trigger FluffyChat CI Pipeline / dispatch (push) Has been cancelled
2026-03-17 13:10:58 +00:00
e0d749558c sync: update fluffychat-build.yaml from wavecat repo
Some checks are pending
Trigger FluffyChat CI Pipeline / dispatch (push) Waiting to run
2026-03-17 13:10:54 +00:00
2522197664 sync: add continuwuity-trigger.yaml from wavecat repo
Some checks failed
Trigger FluffyChat CI Pipeline / dispatch (push) Has been cancelled
2026-03-17 13:10:52 +00:00
fb84a108d2 sync: add continuwuity-build.yaml from wavecat repo
Some checks failed
Trigger FluffyChat CI Pipeline / dispatch (push) Has been cancelled
2026-03-17 13:10:51 +00:00
56bfc62e54 sync: update watch-repos.yaml from wavecat repo
All checks were successful
Trigger FluffyChat CI Pipeline / dispatch (push) Successful in 5s
2026-03-17 13:07:41 +00:00
86ba80b5f0 sync: update trigger.yaml from wavecat repo
Some checks failed
Trigger FluffyChat CI Pipeline / dispatch (push) Has been cancelled
2026-03-17 13:07:40 +00:00
825f491e84 sync: update fluffychat-trigger.yaml from wavecat repo
Some checks are pending
Trigger FluffyChat CI Pipeline / dispatch (push) Waiting to run
Trigger CI Pipeline / dispatch (push) Successful in 5s
2026-03-17 13:07:38 +00:00
97e602c53d sync: update fluffychat-build.yaml from wavecat repo
Some checks failed
Trigger FluffyChat CI Pipeline / dispatch (push) Has been cancelled
Trigger CI Pipeline / dispatch (push) Has been cancelled
2026-03-17 13:07:37 +00:00
2f5c57c08d sync: update build.yaml from wavecat repo
Some checks failed
Trigger CI Pipeline / dispatch (push) Has been cancelled
Trigger FluffyChat CI Pipeline / dispatch (push) Has been cancelled
2026-03-17 13:07:36 +00:00
148173755b Update .forgejo/workflows/fluffychat-build.yaml
All checks were successful
Trigger FluffyChat CI Pipeline / dispatch (push) Successful in 5s
Trigger CI Pipeline / dispatch (push) Successful in 6s
2026-03-17 12:19:36 +00:00
039d67f194 Update .forgejo/workflows/fluffychat-build.yaml
All checks were successful
Trigger FluffyChat CI Pipeline / dispatch (push) Successful in 4s
Trigger CI Pipeline / dispatch (push) Successful in 1m0s
2026-03-17 11:32:00 +00:00
35b318a63e Add .forgejo/workflows/watch-repos.yaml
All checks were successful
Trigger FluffyChat CI Pipeline / dispatch (push) Successful in 3s
Trigger CI Pipeline / dispatch (push) Successful in 1m48s
2026-03-17 09:10:22 +00:00
8a74ab3d66 Update .forgejo/workflows/fluffychat-trigger.yaml
All checks were successful
Trigger CI Pipeline / dispatch (push) Successful in 4s
Trigger FluffyChat CI Pipeline / dispatch (push) Successful in 5s
2026-03-17 09:09:54 +00:00
8d9645f049 Update workflows/fluffychat-trigger.yaml
All checks were successful
Trigger CI Pipeline / dispatch (push) Successful in 3s
2026-03-17 09:09:17 +00:00
4c61fc7dda Add fluffychat-trigger.yaml
All checks were successful
Trigger CI Pipeline / dispatch (push) Successful in 3s
2026-03-17 08:49:38 +00:00
7135fad18e Add .forgejo/workflows/fluffychat-build.yaml
All checks were successful
Trigger CI Pipeline / dispatch (push) Successful in 2s
2026-03-17 08:43:31 +00:00
5 changed files with 121 additions and 2 deletions

View file

@ -16,7 +16,7 @@ jobs:
- name: Checkout Continuwuity
run: |
REF=${{ github.event.client_payload.ref || 'main' }}
REF=${{ github.event.client_payload.ref || 'deployment' }}
git clone --depth 1 --branch "${REF##refs/heads/}" \
http://forgejo.tooling.svc.cluster.local:3000/ember/continuwuity.git .

View file

@ -3,7 +3,7 @@ name: Trigger CI Pipeline
on:
push:
branches:
- main
- deployment
jobs:
dispatch:

View file

@ -0,0 +1,33 @@
name: Build and Push FluffyChat
on:
workflow_dispatch:
repository_dispatch:
types: [fluffychat-push]
jobs:
build-and-push:
runs-on: ubuntu-latest
container:
image: docker:cli
steps:
- name: Install git
run: apk add --no-cache git
- name: Checkout FluffyChat
run: |
REF=${{ github.event.client_payload.ref || 'deployment' }}
git clone --depth 1 --branch "${REF##refs/heads/}" \
http://forgejo.tooling.svc.cluster.local:3000/ember/fluffychat.git .
- name: Build container image
run: |
SHA=${{ github.event.client_payload.sha || 'latest' }}
docker build -t 10.70.69.22:30500/ember/fluffychat:latest \
-t 10.70.69.22:30500/ember/fluffychat:${SHA} .
- name: Push to Zot
run: |
SHA=${{ github.event.client_payload.sha || 'latest' }}
docker push 10.70.69.22:30500/ember/fluffychat:latest
docker push 10.70.69.22:30500/ember/fluffychat:${SHA}

View file

@ -0,0 +1,18 @@
name: Trigger FluffyChat CI Pipeline
on:
push:
branches:
- deployment
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Trigger build in ci-pipelines repo
run: |
curl -s -X POST \
"http://forgejo.tooling.svc.cluster.local:3000/api/v1/repos/ember/ci-pipelines/dispatches" \
-H "Authorization: token ${{ secrets.CI_DISPATCH_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{"event_type": "fluffychat-push", "client_payload": {"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}}'

View file

@ -0,0 +1,68 @@
name: Watch Repos for Changes
on:
schedule:
- cron: '*/5 * * * *'
workflow_dispatch:
jobs:
check-continuwuity:
runs-on: ubuntu-latest
container:
image: docker:cli
steps:
- name: Install tools
run: apk add --no-cache git curl
- name: Check for new commits
run: |
LAST_SHA=$(curl -s "http://forgejo.tooling.svc.cluster.local:3000/api/v1/repos/ember/continuwuity/branches/deployment" | grep -o '"sha":"[^"]*"' | head -1 | cut -d'"' -f4)
BUILT_SHA=$(curl -s "http://10.70.69.22:30500/v2/ember/continuwuity/tags/list" | grep -o "$LAST_SHA" || true)
if [ -z "$BUILT_SHA" ] && [ -n "$LAST_SHA" ]; then
echo "New commit detected: $LAST_SHA"
echo "BUILD=true" >> $GITHUB_ENV
echo "SHA=$LAST_SHA" >> $GITHUB_ENV
else
echo "No new commits"
fi
- name: Trigger build
if: env.BUILD == 'true'
run: |
git clone --depth 1 --branch deployment \
http://forgejo.tooling.svc.cluster.local:3000/ember/continuwuity.git .
docker build -t 10.70.69.22:30500/ember/continuwuity:latest \
-t 10.70.69.22:30500/ember/continuwuity:${SHA} \
-f docker/Dockerfile .
docker push 10.70.69.22:30500/ember/continuwuity:latest
docker push 10.70.69.22:30500/ember/continuwuity:${SHA}
check-fluffychat:
runs-on: ubuntu-latest
container:
image: docker:cli
steps:
- name: Install tools
run: apk add --no-cache git curl
- name: Check for new commits
run: |
LAST_SHA=$(curl -s "http://forgejo.tooling.svc.cluster.local:3000/api/v1/repos/ember/fluffychat/branches/deployment" | grep -o '"sha":"[^"]*"' | head -1 | cut -d'"' -f4)
BUILT_SHA=$(curl -s "http://10.70.69.22:30500/v2/ember/fluffychat/tags/list" | grep -o "$LAST_SHA" || true)
if [ -z "$BUILT_SHA" ] && [ -n "$LAST_SHA" ]; then
echo "New commit detected: $LAST_SHA"
echo "BUILD=true" >> $GITHUB_ENV
echo "SHA=$LAST_SHA" >> $GITHUB_ENV
else
echo "No new commits"
fi
- name: Trigger build
if: env.BUILD == 'true'
run: |
git clone --depth 1 --branch deployment \
http://forgejo.tooling.svc.cluster.local:3000/ember/fluffychat.git .
docker build -t 10.70.69.22:30500/ember/fluffychat:latest \
-t 10.70.69.22:30500/ember/fluffychat:${SHA} .
docker push 10.70.69.22:30500/ember/fluffychat:latest
docker push 10.70.69.22:30500/ember/fluffychat:${SHA}