Skip to content

Commit

Permalink
Change to main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
williamputraintan committed Feb 2, 2024
1 parent d34e89f commit 9be6c95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
3 changes: 2 additions & 1 deletion lib/pipeline/orcabus-stateful-pipeline-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ export class StatefulPipelineStack extends cdk.Stack {
pipeline.addStage(
new OrcaBusStatefulDeploymentStage(this, 'GammaDeployment', gammaConfig.stackProps, {
account: gammaConfig.accountId,
})
}),
{ pre: [new pipelines.ManualApprovalStep('PromoteToGamma')] }
);

/**
Expand Down
18 changes: 3 additions & 15 deletions lib/pipeline/orcabus-stateless-pipeline-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,9 @@ export class StatelessPipelineStack extends cdk.Stack {

// A connection where the pipeline get its source code
const codeStarArn = ssm.StringParameter.valueForStringParameter(this, 'codestar_github_arn');
const sourceFile = pipelines.CodePipelineSource.connection(
'umccr/orcabus',
'feature/base-cdk-codepipeline',
{
connectionArn: codeStarArn,
}
);
const sourceFile = pipelines.CodePipelineSource.connection('umccr/orcabus', 'main', {
connectionArn: codeStarArn,
});

const synthAction = new pipelines.CodeBuildStep('Synth', {
commands: [
Expand All @@ -29,14 +25,6 @@ export class StatelessPipelineStack extends cdk.Stack {
],
input: sourceFile,
primaryOutputDirectory: 'cdk.out',
partialBuildSpec: codebuild.BuildSpec.fromObject({
reports: {
cdk: {
files: ['target/test/*.xml'],
'file-format': 'JUNITXML',
},
},
}),
rolePolicyStatements: [
new iam.PolicyStatement({
effect: iam.Effect.ALLOW,
Expand Down

0 comments on commit 9be6c95

Please sign in to comment.