Compare commits
9 Commits
76b9d4369f
...
v1.0.7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45ce90f3cc | ||
| 3a817625c5 | |||
|
|
d5abea48b3 | ||
| 1da69ac272 | |||
|
|
bd2092a3ea | ||
| afb6fb8ac7 | |||
|
|
414e9f4c33 | ||
| 10035221fb | |||
| 52a6f4368c |
@@ -4,7 +4,7 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
install:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
@@ -18,35 +18,11 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
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
|
- name: Run lint
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: install
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
@@ -56,17 +32,16 @@ jobs:
|
|||||||
node-version: "24"
|
node-version: "24"
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
|
|
||||||
- name: Restore node_modules
|
- name: Install dependencies
|
||||||
uses: actions/download-artifact@v8
|
run: npm ci
|
||||||
with:
|
|
||||||
name: node-modules
|
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: npm run test
|
run: npm run test
|
||||||
|
|
||||||
e2e:
|
e2e:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: install
|
container:
|
||||||
|
image: mcr.microsoft.com/playwright:v1.58.2-noble
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
@@ -76,13 +51,8 @@ jobs:
|
|||||||
node-version: "24"
|
node-version: "24"
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
|
|
||||||
- name: Restore node_modules
|
- name: Install dependencies
|
||||||
uses: actions/download-artifact@v8
|
run: npm ci
|
||||||
with:
|
|
||||||
name: node-modules
|
|
||||||
|
|
||||||
- name: Install Playwright browsers
|
|
||||||
run: npx playwright install --with-deps chromium
|
|
||||||
|
|
||||||
- name: Generate dev cert
|
- name: Generate dev cert
|
||||||
run: ./scripts/gen-dev-cert.sh
|
run: ./scripts/gen-dev-cert.sh
|
||||||
@@ -97,12 +67,19 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- 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
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v4
|
||||||
|
|
||||||
- name: Build (dry run)
|
- name: Build (dry run)
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v7
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: false
|
push: false
|
||||||
tags: ${{ github.server_url }}/${{ github.repository }}:latest
|
tags: ${{ steps.image.outputs.tag }}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITEA_REPO_TOKEN }}
|
token: ${{ secrets.KESTRELOS_REPO_TOKEN }}
|
||||||
|
|
||||||
- name: Release (bump, tag, push, create release)
|
- name: Release (bump, tag, push, create release)
|
||||||
env:
|
env:
|
||||||
@@ -18,21 +18,23 @@ jobs:
|
|||||||
CI_REPO_NAME: ${{ github.event.repository.name }}
|
CI_REPO_NAME: ${{ github.event.repository.name }}
|
||||||
CI_FORGE_URL: ${{ github.server_url }}
|
CI_FORGE_URL: ${{ github.server_url }}
|
||||||
CI_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
|
CI_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
|
||||||
GITEA_REPO_TOKEN: ${{ secrets.GITEA_REPO_TOKEN }}
|
GITEA_REPO_TOKEN: ${{ secrets.KESTRELOS_REPO_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq && sudo apt-get install -y -qq git wget
|
sudo apt-get update -qq && sudo apt-get install -y -qq git wget
|
||||||
./scripts/release.sh
|
./scripts/release.sh
|
||||||
|
|
||||||
- name: Log in to container registry
|
- name: Log in to container registry
|
||||||
run: |
|
uses: docker/login-action@v4
|
||||||
REGISTRY="${GITHUB_SERVER_URL#https://}"
|
with:
|
||||||
echo "${{ secrets.GITEA_REGISTRY_TOKEN }}" | docker login "$REGISTRY" -u "${{ github.actor }}" --password-stdin
|
registry: git.keligrubb.com
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.KESTRELOS_REPO_TOKEN }}
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v4
|
||||||
|
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v7
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
load: true
|
load: true
|
||||||
@@ -40,20 +42,22 @@ jobs:
|
|||||||
|
|
||||||
- name: Push Docker image (all tags from .tags)
|
- name: Push Docker image (all tags from .tags)
|
||||||
run: |
|
run: |
|
||||||
REGISTRY="${GITHUB_SERVER_URL#https://}"
|
REGISTRY="git.keligrubb.com"
|
||||||
IMAGE="$REGISTRY/${{ github.repository }}"
|
IMAGE="$REGISTRY/${{ github.repository }}"
|
||||||
while read -r tag; do
|
while read -r tag; do
|
||||||
docker tag kestrelos:built "$IMAGE:$tag"
|
docker tag kestrelos:built "$IMAGE:$tag"
|
||||||
docker push "$IMAGE:$tag"
|
docker push "$IMAGE:$tag"
|
||||||
done < .tags
|
done < .tags
|
||||||
|
|
||||||
|
- name: Set up Helm
|
||||||
|
uses: azure/setup-helm@v4
|
||||||
|
|
||||||
- name: Package and push Helm chart
|
- name: Package and push Helm chart
|
||||||
env:
|
env:
|
||||||
GITEA_REGISTRY_TOKEN: ${{ secrets.GITEA_REGISTRY_TOKEN }}
|
GITEA_REPO_TOKEN: ${{ secrets.KESTRELOS_REPO_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
curl -sSfL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
|
||||||
helm package helm/kestrelos
|
helm package helm/kestrelos
|
||||||
for f in kestrelos-*.tgz; do
|
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"
|
"${{ github.server_url }}/api/packages/${{ github.actor }}/helm/api/charts"
|
||||||
done
|
done
|
||||||
|
|||||||
16
CHANGELOG.md
16
CHANGELOG.md
@@ -1,3 +1,19 @@
|
|||||||
|
## [1.0.7] - 2026-03-06
|
||||||
|
### Changed
|
||||||
|
- chore(deps): update docker/build-push-action action to v7 (#19)
|
||||||
|
|
||||||
|
## [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
|
## [1.0.3] - 2026-02-23
|
||||||
### Changed
|
### Changed
|
||||||
- fix(deps): update dependency vue-router to v5 (#12)
|
- fix(deps): update dependency vue-router to v5 (#12)
|
||||||
|
|||||||
@@ -2,5 +2,5 @@ apiVersion: v2
|
|||||||
name: kestrelos
|
name: kestrelos
|
||||||
description: KestrelOS TOC for OSINT feeds - map, camera feeds, offline tiles
|
description: KestrelOS TOC for OSINT feeds - map, camera feeds, offline tiles
|
||||||
type: application
|
type: application
|
||||||
version: 1.0.3
|
version: 1.0.7
|
||||||
appVersion: "1.0.3"
|
appVersion: "1.0.7"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: git.keligrubb.com/keligrubb/kestrelos
|
repository: git.keligrubb.com/keligrubb/kestrelos
|
||||||
tag: 1.0.3
|
tag: 1.0.7
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
service:
|
service:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "kestrelos",
|
"name": "kestrelos",
|
||||||
"version": "1.0.3",
|
"version": "1.0.7",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user