Feature/git pages -> oma nginx perusteinen raporointipalvelu #48

Merged
niko merged 11 commits from feature/git-pages-sisäinen-toiminta-default-moodiin into main 2026-06-28 09:10:10 +03:00
3 changed files with 9 additions and 10 deletions
Showing only changes of commit c7ee12bafa - Show all commits
@@ -1,11 +1,11 @@
name: CI Git-Pages Main name: CI Gitea Reports Main
on: on:
push: push:
branches: branches:
- main - main
paths: paths:
- git-pages/** - gitea-reports/**
- .gitea/workflows/git-pages.* - ".gitea/workflows/gitea-reports.*"
workflow_dispatch: workflow_dispatch:
jobs: jobs:
@@ -14,7 +14,7 @@ jobs:
uses: niko/gitea-ci-library/.gitea/workflows/config-provider.yml@main uses: niko/gitea-ci-library/.gitea/workflows/config-provider.yml@main
secrets: inherit secrets: inherit
with: with:
config_path: .gitea/workflows/git-pages.gitea-env.conf config_path: .gitea/workflows/gitea-reports.gitea-env.conf
check-version: check-version:
name: Latest version name: Latest version
@@ -33,7 +33,7 @@ jobs:
with: with:
env_json: ${{ needs.load-config.outputs.env_json }} env_json: ${{ needs.load-config.outputs.env_json }}
version: ${{ needs.check-version.outputs.version }} version: ${{ needs.check-version.outputs.version }}
chart_path: git-pages chart_path: gitea-reports
chart-gitops: chart-gitops:
name: GitOps name: GitOps
@@ -44,7 +44,7 @@ jobs:
env_json: ${{ needs.load-config.outputs.env_json }} env_json: ${{ needs.load-config.outputs.env_json }}
version: ${{ needs.check-version.outputs.version }} version: ${{ needs.check-version.outputs.version }}
GITOPS_FILE: dev/Chart.yaml GITOPS_FILE: dev/Chart.yaml
GITOPS_YQ_TPL: '(.dependencies[] | select(.name == "git-pages") | .version) = "{{VERSION}}"' GITOPS_YQ_TPL: '(.dependencies[] | select(.name == "gitea-reports") | .version) = "{{VERSION}}"'
GITOPS_REPO: niko/gitea-ci-gitops-tests GITOPS_REPO: niko/gitea-ci-gitops-tests
report-summary: report-summary:
@@ -1,6 +1,5 @@
GITEA_API_URL=https://gitea.app.keskikuja.site GITEA_API_URL=https://gitea.app.keskikuja.site
HELM_REGISTRY=gitea.app.keskikuja.site/niko HELM_REGISTRY=gitea.app.keskikuja.site/niko
HELM_UI_URL=https://gitea.app.keskikuja.site/niko/-/packages/container HELM_UI_URL=https://gitea.app.keskikuja.site/niko/-/packages/container
GIT_TAG_PREFIX=git-pages/ GIT_TAG_PREFIX=gitea-reports/
VERSION_FILE=git-pages/Chart.yaml VERSION_FILE=gitea-reports/Chart.yaml
+1 -1
View File
@@ -1,5 +1,5 @@
apiVersion: v2 apiVersion: v2
name: git-pages name: gitea-reports
description: Nginx + upload-sidecar for CI HTML reports (static serving, Traefik BasicAuth publish) description: Nginx + upload-sidecar for CI HTML reports (static serving, Traefik BasicAuth publish)
type: application type: application
version: 0.2.0 version: 0.2.0