WIP
This commit is contained in:
1
.gitea/CODEOWNERS
Normal file
1
.gitea/CODEOWNERS
Normal file
@@ -0,0 +1 @@
|
||||
* @puzzleYOU/team-gelb
|
||||
66
.gitea/workflows/check.yaml
Normal file
66
.gitea/workflows/check.yaml
Normal file
@@ -0,0 +1,66 @@
|
||||
name: run tests
|
||||
on:
|
||||
- pull_request
|
||||
- workflow_call
|
||||
|
||||
jobs:
|
||||
unittest:
|
||||
runs-on: action-runner
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: unittest
|
||||
shell: nix develop --command bash -- {0}
|
||||
run: just test-python
|
||||
|
||||
test-actions:
|
||||
runs-on: action-runner
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: ./declare
|
||||
with:
|
||||
configure_runner_environment: false
|
||||
version_descriptor: test-assets/version.txt
|
||||
repository: actions/release
|
||||
artefact_type: oci_image
|
||||
artefact_name: default-image
|
||||
deployment_type: helm_release
|
||||
deployment_release_name: example-testing
|
||||
|
||||
- uses: ./add-artefact
|
||||
with:
|
||||
type: "oci_image"
|
||||
name: "some-docker-image"
|
||||
repository: "special"
|
||||
version_descriptor: "test-assets/Cargo.toml"
|
||||
|
||||
- uses: ./add-artefact
|
||||
with:
|
||||
type: tarball
|
||||
filename: "test-assets/foo.tar.gz"
|
||||
|
||||
- uses: ./add-artefact
|
||||
with:
|
||||
type: wheel
|
||||
pattern: "test-assets/wheels/*.whl"
|
||||
|
||||
- uses: ./add-artefact
|
||||
with:
|
||||
type: sdist
|
||||
filename: "test-assets/pypkgs.42.tar.gz"
|
||||
|
||||
- uses: ./add-artefact
|
||||
with:
|
||||
type: npm
|
||||
directory: "test-assets/browser/dist"
|
||||
|
||||
- uses: ./add-deployment
|
||||
with:
|
||||
type: helm_release
|
||||
release_name: other-testing
|
||||
image_paths: image.foo.tag image.bar.tag
|
||||
namespace: different-testing
|
||||
repository: europe-docker.hetzner.cloud/puzzleyou/helm
|
||||
condition: always
|
||||
|
||||
- uses: ./dump
|
||||
21
.gitea/workflows/release.yaml
Normal file
21
.gitea/workflows/release.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
name: run tests
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- testing
|
||||
|
||||
jobs:
|
||||
check:
|
||||
uses: ./.gitea/workflows/check.yaml
|
||||
|
||||
release:
|
||||
needs: ["check"]
|
||||
runs-on: action-runner
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./declare
|
||||
with:
|
||||
version_descriptor: version.txt
|
||||
|
||||
- uses: ./dump
|
||||
Reference in New Issue
Block a user