File tree Expand file tree Collapse file tree 2 files changed +64
-2
lines changed Expand file tree Collapse file tree 2 files changed +64
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : CI/CD Pipeline
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - ' main'
7
+ - ' v*' # This will match any branch starting with 'v'
8
+ pull_request :
9
+ branches : [ "main" ]
10
+
11
+ env :
12
+ CARGO_TERM_COLOR : always
13
+
14
+ jobs :
15
+ build :
16
+ runs-on : ubuntu-latest
17
+
18
+ steps :
19
+ - name : Checkout repository
20
+ uses : actions/checkout@v4
21
+
22
+ - name : Check Rust version
23
+ run : |
24
+ rustc --version
25
+ cargo --version
26
+
27
+ # - name: Set up Rust
28
+ # uses: dtolnay/rust-toolchain@stable
29
+ #
30
+ # - name: Install Just
31
+ # uses: extractions/setup-just@v1
32
+ # with:
33
+ # just-version: 1.5.0
34
+ #
35
+ # - name: Clean with lambdas
36
+ # run: just clean-with-lambdas
37
+ #
38
+ # - name: Build with lambdas
39
+ # run: just build-with-lambdas
40
+ #
41
+ # deploy:
42
+ # runs-on: ubuntu-latest
43
+ # needs: build
44
+ #
45
+ # steps:
46
+ # - name: Checkout repository
47
+ # uses: actions/checkout@v4
48
+ #
49
+ # - name: Set up Rust
50
+ # uses: dtolnay/rust-toolchain@stable
51
+ #
52
+ # - name: Install Just
53
+ # uses: extractions/setup-just@v1
54
+ # with:
55
+ # just-version: 1.5.0
56
+ #
57
+ # - name: Deploy to AWS
58
+ # env:
59
+ # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
60
+ # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
61
+ # AWS_DEFAULT_REGION: us-west-2
62
+ # run: just deploy-drive-deposits-dynamodb-queries
Original file line number Diff line number Diff line change 15
15
- [ Querying with custom domain] ( #querying-with-custom-domain )
16
16
- [ Development Tool: cargo lambda] ( #development-tool-cargo-lambda )
17
17
- [ Development Tool: LocalStack] ( #development-tool-localstack )
18
- - [ Clean] ( #clean )
18
+ - [ Clean And Build ] ( #clean-and-build )
19
19
- [ Configurations for DriveDeposits] ( #configurations-for-drivedeposits )
20
20
- [ Member crates in workspace] ( #member-crates-in-workspace )
21
21
@@ -461,7 +461,7 @@ Following is convenience so that in development can iterate faster:
461
461
462
462
[ Back to Table of Contents] ( #table-of-contents )
463
463
464
- ### Clean
464
+ ### Clean And Build
465
465
466
466
cargo clean is used but since there are lambda we have .aws-sam folders created by sam also that we have a clean
467
467
You can’t perform that action at this time.
0 commit comments