awstest.yml 1.07 KB
Newer Older
Rucha Deshpande's avatar
Rucha Deshpande committed
1
2
3
aws-test-newman:
  extends:
    - .aws
Yunhua Koglin's avatar
Yunhua Koglin committed
4
    - .aws_common_variables
Rucha Deshpande's avatar
Rucha Deshpande committed
5
6
    - .aws_variables
  stage: integration
Matt Wise's avatar
Matt Wise committed
7
  image: $CI_REGISTRY/osdu/platform/deployment-and-operations/base-containers-aws/aws-node/aws-node:v1.0-node14
Yunhua Koglin's avatar
merge    
Yunhua Koglin committed
8
  needs: [{ job: 'aws-update-ecs', optional: true }, { job: 'aws-update-eks', optional: true }]
Rucha Deshpande's avatar
Rucha Deshpande committed
9
  script:
Matt Wise's avatar
Matt Wise committed
10
11
    - pip3 install -r devops/aws/requirements.txt
    - svctoken=$(python3 devops/scripts/aws_jwt_client.py)   
Rucha Deshpande's avatar
Rucha Deshpande committed
12
13
14
15
16
17
18
19
20
21
22
    - npm install -g newman
    - chmod +x ./tests/e2e/run_e2e_tests.sh
    - ./tests/e2e/run_e2e_tests.sh --seistore-svc-url=${SEISMICSTORE_SVC_URL} --seistore-svc-api-key="NA" --user-idtoken="$svctoken" --user-idtoken="$svctoken" --tenant=opendes --subproject=awsdemosubproject --admin-email="${AWS_COGNITO_AUTH_PARAMS_USER}" --datapartition=opendes --legaltag01=opendes-sdmstestlegaltag --legaltag02=opendes-sdmstestlegaltag --subproject-long-name=subprojectlonggggggggggggggggggggggname --VCS-Provider="${ISGITLAB}"
  only:
    variables:
      -  $AWS == 'true'
  artifacts:
    when: always
    paths:
      - $INTEGRATION_TEST_DIR
    expire_in: 14 days