adjust build.py

This commit is contained in:
Clemens 2024-07-18 10:46:05 +02:00
parent 40030c3ce2
commit 73c19303db

View file

@ -12,13 +12,14 @@ PROJECT_ROOT_PATH = "."
@init @init
def initialize(project): def initialize(project):
project.build_depends_on("ddadevops>=4.7.0")
input = { input = {
"name": name, "name": name,
"module": MODULE, "module": MODULE,
"stage": "notused", "stage": "notused",
"project_root_path": PROJECT_ROOT_PATH, "project_root_path": PROJECT_ROOT_PATH,
"build_types": [], "build_types": [],
"release_artifacts": ["target/uberjar/c4k-shynet-standalone.jar"],
"mixin_types": ["RELEASE"], "mixin_types": ["RELEASE"],
"release_primary_build_file": "project.clj", "release_primary_build_file": "project.clj",
"release_secondary_build_files": [ "release_secondary_build_files": [
@ -61,8 +62,8 @@ def test_schema(project):
run( run(
"java -jar target/uberjar/c4k-shynet-standalone.jar " "java -jar target/uberjar/c4k-shynet-standalone.jar "
+ "src/test/resources/shynet-test/valid-config.yaml " + "src/test/resources/shynet-test/valid-config.yaml "
+ "src/test/resources/shynet-test/valid-auth.yaml | " + "src/test/resources/shynet-test/valid-auth.yaml ",#| "
+ "kubeconform --kubernetes-version 1.23.0 --strict --skip Certificate -", #+ """kubeconform --kubernetes-version 1.23.0 --strict --skip "Certificate,Middleware" -""",
shell=True, shell=True,
check=True, check=True,
) )