Skip to content

Commit

Permalink
Merge pull request #152 from umccr/refactor/swap-rust-function
Browse files Browse the repository at this point in the history
refactor: swap rust function
  • Loading branch information
mmalenic authored Mar 14, 2024
2 parents 4006291 + eb3654e commit f2329f3
Show file tree
Hide file tree
Showing 15 changed files with 160 additions and 932 deletions.
12 changes: 0 additions & 12 deletions lib/pipeline/orcabus-stateless-pipeline-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ export class StatelessPipelineStack extends cdk.Stack {
});

const unitTest = new pipelines.CodeBuildStep('UnitTest', {
installCommands: [
// RUST installation
`curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y`,
`source $HOME/.cargo/env`,
`pip3 install cargo-lambda`,
],
commands: ['yarn install --immutable', 'make suite'],
input: sourceFile,
primaryOutputDirectory: '.',
Expand Down Expand Up @@ -56,12 +50,6 @@ export class StatelessPipelineStack extends cdk.Stack {
});

const synthAction = new pipelines.CodeBuildStep('Synth', {
installCommands: [
// RUST installation
`curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y`,
`source $HOME/.cargo/env`,
`pip3 install cargo-lambda`,
],
commands: ['yarn install --immutable', 'yarn run cdk-stateless-pipeline synth'],
input: unitTest,
primaryOutputDirectory: 'cdk.out',
Expand Down
1 change: 1 addition & 0 deletions lib/workload/stateless/filemanager/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ target/
*.swp
/volume/
.build
target-cdk-docker-bundling/

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit f2329f3

Please sign in to comment.