Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: swap rust function #152

Merged
merged 4 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading