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

CMDCT-4105 - adds raw output to jq for consistency and non-breaking when we add playwright #2543

Merged
merged 1 commit into from
Jan 22, 2025
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
3 changes: 0 additions & 3 deletions .github/workflows/destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ permissions:
contents: read
actions: read

env:
SERVERLESS_LICENSE_KEY: ${{ secrets.SERVERLESS_LICENSE_KEY }}

jobs:
destroy:
# Protected branches should be designated as such in the GitHub UI.
Expand Down
2 changes: 1 addition & 1 deletion services/output.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ if [ $output = "url" ]; then
fi

cd $service
serverless info --stage $stage --json | jq --arg output $output '.outputs[] | select(.OutputKey == $output) | .OutputValue'
serverless info --stage $stage --json | jq --raw-output --arg output $output '.outputs[] | select(.OutputKey == $output) | .OutputValue'
cd ..
3 changes: 2 additions & 1 deletion services/uploads/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ custom:
package:initialize: |
set -e
curl -L --output lambda_layer.zip https://github.com/CMSgov/lambda-clamav-layer/releases/download/0.7/lambda_layer.zip
cp lambda_layer.zip services/uploads/lambda_layer.zip
deploy:finalize: |
rm lambda_layer.zip
rm lambda_layer.zip services/uploads/lambda_layer.zip
aws lambda invoke --region ${self:provider.region} --function-name ${self:service}-${self:custom.stage}-avDownloadDefinitions --invocation-type Event response.json
cat response.json
rm response.json
Expand Down
Loading