Compare commits

..

No commits in common. "967aeb325a0e35b4130d02417300339c9e0c1f92" and "74a7137f0028c3d98a2d4b094cc9ef21b5657a42" have entirely different histories.

4 changed files with 10 additions and 23 deletions

View file

@ -3,7 +3,7 @@ plugins {
} }
version = "1.8.13-SNAPSHOT" version = "1.8.11-SNAPSHOT"
group = "org.domaindrivenarchitecture.buildtest" group = "org.domaindrivenarchitecture.buildtest"

View file

@ -7,20 +7,11 @@ name = "buildtest"
MODULE = "release" MODULE = "release"
PROJECT_ROOT_PATH = "." PROJECT_ROOT_PATH = "."
version = "1.8.13-dev" version = "1.8.11-dev"
@init(environments=["local"])
def initialize1(project):
"""
to avoid prompt for gopass; ONLY to be used for local tasks
usage: with option "-E local" , e.g. "pyb -E local patch_local"
"""
os.environ["RELEASE_ARTIFACT_TOKEN"] = "dummy" # avoids prompt for RELEASE_ARTIFACT_TOKEN
@init @init
def initialize2(project): def initialize(project):
input = { input = {
"name": name, "name": name,
"module": MODULE, "module": MODULE,
@ -37,6 +28,7 @@ def initialize2(project):
} }
project.build_depends_on("ddadevops>=4.10.7") project.build_depends_on("ddadevops>=4.10.7")
os.environ["RELEASE_ARTIFACT_TOKEN"] = "dummy"
build = ReleaseMixin(project, input) build = ReleaseMixin(project, input)
build.initialize_build_dir() build.initialize_build_dir()
@ -45,19 +37,14 @@ def initialize2(project):
def patch(project): def patch(project):
""" """
updates version to next patch level, creates a tag, creates new SNAPSHOT version, updates version to next patch level, creates a tag, creates new SNAPSHOT version,
commits build files (primary and secondary) and pushes to remote commits primary build file (build.gradle) and pushes to remote
""" """
linttest(project, "PATCH") linttest(project, "PATCH")
release(project) release(project)
@task @task
def patch_local(project): def increase_version_number(project):
"""
updates version to next patch level,
commits build files (primary and secondary), DOES NOT push to remote
"""
linttest(project, "PATCH")
prepare(project) prepare(project)
@ -65,7 +52,7 @@ def patch_local(project):
def minor(project): def minor(project):
""" """
updates version to next minor level, creates a tag, creates new SNAPSHOT version, updates version to next minor level, creates a tag, creates new SNAPSHOT version,
commits build files (primary and secondary) and pushes to remote commits primary build file (build.gradle) and pushes to remote
""" """
linttest(project, "MINOR") linttest(project, "MINOR")
release(project) release(project)
@ -75,7 +62,7 @@ def minor(project):
def major(project): def major(project):
""" """
updates version to next major level, creates a tag, creates new SNAPSHOT version, updates version to next major level, creates a tag, creates new SNAPSHOT version,
commits build files (primary and secondary) and pushes to remote commits primary build file (build.gradle) and pushes to remote
""" """
linttest(project, "MAJOR") linttest(project, "MAJOR")
release(project) release(project)

View file

@ -33,7 +33,7 @@ default_task = "dev"
name = "ddadevops" name = "ddadevops"
MODULE = "not-used" MODULE = "not-used"
PROJECT_ROOT_PATH = "." PROJECT_ROOT_PATH = "."
version = "1.8.13-dev" version = "1.8.11-dev"
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud" summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
description = __doc__ description = __doc__
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")] authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]

View file

@ -2,7 +2,7 @@
"name": "c4k-jira", "name": "c4k-jira",
"description": "Generate c4k yaml for a jira deployment.", "description": "Generate c4k yaml for a jira deployment.",
"author": "meissa GmbH", "author": "meissa GmbH",
"version": "1.8.13-SNAPSHOT", "version": "1.8.11-SNAPSHOT",
"homepage": "https://gitlab.com/domaindrivenarchitecture/c4k-jira#readme", "homepage": "https://gitlab.com/domaindrivenarchitecture/c4k-jira#readme",
"repository": "https://www.npmjs.com/package/c4k-jira", "repository": "https://www.npmjs.com/package/c4k-jira",
"license": "APACHE2", "license": "APACHE2",