From 1052ba2c393107931ee3dcb12fb7bb65912d3a2b Mon Sep 17 00:00:00 2001 From: Trevor Gray <143422058+trevormgray@users.noreply.github.com> Date: Wed, 12 Feb 2025 14:29:14 -0500 Subject: [PATCH 1/4] Update github-actions.yml --- .github/workflows/github-actions.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index efa7d3d..a0f455f 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -20,6 +20,17 @@ jobs: aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: us-east-1 - name: Test AWS CLI connectivity - run: | + run: | echo "Your ARN is: $(aws sts get-caller-identity --query Arn --output text)" + - name: Set up SAM CLI + run: | + curl -sSL https://github.com/aws/aws-sam-cli/releases/download/v1.72.0/aws-sam-cli-linux-x86_64.zip -o sam-cli.zip + unzip sam-cli.zip -d sam-cli + sudo ./sam-cli/install + + - name: Deploy with SAM + run: | + sam deploy --config-file samconfig.toml --config-env prod --resolve-s3 + + - run: echo "This job's status is ${{ job.status }}." From 558351b762e202c4f603fa52b5e8b29e5a332eb8 Mon Sep 17 00:00:00 2001 From: Trevor Gray <143422058+trevormgray@users.noreply.github.com> Date: Wed, 12 Feb 2025 14:31:09 -0500 Subject: [PATCH 2/4] Update github-actions.yml --- .github/workflows/github-actions.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index a0f455f..60c0fbf 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -22,11 +22,6 @@ jobs: - name: Test AWS CLI connectivity run: | echo "Your ARN is: $(aws sts get-caller-identity --query Arn --output text)" - - name: Set up SAM CLI - run: | - curl -sSL https://github.com/aws/aws-sam-cli/releases/download/v1.72.0/aws-sam-cli-linux-x86_64.zip -o sam-cli.zip - unzip sam-cli.zip -d sam-cli - sudo ./sam-cli/install - name: Deploy with SAM run: | From b3b3e64f00c7d3dc2caed6e088e3ec415c851633 Mon Sep 17 00:00:00 2001 From: Trevor Gray Date: Wed, 9 Apr 2025 23:29:05 -0400 Subject: [PATCH 3/4] Commiting to push changes to AWS --- endpoints/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/endpoints/app.py b/endpoints/app.py index 7ed9771..6ee7e11 100644 --- a/endpoints/app.py +++ b/endpoints/app.py @@ -68,6 +68,7 @@ def lambda_handler(event, context): response['body'] = {"error": "Internal Server Error"} return response + response["statusCode"] = 200 response['body'] = json.dumps(response_body) From 911f25fc7b4f8ccb521b5421d7ff4df022f325cf Mon Sep 17 00:00:00 2001 From: Trevor Gray Date: Thu, 10 Apr 2025 12:48:24 -0400 Subject: [PATCH 4/4] adding queries submodule --- endpoints/queries | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints/queries b/endpoints/queries index fbce84a..43411c4 160000 --- a/endpoints/queries +++ b/endpoints/queries @@ -1 +1 @@ -Subproject commit fbce84ad932874f5cdfbbe5011d8244f6e2c8d3f +Subproject commit 43411c4271fde4b0ba4ae19ed669a473f1eaf07f