testing a buildspec issue
This commit is contained in:
+8
-7
@@ -20,12 +20,12 @@ phases:
|
|||||||
- echo "Installing build dependencies..."
|
- echo "Installing build dependencies..."
|
||||||
|
|
||||||
# Install Rust with error handling
|
# Install Rust with error handling
|
||||||
- |
|
#- |
|
||||||
if ! command -v rustc &> /dev/null; then
|
# if ! command -v rustc &> /dev/null; then
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
source $HOME/.cargo/env
|
# source $HOME/.cargo/env
|
||||||
rustup update stable
|
# rustup update stable
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
# Install AWS CDK globally
|
# Install AWS CDK globally
|
||||||
- npm install -g aws-cdk@latest
|
- npm install -g aws-cdk@latest
|
||||||
@@ -41,6 +41,7 @@ phases:
|
|||||||
|
|
||||||
pre_build:
|
pre_build:
|
||||||
commands:
|
commands:
|
||||||
|
- set -e # Exit on any error
|
||||||
- echo "Pre-build phase started on $(date)"
|
- echo "Pre-build phase started on $(date)"
|
||||||
|
|
||||||
# Install React dependencies with clean install
|
# Install React dependencies with clean install
|
||||||
@@ -210,4 +211,4 @@ cache:
|
|||||||
- ~/.cargo/**/*
|
- ~/.cargo/**/*
|
||||||
- functions/go/go.mod
|
- functions/go/go.mod
|
||||||
- functions/go/go.sum
|
- functions/go/go.sum
|
||||||
- functions/rust/target/**/*
|
- functions/rust/target/**/*
|
||||||
|
|||||||
Reference in New Issue
Block a user