From c84fc8fb0a634d4429d27d63d74466da68723dc1 Mon Sep 17 00:00:00 2001 From: Deepika Date: Wed, 15 May 2019 10:47:20 +0530 Subject: [PATCH 1/8] Update shippable.yml --- shippable.yml | 70 ++++++++++++++++++++++----------------------------- 1 file changed, 30 insertions(+), 40 deletions(-) diff --git a/shippable.yml b/shippable.yml index b5f9e782..a3980786 100755 --- a/shippable.yml +++ b/shippable.yml @@ -1,43 +1,33 @@ -language: python +resources: + - name: sampleNode + type: gitRepo + repoPath: deepikasl/VT2 + configuration: + integrationName: deepikaGithub + branches: + only: master + initialVersion: + sha: master -#runtime: -# nodePool: custom__x86_64__Ubuntu_16_04 - -python: - # - 2.6 - # - 2.7 - # - 3.2 - # - 3.3 - # - 3.4 - - pypy - - pypy3 +pipelines: + - name: pipeline1 + setup: + runtime: onHost + steps: + - name: stepA + type: bash + requires: + resources: + - sampleNode + execution: + onExecute: + - echo "executing stepA..." + - pip install -r requirements.txt + - mkdir -p shippable/testresults + - mkdir -p shippable/codecoverage + - which python + - coverage run `which nosetests` test.py --with-xunit --xunit-file=shippable/testresults/nosetests.xml + - coverage xml -o shippable/codecoverage/coverage.xml + - echo "End of CI sec" -build: - ci: - - pip install -r requirements.txt - - mkdir -p shippable/testresults - - mkdir -p shippable/codecoverage - - which python - - coverage run `which nosetests` test.py --with-xunit --xunit-file=shippable/testresults/nosetests.xml - - coverage xml -o shippable/codecoverage/coverage.xml - - lsb_release -a - - docker --version - - docker info - - docker ps - #- sleep 3m -integrations: - notifications: - - - integrationName: email - type: email - recipients: - - shiptest.rc.ow@gmail.com - - shiptest.rc.me@gmail.com - - varsha@shippable.com - sendConsoleLogs: true - sendCoverageReports: true - on_start: always - on_success: always - on_failure: always - on_cancel: always From 79ae12910c75b1fbdcfb86bb8d2692928b32ecf6 Mon Sep 17 00:00:00 2001 From: Deepika Date: Wed, 15 May 2019 10:50:30 +0530 Subject: [PATCH 2/8] Update shippable.yml --- shippable.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shippable.yml b/shippable.yml index a3980786..f5de825a 100755 --- a/shippable.yml +++ b/shippable.yml @@ -17,8 +17,8 @@ pipelines: - name: stepA type: bash requires: - resources: - - sampleNode + integrations: + - artifactory_int execution: onExecute: - echo "executing stepA..." From 8bd2473a2af2fccc125210aa8123f1f2a7d369c1 Mon Sep 17 00:00:00 2001 From: Deepika Date: Wed, 15 May 2019 10:52:02 +0530 Subject: [PATCH 3/8] Update shippable.yml --- shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index f5de825a..46fee188 100755 --- a/shippable.yml +++ b/shippable.yml @@ -17,7 +17,7 @@ pipelines: - name: stepA type: bash requires: - integrations: + integration: - artifactory_int execution: onExecute: From 055072772a90e7149436a1643a573f1e83ec8237 Mon Sep 17 00:00:00 2001 From: Deepika Date: Wed, 15 May 2019 10:52:53 +0530 Subject: [PATCH 4/8] Update shippable.yml --- shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index 46fee188..f5de825a 100755 --- a/shippable.yml +++ b/shippable.yml @@ -17,7 +17,7 @@ pipelines: - name: stepA type: bash requires: - integration: + integrations: - artifactory_int execution: onExecute: From b6922bf5d3280893f9d3fce379e2496f01a60b56 Mon Sep 17 00:00:00 2001 From: Deepika Date: Wed, 15 May 2019 10:53:20 +0530 Subject: [PATCH 5/8] Update shippable.yml --- shippable.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/shippable.yml b/shippable.yml index f5de825a..9dd40241 100755 --- a/shippable.yml +++ b/shippable.yml @@ -22,12 +22,5 @@ pipelines: execution: onExecute: - echo "executing stepA..." - - pip install -r requirements.txt - - mkdir -p shippable/testresults - - mkdir -p shippable/codecoverage - - which python - - coverage run `which nosetests` test.py --with-xunit --xunit-file=shippable/testresults/nosetests.xml - - coverage xml -o shippable/codecoverage/coverage.xml - - echo "End of CI sec" From 5ad08f80010ef6662fb836c06cb72625312ff67c Mon Sep 17 00:00:00 2001 From: Deepika Date: Wed, 15 May 2019 10:53:33 +0530 Subject: [PATCH 6/8] Update shippable.yml --- shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index 9dd40241..db715703 100755 --- a/shippable.yml +++ b/shippable.yml @@ -17,7 +17,7 @@ pipelines: - name: stepA type: bash requires: - integrations: + integration: - artifactory_int execution: onExecute: From f01dd7520a2bec7c5cc96cf786319f731ee47505 Mon Sep 17 00:00:00 2001 From: Deepika Date: Fri, 17 May 2019 14:51:14 +0530 Subject: [PATCH 7/8] Update shippable.yml --- shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index db715703..9dd40241 100755 --- a/shippable.yml +++ b/shippable.yml @@ -17,7 +17,7 @@ pipelines: - name: stepA type: bash requires: - integration: + integrations: - artifactory_int execution: onExecute: From 3969a7b361cbad6d265aa0d8b9b8d7300615903a Mon Sep 17 00:00:00 2001 From: Deepika Date: Fri, 17 May 2019 14:52:06 +0530 Subject: [PATCH 8/8] Update shippable.yml --- shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index 9dd40241..48ccfc11 100755 --- a/shippable.yml +++ b/shippable.yml @@ -18,7 +18,7 @@ pipelines: type: bash requires: integrations: - - artifactory_int + - artifactory_int_1 execution: onExecute: - echo "executing stepA..."