1 Commits

Author SHA1 Message Date
Madison Grubb
fd31038cb7 patch: migrate to gitea actions
Some checks failed
PR / install (pull_request) Failing after 51s
PR / lint (pull_request) Has been skipped
PR / test (pull_request) Has been skipped
PR / e2e (pull_request) Has been skipped
PR / docker-build (pull_request) Failing after 1m35s
2026-03-04 13:41:50 -05:00
6 changed files with 44 additions and 25 deletions

View File

@@ -4,7 +4,7 @@ on:
pull_request: pull_request:
jobs: jobs:
lint: install:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
@@ -18,11 +18,35 @@ 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
@@ -32,16 +56,17 @@ jobs:
node-version: "24" node-version: "24"
cache: "npm" cache: "npm"
- name: Install dependencies - name: Restore node_modules
run: npm ci uses: actions/download-artifact@v8
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
container: needs: install
image: mcr.microsoft.com/playwright:v1.58.2-noble
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
@@ -51,8 +76,13 @@ jobs:
node-version: "24" node-version: "24"
cache: "npm" cache: "npm"
- name: Install dependencies - name: Restore node_modules
run: npm ci uses: actions/download-artifact@v8
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
@@ -67,13 +97,6 @@ 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@v3
@@ -82,4 +105,4 @@ jobs:
with: with:
context: . context: .
push: false push: false
tags: ${{ steps.image.outputs.tag }} tags: ${{ github.server_url }}/${{ github.repository }}:latest

View File

@@ -10,7 +10,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
with: with:
token: ${{ secrets.KESTRELOS_REPO_TOKEN }} token: ${{ secrets.GITEA_REPO_TOKEN }}
- name: Release (bump, tag, push, create release) - name: Release (bump, tag, push, create release)
env: env:
@@ -18,7 +18,7 @@ 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.KESTRELOS_REPO_TOKEN }} GITEA_REPO_TOKEN: ${{ secrets.GITEA_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

View File

@@ -1,7 +1,3 @@
## [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)

View File

@@ -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.4 version: 1.0.3
appVersion: "1.0.4" appVersion: "1.0.3"

View File

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

View File

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