Skip to content

cosee-concourse/naming-resource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Naming Resource

Build Status Docker Repository on Quay

Generates names for various services using a prefix and the current version.

Source Configuration

  • prefix: Required. The prefix to be used in service names. Must only contain alphabetic characters and has to be unique in order to not cause name conflicts in services.

Behavior

check: no-op

  • Since this resource does not have a version itself check returns an empty JSON.

in: Generates Names for various services

  • Generates names for services and places them in files with the same name as the corresponding service. The default output looks like this: prefix_1_0_0_rc__10

Parameters

  • None.

out: Retrieves the version

  • Retrieves a version generated by semver and makes it available to in.

Parameters

  • version: Required Filepath to semver version file

Example Configuration

Resource Type

- name: service-naming
  type: docker-image
  source:
    repository: quay.io/cosee-concourse/naming-resource

Resource

- name: naming
  type: service-naming
  source:
    prefix: uniqueprefix

Plan

- get: naming
- put: naming
  params:
    version: version/number

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published