diff --git a/.circleci/config.yml b/.circleci/config.yml index 1b29f80..69fc0f1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -179,7 +179,7 @@ jobs: pip install -U 'pip<19.2' 'setuptools<51.0.0' pip install .[dev] - run: - name: 'Testing automatic fields' + name: 'Testing Automatic Fields' command: | aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/tap_tester_sandbox dev_env.sh source dev_env.sh @@ -194,180 +194,6 @@ jobs: failure_message: | :face_vomiting: ${CIRCLE_JOB} failed! - all-fields-test: - docker: - - image: 218546966473.dkr.ecr.us-east-1.amazonaws.com/circle-ci:stitch-tap-tester - steps: - - checkout - - add_ssh_keys - - run: - name: 'Setup virtual env' - command: | - python3 -m venv /usr/local/share/virtualenvs/tap-square - source /usr/local/share/virtualenvs/tap-square/bin/activate - pip install -U 'pip<19.2' 'setuptools<51.0.0' - pip install .[dev] - - run: - name: 'Testing all fields' - command: | - aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/tap_tester_sandbox dev_env.sh - source dev_env.sh - source /usr/local/share/virtualenvs/tap-tester/bin/activate - pip install 'squareup==5.3.0.20200528' - run-test --tap=tap-square tests/test_all_fields.py - - slack/status: - channel: 'stitch-tap-tester-tests' - mentions: "${CIRCLE_USERNAME}" - fail_only: true - only_for_branches: master - failure_message: | - :face_vomiting: ${CIRCLE_JOB} failed! - - bookmarks-test: - docker: - - image: 218546966473.dkr.ecr.us-east-1.amazonaws.com/circle-ci:stitch-tap-tester - steps: - - checkout - - add_ssh_keys - - run: - name: 'Setup virtual env' - command: | - python3 -m venv /usr/local/share/virtualenvs/tap-square - source /usr/local/share/virtualenvs/tap-square/bin/activate - pip install -U 'pip<19.2' 'setuptools<51.0.0' - pip install .[dev] - - run: - name: 'Testing bookmarks' - command: | - aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/tap_tester_sandbox dev_env.sh - source dev_env.sh - source /usr/local/share/virtualenvs/tap-tester/bin/activate - pip install 'squareup==5.3.0.20200528' - run-test --tap=tap-square tests/test_bookmarks.py - - slack/status: - channel: 'stitch-tap-tester-tests' - mentions: "${CIRCLE_USERNAME}" - fail_only: true - only_for_branches: master - failure_message: | - :face_vomiting: ${CIRCLE_JOB} failed! - - static-bookmarks-test: - docker: - - image: 218546966473.dkr.ecr.us-east-1.amazonaws.com/circle-ci:stitch-tap-tester - steps: - - checkout - - add_ssh_keys - - run: - name: 'Setup virtual env' - command: | - python3 -m venv /usr/local/share/virtualenvs/tap-square - source /usr/local/share/virtualenvs/tap-square/bin/activate - pip install -U 'pip<19.2' 'setuptools<51.0.0' - pip install .[dev] - - run: - name: 'Testing static bookmarks' - command: | - aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/tap_tester_sandbox dev_env.sh - source dev_env.sh - source /usr/local/share/virtualenvs/tap-tester/bin/activate - pip install 'squareup==5.3.0.20200528' - run-test --tap=tap-square tests/test_bookmarks_static.py - - slack/status: - channel: 'stitch-tap-tester-tests' - mentions: "${CIRCLE_USERNAME}" - fail_only: true - only_for_branches: master - failure_message: | - :face_vomiting: ${CIRCLE_JOB} failed! - - start-date-test: - docker: - - image: 218546966473.dkr.ecr.us-east-1.amazonaws.com/circle-ci:stitch-tap-tester - steps: - - checkout - - add_ssh_keys - - run: - name: 'Setup virtual env' - command: | - python3 -m venv /usr/local/share/virtualenvs/tap-square - source /usr/local/share/virtualenvs/tap-square/bin/activate - pip install -U 'pip<19.2' 'setuptools<51.0.0' - pip install .[dev] - - run: - name: 'Testing Start Date' - command: | - aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/tap_tester_sandbox dev_env.sh - source dev_env.sh - source /usr/local/share/virtualenvs/tap-tester/bin/activate - pip install 'squareup==5.3.0.20200528' - run-test --tap=tap-square tests/test_start_date.py - - slack/status: - channel: 'stitch-tap-tester-tests' - mentions: "${CIRCLE_USERNAME}" - fail_only: true - only_for_branches: master - failure_message: | - :face_vomiting: ${CIRCLE_JOB} failed! - - pagination-test: - docker: - - image: 218546966473.dkr.ecr.us-east-1.amazonaws.com/circle-ci:stitch-tap-tester - steps: - - checkout - - add_ssh_keys - - run: - name: 'Setup virtual env' - command: | - python3 -m venv /usr/local/share/virtualenvs/tap-square - source /usr/local/share/virtualenvs/tap-square/bin/activate - pip install -U 'pip<19.2' 'setuptools<51.0.0' - pip install .[dev] - - run: - name: 'Testing pagination' - command: | - aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/tap_tester_sandbox dev_env.sh - source dev_env.sh - source /usr/local/share/virtualenvs/tap-tester/bin/activate - pip install 'squareup==5.3.0.20200528' - run-test --tap=tap-square tests/test_pagination.py - - slack/status: - channel: 'stitch-tap-tester-tests' - mentions: "${CIRCLE_USERNAME}" - fail_only: true - only_for_branches: master - failure_message: | - :face_vomiting: ${CIRCLE_JOB} failed! - - bookmarks-cursor-test: - docker: - - image: 218546966473.dkr.ecr.us-east-1.amazonaws.com/circle-ci:stitch-tap-tester - steps: - - checkout - - add_ssh_keys - - run: - name: 'Setup virtual env' - command: | - python3 -m venv /usr/local/share/virtualenvs/tap-square - source /usr/local/share/virtualenvs/tap-square/bin/activate - pip install -U 'pip<19.2' 'setuptools<51.0.0' - pip install .[dev] - - run: - name: 'Testing bookmarks cursor' - command: | - aws s3 cp s3://com-stitchdata-dev-deployment-assets/environments/tap-tester/tap_tester_sandbox dev_env.sh - source dev_env.sh - source /usr/local/share/virtualenvs/tap-tester/bin/activate - pip install 'squareup==5.3.0.20200528' - run-test --tap=tap-square tests/test_bookmarks_cursor.py - - slack/status: - channel: 'stitch-tap-tester-tests' - mentions: "${CIRCLE_USERNAME}" - fail_only: true - only_for_branches: master - failure_message: | - :face_vomiting: ${CIRCLE_JOB} failed! - workflows: version: 2 commit: @@ -418,42 +244,6 @@ workflows: - tap-tester-user requires: - queue - - all-fields-test: - context: - - circleci-user - - tap-tester-user - requires: - - queue - - bookmarks-test: - context: - - circleci-user - - tap-tester-user - requires: - - queue - - static-bookmarks-test: - context: - - circleci-user - - tap-tester-user - requires: - - queue - - start-date-test: - context: - - circleci-user - - tap-tester-user - requires: - - queue - - pagination-test: - context: - - circleci-user - - tap-tester-user - requires: - - queue - - bookmarks-cursor-test: - context: - - circleci-user - - tap-tester-user - requires: - - queue build_daily: triggers: - schedule: @@ -487,27 +277,3 @@ workflows: context: - circleci-user - tap-tester-user - - all-fields-test: - context: - - circleci-user - - tap-tester-user - - bookmarks-test: - context: - - circleci-user - - tap-tester-user - - static-bookmarks-test: - context: - - circleci-user - - tap-tester-user - - start-date-test: - context: - - circleci-user - - tap-tester-user - - pagination-test: - context: - - circleci-user - - tap-tester-user - - bookmarks-cursor-test: - context: - - circleci-user - - tap-tester-user