Codepipeline is the Schema for the Codepipelines API. Provides a CodePipeline
Type
CRD
Group
codepipeline.aws.upbound.io
Version
v1beta1
apiVersion: codepipeline.aws.upbound.io/v1beta1
kind: Codepipeline
CodepipelineSpec defines the desired state of Codepipeline
No description provided.
One or more artifact_store blocks. Artifact stores are documented below.
The encryption key block AWS CodePipeline uses to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If you don't specify a key, AWS CodePipeline uses the default key for Amazon Simple Storage Service (Amazon S3). An encryption_key block is documented below.
Reference to a Bucket in s3 to populate location.
Policies for referencing.
Selector for a Bucket in s3 to populate location.
Policies for selection.
Reference to a Role in iam to populate roleArn.
Policies for referencing.
Selector for a Role in iam to populate roleArn.
Policies for selection.
(Minimum of at least two stage blocks is required) A stage block. Stages are documented below.
The action(s) to include in the stage. Defined as an action block below
A list of artifact names to be worked on.
A list of artifact names to output. Output artifact names must be unique within a pipeline.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
CodepipelineStatus defines the observed state of Codepipeline.
Conditions of the resource.
codepipeline
apiVersion: codepipeline.aws.upbound.io/v1beta1
kind: Codepipeline
metadata:
annotations:
meta.upbound.io/example-id: codepipeline/v1beta1/codepipeline
labels:
testing.upbound.io/example-name: codepipeline
name: codepipeline
spec:
forProvider:
artifactStore:
- locationSelector:
matchLabels:
testing.upbound.io/example-name: codepipeline_bucket
type: S3
region: us-west-1
roleArnSelector:
matchLabels:
testing.upbound.io/example-name: codepipeline_role
stage:
- action:
- category: Source
configuration:
Branch: master
OAuthToken: your-token-here
Owner: my-organization
Repo: test
name: Source
outputArtifacts:
- test
owner: ThirdParty
provider: GitHub
version: "1"
name: Source
- action:
- category: Build
configuration:
ProjectName: test
inputArtifacts:
- test
name: Build
outputArtifacts:
- build_output
owner: AWS
provider: CodeBuild
version: "1"
name: Build
- action:
- category: Deploy
configuration:
ActionMode: REPLACE_ON_FAILURE
Capabilities: CAPABILITY_AUTO_EXPAND,CAPABILITY_IAM
OutputFileName: CreateStackOutput.json
StackName: MyStack
TemplatePath: build_output::sam-templated.yaml
inputArtifacts:
- build_output
name: Deploy
owner: AWS
provider: CloudFormation
version: "1"
name: Deploy
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.