Releases: ploigos/ploigos-step-runner
Releases · ploigos/ploigos-step-runner
v1.0.0
Purpose
We have used the Ploigos step runner in enough real-world examples so that now API compatibility is important.
Enhancements
- Explicitly retrieve preferred encoding
- Add tox generic and tox unit test step implementer
- SemanticVersion - add option for auto-incrementing
- Add support for container images digests
- SonarQube updated to allow tokens
- Made ArgoCD smarter
- Allow custom ArgoCD project and custom deployment namespace
- SemanticVersion updated to include
build
number if given - SemanticVersion updated to include
build
segment of semver in image tag using _ instead of + as separator since image tags do not support + char
Bug Fixes
- StepImplementers now prioritize non-default values over default values when checking multiple keys for value
Breaking Changes
- Generate metadata maven step now requires maven CLI
What's Changed
- Linting fixes by @christophermay07 in #218
- adding optional vars token and project-key by @sroth1 in #217
- refactor argocd to be generic by @gfulton-redhat in #216
- add tox generic and tox unit test step implementer by @itewk in #223
- deploy/ArgoCD and shared/ArgoCD - move the deploy specific docs, defaults, required keys, and validation from shared to deploy by @itewk in #221
- StepImplementer#get_value - priortize any non-default value for any given possible key over any possible keys default by @itewk in #222
- add tox lint static analysis step implementer by @cts-zeero in #224
- Create stepimplementer for NPM UT and UAT by @kharyam in #227
- ArgoCDGeneric#_argocd_app_sync - add wait before sync to try and workaround argoproj/argo-cd#4505 by @itewk in #226
- container image digests by @itewk in #225
- Custom project name, namespace; allow no updating of cluster by @christophermay07 in #228
- SemanticVersion and Git cleanup/refactor by @itewk in #230
- generate_metadata.Jenkins - init add by @itewk in #231
- xml utils - fix the way aggregation works by @itewk in #233
- argocd - make it even smarter about waiting for existing operations by @itewk in #234
- Feature/maven auto increment by @christophermay07 in #235
- io utils - flush the stream on write to try and get better streaming output by @itewk in #236
- Refactored the code that parses Maven surefire XML files by @dwinchell in #240
- deploy - argocd - clean up argo app name better by @itewk in #237
- static code analysis - sonar - add sonar.branch.name flag by @itewk in #241
- Add install-first option to NpmTest by @dwinchell in #242
- ArgoCD - make it smart enough to handle an Applciation that goes into Degraded state while waiting for it to go Healthy state by @itewk in #244
- ArgoCD - make it even smarter so will try again no matter what state it transitions from to Degraded when waiting for Healthy after sync by @itewk in #245
- allow for mutliple test dirs in unit-test and uat - resolve issue #238 by @itewk in #239
- Feature/gen meta git commit by @itewk in #243
- generate-metadata.SemanticVersion - update to include 'build' portion by @itewk in #246
New Contributors
- @gfulton-redhat made their first contribution in #216
Full Changelog: v0.22.0...v1.0.0
v0.22.0
v0.21.1
Purpose
Fixing issue that can cause production to be updated unexpectedly.
Changes
- add an option to not prune on argo syncs
- when setting up argo app, use the tag not the branch so that if branch gets updated (such as when updating for test before prod) the app doesn't get updated in prod
breaking
No.
v0.21.0
Purpose
Fixes and enhancements.
Enhancements
- Support for JKube builds
- initial NPM steps
- ability to add additional helm values files when using Argo for deployments
- add universal
addtiional-artifacts
flag for all StepImplementers - Maven refactor to no longer hard code to things that shouldn't be hard coded.
- add support for gathering metadata from Commitizen
Fixes
- evidence cleanup
- argo cleanup
Breaking
Maven Refactor
All the Maven StepImplementers have had a refactor (again). Some parameters were removed, especially in the UAT step to get rid of things that shouldn't have been hard coded.
old
uat:
- implementer: MavenSeleniumCucumber
config:
selenium-hub-url: http://67.207.93.102:4444
new
uat:
- implementer: MavenIntegrationTest
config:
target-host-url-maven-argument-name: 'target.base.url'
maven-additional-arguments:
- -Dselenium.hub.url=http://67.207.93.102:4444
additional-artifacts-dirs:
- name: cucumber-reports
path: 'target/cucumber-reports'
v0.20.0
Purpose
Refactor maven and container StepImplementer
s to be more re-usable.
Enhancements
- MavenGeneric is now truly gneeric and re-useuable to run any maven goal/phase
- all maven steps now accept addtional arbirtrary parameters
- container steps no longer have to pass tar files around
- get the latest result artifact value not first
- add
continue-sub-steps-on-failure
option to sub steps to allow a sub step to fail in a step but still execute other sub steps, overal step status will still return a failure though.
Fixes
- Fixes issue where config.yml values were returned as ConfigValue objects when calling get_value()
Breaking
- no longer hard code
--storage-driver=vfs
in podman/buildah/skopeo calls, instead assume underlying system (typically, workflow runner containers) are configured with the type of storage that works for them. This isn't breaking so long as also using new ploigos-containers that set the storage driver that works for them in rootless mode. - a bunch of parameters in the buildah/podman/skopeo step implementers got changed around becasue no longer passing tar files around and instead relying on local conatainer storage being shared among steps
- get the latest result artifact value not first
v0.19.1
v0.19.0
Purpose
some fixes and some enhancements.
Enhancements
- OPA auto goverence step implementer
- deploy/apro can now work with authed deploy config repositories
- sign images in authenticated registries
Fixes
- issues with pgp key imports
- logins to authed container registries with untrusted certificates
Breaking
- none, we dont think
v0.18.0
purpose
Generate & sign evidence updates, and other miscellaneous bug fixes
enhancements
- Added "GenerateEvidence" step implementer
- Added "RekorSignEvidence" step implementer
- Added "RekorSignReport" step implementer
breaking changes
N/A
v0.17.0
purpose
its been a while since there was a release.
enhancements
- initial create of
report
step - initial create of
generate-evidence
step - initial add of evidence to some steps
breaking changes
- change default
imagespecfile
value fromDockerfile
toContainerfile
forcreate-container-image
Buildah
step implementer. - standardized config keys on
pgp
rather thengpg
v0.16.0
purpose
- rename
tssc-python-package
project ->ploigos-step-runner
project - rename
tssc
package toploigos-step-runner
package - rename
tssc
cli topsr
cli
breaking changes
tssc-config
is nowstep-runner-config
in the yaml/json files that get passed to thepsr
cli.