flux v2.9.5

ArtifactGenerator.spec.artifacts

OutputArtifacts is a list of output artifacts to be generated.

4 fields
ArtifactGenerator.spec.artifacts fields and descriptions
Field / TypeDescription
object[] required

Copy defines a list of copy operations to perform from the sources to the generated artifact. The copy operations are performed in the order they are listed with existing files being overwritten by later copy operations.

  • minItems: 1
name
string required

Name is the name of the generated artifact. When pathPattern is set, this field may use capture placeholders such as "{app}".

  • minLength: 1
  • maxLength: 253
originRevision
string

OriginRevision is used to set the 'org.opencontainers.image.revision' annotation on the generated artifact metadata. If specified, it must point to an existing source alias in the format "@<alias>". If the referenced source has an origin revision (e.g. a Git commit SHA), it will be used to set the annotation on the generated artifact. If the referenced source does not have an origin revision, the field is ignored.

  • maxLength: 64
  • pattern: ^@([a-z0-9]([a-z0-9_-]*[a-z0-9])?)$
revision
string

Revision is the revision of the generated artifact. If specified, it must point to an existing source alias in the format "@<alias>". If not specified, the revision is automatically set to the digest of the artifact content.

  • maxLength: 64
  • pattern: ^@([a-z0-9]([a-z0-9_-]*[a-z0-9])?)$