Compare commits
3 commits
74a7137f00
...
967aeb325a
Author | SHA1 | Date | |
---|---|---|---|
|
967aeb325a | ||
|
e6ebb0f9f4 | ||
|
67d5ddbae9 |
4 changed files with 23 additions and 10 deletions
|
@ -3,7 +3,7 @@ plugins {
|
|||
}
|
||||
|
||||
|
||||
version = "1.8.11-SNAPSHOT"
|
||||
version = "1.8.13-SNAPSHOT"
|
||||
group = "org.domaindrivenarchitecture.buildtest"
|
||||
|
||||
|
||||
|
|
27
build.py
27
build.py
|
@ -7,11 +7,20 @@ name = "buildtest"
|
|||
MODULE = "release"
|
||||
PROJECT_ROOT_PATH = "."
|
||||
|
||||
version = "1.8.11-dev"
|
||||
version = "1.8.13-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
|
||||
def initialize(project):
|
||||
def initialize2(project):
|
||||
input = {
|
||||
"name": name,
|
||||
"module": MODULE,
|
||||
|
@ -28,7 +37,6 @@ def initialize(project):
|
|||
}
|
||||
|
||||
project.build_depends_on("ddadevops>=4.10.7")
|
||||
os.environ["RELEASE_ARTIFACT_TOKEN"] = "dummy"
|
||||
build = ReleaseMixin(project, input)
|
||||
build.initialize_build_dir()
|
||||
|
||||
|
@ -37,14 +45,19 @@ def initialize(project):
|
|||
def patch(project):
|
||||
"""
|
||||
updates version to next patch level, creates a tag, creates new SNAPSHOT version,
|
||||
commits primary build file (build.gradle) and pushes to remote
|
||||
commits build files (primary and secondary) and pushes to remote
|
||||
"""
|
||||
linttest(project, "PATCH")
|
||||
release(project)
|
||||
|
||||
|
||||
@task
|
||||
def increase_version_number(project):
|
||||
def patch_local(project):
|
||||
"""
|
||||
updates version to next patch level,
|
||||
commits build files (primary and secondary), DOES NOT push to remote
|
||||
"""
|
||||
linttest(project, "PATCH")
|
||||
prepare(project)
|
||||
|
||||
|
||||
|
@ -52,7 +65,7 @@ def increase_version_number(project):
|
|||
def minor(project):
|
||||
"""
|
||||
updates version to next minor level, creates a tag, creates new SNAPSHOT version,
|
||||
commits primary build file (build.gradle) and pushes to remote
|
||||
commits build files (primary and secondary) and pushes to remote
|
||||
"""
|
||||
linttest(project, "MINOR")
|
||||
release(project)
|
||||
|
@ -62,7 +75,7 @@ def minor(project):
|
|||
def major(project):
|
||||
"""
|
||||
updates version to next major level, creates a tag, creates new SNAPSHOT version,
|
||||
commits primary build file (build.gradle) and pushes to remote
|
||||
commits build files (primary and secondary) and pushes to remote
|
||||
"""
|
||||
linttest(project, "MAJOR")
|
||||
release(project)
|
||||
|
|
|
@ -33,7 +33,7 @@ default_task = "dev"
|
|||
name = "ddadevops"
|
||||
MODULE = "not-used"
|
||||
PROJECT_ROOT_PATH = "."
|
||||
version = "1.8.11-dev"
|
||||
version = "1.8.13-dev"
|
||||
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
|
||||
description = __doc__
|
||||
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "c4k-jira",
|
||||
"description": "Generate c4k yaml for a jira deployment.",
|
||||
"author": "meissa GmbH",
|
||||
"version": "1.8.11-SNAPSHOT",
|
||||
"version": "1.8.13-SNAPSHOT",
|
||||
"homepage": "https://gitlab.com/domaindrivenarchitecture/c4k-jira#readme",
|
||||
"repository": "https://www.npmjs.com/package/c4k-jira",
|
||||
"license": "APACHE2",
|
||||
|
|
Loading…
Reference in a new issue