Skip to content
Snippets Groups Projects
Commit 46edb86e authored by Madalyn Marabella's avatar Madalyn Marabella
Browse files

Squashed commit of the following

commit eabe2cc8 
Author: Madalyn Marabella <mmarabe@amazon.com> 
Date: Wed Apr 12 2023 15:42:10 GMT-0500 (Central Daylight Time) 

    remove echos


commit c003a847 
Author: Madalyn Marabella <mmarabe@amazon.com> 
Date: Wed Apr 12 2023 13:37:53 GMT-0500 (Central Daylight Time) 

    use  to reference dependencies


commit c064f218 
Author: Madalyn Marabella <mmarabe@amazon.com> 
Date: Wed Apr 12 2023 13:12:09 GMT-0500 (Central Daylight Time) 

    move jwt script to devops dir and copy
parent 24b2d720
No related branches found
No related tags found
1 merge request!497M18 service and CICD updates
......@@ -76,6 +76,9 @@ phases:
- GIT_SECRETS_SCAN_RESULT=$(git secrets --scan 2> ${OUTPUT_DIR}/git_secrets.out.txt && echo OK || echo FAILED)
- if [ "$GIT_SECRETS_SCAN_RESULT" = "FAILED" ]; then echo "Secrets detected!" && exit 1; fi
- cp devops/aws/aws_jwt_client.py testing/integration-tests/search-test-aws/build-aws/aws_jwt_client.py
- cp devops/aws/requirements.txt testing/integration-tests/search-test-aws/build-aws/requirements.txt
- echo "Building primary service assemblies..."
- mvn -ntp -B test install sonar:sonar -pl .,search-core,provider/search-aws -Ddeployment.environment=prod -Dsonar.login=${SONAR_USERNAME} -Dsonar.password=${SONAR_PASSWORD} -Dsonar.branch.name=${BRANCH_NAME}
......
......@@ -39,9 +39,8 @@ export ELASTIC_USER_NAME=$ELASTIC_USERNAME
timestamp=$(date +%s)
export LEGAL_TAG=opendes-public-usa-dataset-1-$timestamp
#### POPULATE LEGAL TAGS #########################################################################
pip3 install -r aws-jwt-client/requirements.txt
token=$(python3 aws-jwt-client/aws_jwt_client.py)
pip3 install -r $SCRIPT_SOURCE_DIR/requirements.txt
token=$(python3 $SCRIPT_SOURCE_DIR/aws_jwt_client.py)
echo '**** Generating token *****************'
echo 'Register Legal tag before Integration Tests ...'
curl --location --request POST "$LEGAL_URL"'legaltags' \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment