Author SHA1 Message Date
jakob.scheid aadd1434c0 chore: add setup scripts
Added setup scripts for commit message template and reference to them in
README.
2026-07-31 22:40:30 +02:00
jakob.scheid ae438351e7 chore: add commit messages template 2026-07-31 22:37:22 +02:00
jakob.scheidandGitea e2e064008a Merge pull request 'Chore(cd): workflow to deploy on production' (#2) from chore/prod-deployment-cd-pipeline into main
Reviewed-on: #2
Reviewed-by: Jakob Gregory
2026-07-29 17:45:10 +02:00
jakob.scheidandGitea bedadf1d12 chore(cd): add workflow to deploy on production 2026-07-29 17:44:57 +02:00
jakob.scheidandGitea 0713d6827e Merge pull request 'Chore(licenses): update license to original Apache License 2.0 text' (#4) from chore/correct-license into main
Reviewed-on: #4
Reviewed-by: Jakob Gregory
2026-07-29 17:31:23 +02:00
5 changed files with 84 additions and 1 deletions
+37
View File
@@ -0,0 +1,37 @@
name: Deploy on production
on:
release:
types:
- published
permissions:
contents: read
jobs:
deploy:
name: Deploy on production
runs-on: node-minio
steps:
- uses: actions/checkout@v4
- name: Set alias
run: |
mc alias set minio "${{ vars.S3_PROD_URL }}" "${{ secrets.S3_PROD_ACCESS_KEY }}" "${{ secrets.S3_PROD_SECRET_KEY }}"
- name: Upload assets to MinIO
shell: bash
run: |
set -euo pipefail
BUCKET="${{ vars.S3_PROD_BUCKET_NAME }}"
BUILD_ID=$(date -u +%Y-%m-%d)-$(git rev-parse --short HEAD)
echo "Build ID: $BUILD_ID"
mkdir -p ./src
mc cp --recursive ./src/ "minio/$BUCKET/builds/$BUILD_ID"
echo "Copied files successfully"
+8
View File
@@ -0,0 +1,8 @@
# ------------------------------------------------ SUBJECT AREA
# ---------------------------------------------------------------------- DETAIL AREA
# Please enter a subject that is not longer than 50 characters.
# If you enter a detailed description, each line should not be longer
# than 72 characters. Break the line as soon as you reach this limit.
+5 -1
View File
@@ -1,3 +1,7 @@
# repository-template
The template for repositories
The template for repositories
## Setup
Please execute the setup script in `scripts/` for your platform when cloning the repository.
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env pwsh
# Copyright 2026 Seekra
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
git config --local commit.template .gitmessage
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/bash
# Copyright 2026 Seekra
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
git config --local commit.template .gitmessage