mirror of
https://github.com/nofusscomputing/kubernetes-manifest-tools.git
synced 2025-08-15 00:40:08 +00:00
21
.cz.yaml
Normal file
21
.cz.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
commitizen:
|
||||||
|
customize:
|
||||||
|
change_type_map:
|
||||||
|
feature: Features
|
||||||
|
fix: Fixes
|
||||||
|
refactor: Refactoring
|
||||||
|
test: Tests
|
||||||
|
change_type_order:
|
||||||
|
- BREAKING CHANGE
|
||||||
|
- feat
|
||||||
|
- fix
|
||||||
|
- test
|
||||||
|
- refactor
|
||||||
|
commit_parser: ^(?P<change_type>feat|fix|test|refactor|perf|BREAKING CHANGE)(?:\((?P<scope>[^()\r\n]*)\)|\()?(?P<breaking>!)?:\s(?P<message>.*)?
|
||||||
|
name: cz_customize
|
||||||
|
prerelease_offset: 1
|
||||||
|
tag_format: v$version
|
||||||
|
update_changelog_on_bump: false
|
||||||
|
version: v0.0.1
|
||||||
|
version_scheme: semver
|
31
.github/workflows/bump.yaml
vendored
Normal file
31
.github/workflows/bump.yaml
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
name: 'Bump'
|
||||||
|
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
CZ_PRE_RELEASE:
|
||||||
|
default: none
|
||||||
|
required: false
|
||||||
|
description: Create Pre-Release {alpha,beta,rc,none}
|
||||||
|
CZ_INCREMENT:
|
||||||
|
default: none
|
||||||
|
required: false
|
||||||
|
description: Type of bump to conduct {MAJOR,MINOR,PATCH,none}
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'master'
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
bump:
|
||||||
|
name: 'Bump'
|
||||||
|
uses: nofusscomputing/action_bump/.github/workflows/bump.yaml@development
|
||||||
|
with:
|
||||||
|
CZ_PRE_RELEASE: ${{ inputs.CZ_PRE_RELEASE }}
|
||||||
|
CZ_INCREMENT: ${{ inputs.CZ_INCREMENT }}
|
||||||
|
secrets:
|
||||||
|
WORKFLOW_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
|
28
.github/workflows/ci.yaml
vendored
Normal file
28
.github/workflows/ci.yaml
vendored
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
name: 'CI'
|
||||||
|
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- '**'
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
env:
|
||||||
|
GIT_SYNC_URL: "https://${{ secrets.GITLAB_USERNAME_ROBOT }}:${{ secrets.GITLAB_TOKEN_ROBOT }}@gitlab.com/nofusscomputing/projects/centurion_erp.git"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
|
||||||
|
docker:
|
||||||
|
name: 'Docker'
|
||||||
|
uses: nofusscomputing/action_docker/.github/workflows/docker.yaml@development
|
||||||
|
with:
|
||||||
|
DOCKER_BUILD_IMAGE_NAME: "nofusscomputing/kubernetes-manifest-tools"
|
||||||
|
DOCKER_PUBLISH_REGISTRY: "docker.io"
|
||||||
|
DOCKER_PUBLISH_IMAGE_NAME: "nofusscomputing/kubernetes-manifest-tools"
|
||||||
|
secrets:
|
||||||
|
DOCKER_PUBLISH_USERNAME: ${{ secrets.NFC_DOCKERHUB_USERNAME }}
|
||||||
|
DOCKER_PUBLISH_PASSWORD: ${{ secrets.NFC_DOCKERHUB_TOKEN }}
|
14
.github/workflows/pull-requests.yaml
vendored
Normal file
14
.github/workflows/pull-requests.yaml
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
name: Pull Requests
|
||||||
|
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request: {}
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
pull-request:
|
||||||
|
name: pull-request
|
||||||
|
uses: nofusscomputing/action_pull_requests/.github/workflows/pull-requests.yaml@development
|
@ -31,7 +31,7 @@ inputs:
|
|||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'python:3.11-slim'
|
image: 'ghcr.io/nofusscomputing/kubernetes-manifest-tools'
|
||||||
env:
|
env:
|
||||||
KUBECTL_SLICE_INPUT_FILE: ${{ inputs.input-file }}
|
KUBECTL_SLICE_INPUT_FILE: ${{ inputs.input-file }}
|
||||||
KUBECTL_SLICE_OUTPUT_DIR: ${{ inputs.output-dir }}
|
KUBECTL_SLICE_OUTPUT_DIR: ${{ inputs.output-dir }}
|
||||||
|
Reference in New Issue
Block a user