meteogroup/concourse-version-resource docker image 镜像
source link: https://hub.docker.com/r/meteogroup/concourse-version-resource
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
docker pull meteogroup/concourse-version-resource
Concourse Version Resource
This docker image implements a
concourse resource for
time based versioning. A version string consists of a ISO 8601 extended format
datetime with colons (:
) converted to minus (-
). Timezone is UTC and the
version string is suffixed with 'Z' accordingly.
in
The resource directory is populated with the following files:
version
: Contains the versionstring.timestamp
: Contains the ISO 8601 datetime string.properties.sh
: Sets theVERSION
andTIMESTAMP
shell variables.properties.json
: Contains a json object withversion
andtimestamp
properties set.
out
Always returns a new version response, can be used to reset the version within the pipeline.
check
Returns an array with the same output as out
, except if the checked version
string is now or in the future, then it returns an empty array.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK