uusia testejä
CI Feature / Load example-gitea-env.conf to pipeline env (push) Successful in 26s
acc-tests Cucumber test report
CI Feature / Cucumber tests (push) Successful in 1m4s
unit-tests Bats test report
CI Feature / Bats tests (push) Successful in 1m48s
CI Feature / Report Summary (push) Successful in 5s

This commit is contained in:
moilanik
2026-06-19 12:51:18 +03:00
parent d57f56f196
commit 45f939a611
4 changed files with 48 additions and 7 deletions
+15
View File
@@ -153,6 +153,21 @@ teardown() {
[ "$NEXT_VERSION" = "0.3.2" ]
}
@test "VERSION_FILE=Chart-umbrella.yaml extracts only top-level version" {
mock_set_sequence '[{"code": 200, "body": []}]'
mock_start
export VERSION_FILE="$BATS_TEST_DIRNAME/fixtures/check-version/Chart-umbrella.yaml"
run bash scripts/check-version.sh
echo "STATUS=$status"
echo "OUTPUT=$output"
[ "$status" -eq 0 ]
source /tmp/build-ctx/build.env
echo "NEXT_VERSION=$NEXT_VERSION"
[ "$NEXT_VERSION" = "0.1.0" ]
}
@test "no version source exits with error" {
mock_set_sequence '[{"code": 200, "body": []}]'
mock_start
+12
View File
@@ -0,0 +1,12 @@
apiVersion: v2
name: agent-platform
description: Agent Platform umbrella chart
type: application
version: 0.1.0
dependencies:
- name: vikunja
version: "0.1.0"
repository: oci://registry.example.com
- name: langfuse
version: "0.2.0"
repository: oci://registry.example.com