awstest.yml 1021 Bytes
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
7
8
9
10
11
12
13
    - .aws_variables
  stage: integration
  image: node
  needs: ['aws-update-ecs']
  script:
    - apt-get update
    - apt-get install -y python
    - apt-get install -y python-pip
    - pip install -r devops/aws/requirements.txt
14
    - svctoken=$(python devops/scripts/aws_jwt_client.py)   
Rucha Deshpande's avatar
Rucha Deshpande committed
15
16
17
18
19
20
21
22
23
24
25
    - 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