From 330bc0f03b2a9377e48676f49db1e378ef733e2a Mon Sep 17 00:00:00 2001 From: Richard Abrich Date: Sun, 14 Jan 2024 19:39:07 -0500 Subject: [PATCH] wip --- buildspec.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 3b975525..32b956df 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,19 +1,20 @@ version: 0.2 phases: + install: + commands: + - echo Installing necessary dependencies... + - apt-get update && apt-get install -y git pre_build: commands: - echo Starting the build process... - - echo Current working directory: - - pwd - - ls -la + - echo Cloning the repository... + - git clone https://github.com/OpenAdaptAI/SoM.git + - cd SoM - git fetch --all - git checkout feat/deploy - echo "Commit ID:" - git rev-parse HEAD - - git reset --hard origin/feat/deploy - - echo "Post-checkout file listing:" - - ls -la build: commands: - echo Build started on `date` @@ -23,4 +24,4 @@ phases: commands: - echo Pushing the Docker image... - docker push 726461418004.dkr.ecr.us-east-1.amazonaws.com/guiai-app:latest - - echo Build completed on `date` \ No newline at end of file + - echo Build completed on `date`