7 Commits

Author SHA1 Message Date
CI
d5abea48b3 release v1.0.6 [skip ci] 2026-03-05 15:37:20 +00:00
1da69ac272 patch: fix docker login during push stage (#18)
All checks were successful
Push / release-docker-helm (push) Successful in 4m24s
Co-authored-by: Madison Grubb <madison@elastiflow.com>
Reviewed-on: #18
2026-03-05 15:34:32 +00:00
CI
bd2092a3ea release v1.0.5 [skip ci] 2026-03-05 14:55:05 +00:00
afb6fb8ac7 patch: fix deploy pipeline stages for token registry uploads (#17)
Some checks failed
Push / release-docker-helm (push) Failing after 2m56s
Co-authored-by: Madison Grubb <madison@elastiflow.com>
Reviewed-on: #17
2026-03-05 14:52:10 +00:00
CI
414e9f4c33 release v1.0.4 [skip ci] 2026-03-04 20:04:05 +00:00
10035221fb patch: fix deploy pipeline (#15)
Some checks failed
Push / release-docker-helm (push) Failing after 2m15s
Co-authored-by: Madison Grubb <madison@elastiflow.com>
Reviewed-on: #15
2026-03-04 20:01:50 +00:00
52a6f4368c patch: migrate to gitea actions (#14)
Some checks failed
Push / release-docker-helm (push) Failing after 2s
Co-authored-by: Madison Grubb <madison@elastiflow.com>
Reviewed-on: #14
2026-03-04 19:49:16 +00:00
6 changed files with 46 additions and 53 deletions

View File

@@ -4,7 +4,7 @@ on:
pull_request:
jobs:
install:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
@@ -18,35 +18,11 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Upload node_modules
uses: actions/upload-artifact@v7
with:
name: node-modules
path: node_modules/
lint:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: "24"
cache: "npm"
- name: Restore node_modules
uses: actions/download-artifact@v8
with:
name: node-modules
- name: Run lint
run: npm run lint
test:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v6
@@ -56,17 +32,16 @@ jobs:
node-version: "24"
cache: "npm"
- name: Restore node_modules
uses: actions/download-artifact@v8
with:
name: node-modules
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test
e2e:
runs-on: ubuntu-latest
needs: install
container:
image: mcr.microsoft.com/playwright:v1.58.2-noble
steps:
- uses: actions/checkout@v6
@@ -76,13 +51,8 @@ jobs:
node-version: "24"
cache: "npm"
- name: Restore node_modules
uses: actions/download-artifact@v8
with:
name: node-modules
- name: Install Playwright browsers
run: npx playwright install --with-deps chromium
- name: Install dependencies
run: npm ci
- name: Generate dev cert
run: ./scripts/gen-dev-cert.sh
@@ -97,12 +67,19 @@ jobs:
steps:
- uses: actions/checkout@v6
- name: Set Docker image tag
id: image
run: |
REGISTRY="${GITHUB_SERVER_URL#https://}"
REGISTRY="${REGISTRY#http://}"
echo "tag=${REGISTRY}/${{ github.repository }}:latest" >> $GITHUB_OUTPUT
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4
- name: Build (dry run)
uses: docker/build-push-action@v6
with:
context: .
push: false
tags: ${{ github.server_url }}/${{ github.repository }}:latest
tags: ${{ steps.image.outputs.tag }}

View File

@@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v6
with:
token: ${{ secrets.GITEA_REPO_TOKEN }}
token: ${{ secrets.KESTRELOS_REPO_TOKEN }}
- name: Release (bump, tag, push, create release)
env:
@@ -18,18 +18,20 @@ jobs:
CI_REPO_NAME: ${{ github.event.repository.name }}
CI_FORGE_URL: ${{ github.server_url }}
CI_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
GITEA_REPO_TOKEN: ${{ secrets.GITEA_REPO_TOKEN }}
GITEA_REPO_TOKEN: ${{ secrets.KESTRELOS_REPO_TOKEN }}
run: |
sudo apt-get update -qq && sudo apt-get install -y -qq git wget
./scripts/release.sh
- name: Log in to container registry
run: |
REGISTRY="${GITHUB_SERVER_URL#https://}"
echo "${{ secrets.GITEA_REGISTRY_TOKEN }}" | docker login "$REGISTRY" -u "${{ github.actor }}" --password-stdin
uses: docker/login-action@v4
with:
registry: git.keligrubb.com
username: ${{ github.actor }}
password: ${{ secrets.KESTRELOS_REPO_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4
- name: Build Docker image
uses: docker/build-push-action@v6
@@ -40,20 +42,22 @@ jobs:
- name: Push Docker image (all tags from .tags)
run: |
REGISTRY="${GITHUB_SERVER_URL#https://}"
REGISTRY="git.keligrubb.com"
IMAGE="$REGISTRY/${{ github.repository }}"
while read -r tag; do
docker tag kestrelos:built "$IMAGE:$tag"
docker push "$IMAGE:$tag"
done < .tags
- name: Set up Helm
uses: azure/setup-helm@v4
- name: Package and push Helm chart
env:
GITEA_REGISTRY_TOKEN: ${{ secrets.GITEA_REGISTRY_TOKEN }}
GITEA_REPO_TOKEN: ${{ secrets.KESTRELOS_REPO_TOKEN }}
run: |
curl -sSfL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
helm package helm/kestrelos
for f in kestrelos-*.tgz; do
curl -sf -u "${{ github.actor }}:$GITEA_REGISTRY_TOKEN" -X POST --upload-file "$f" \
curl -sf -u "${{ github.actor }}:$GITEA_REPO_TOKEN" -X POST --upload-file "$f" \
"${{ github.server_url }}/api/packages/${{ github.actor }}/helm/api/charts"
done

View File

@@ -1,3 +1,15 @@
## [1.0.6] - 2026-03-05
### Changed
- fix docker login during push stage (#18)
## [1.0.5] - 2026-03-05
### Changed
- fix deploy pipeline stages for token registry uploads (#17)
## [1.0.4] - 2026-03-04
### Changed
- fix deploy pipeline (#15)
## [1.0.3] - 2026-02-23
### Changed
- fix(deps): update dependency vue-router to v5 (#12)

View File

@@ -2,5 +2,5 @@ apiVersion: v2
name: kestrelos
description: KestrelOS TOC for OSINT feeds - map, camera feeds, offline tiles
type: application
version: 1.0.3
appVersion: "1.0.3"
version: 1.0.6
appVersion: "1.0.6"

View File

@@ -2,7 +2,7 @@ replicaCount: 1
image:
repository: git.keligrubb.com/keligrubb/kestrelos
tag: 1.0.3
tag: 1.0.6
pullPolicy: IfNotPresent
service:

View File

@@ -1,6 +1,6 @@
{
"name": "kestrelos",
"version": "1.0.3",
"version": "1.0.6",
"private": true,
"type": "module",
"scripts": {