Commit Graph

4 Commits

Author SHA1 Message Date
James Butters 18862fdf0e spec: revert pact scripts in bin/ to use web
pact scripts in bin/ are for local runs of pact and need to
use web container, new files that are in build/new-jenkins
don't need the check if Jenkins.

flag = none

Change-Id: I878b157b9856f1c25e160d7608b226f7185974a3
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/237520
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Rex Fleischer <rfleischer@instructure.com>
Reviewed-by: Derek Bender <djbender@instructure.com>
Reviewed-by: Jacob Powell <spowell@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
2020-05-15 19:47:55 +00:00
James Butters 335f6c8c46 spec: more parallel of docker, better even
using the option project-name with docker-compose allows
us to have all services separate for each group of tests.

test plan:
Jenkins passes all build
logs are copied out of containers for archiving/test reports
run with force-failure flag


flag = none
closes: CCI-341

Change-Id: I99820f64023dde17a1b75e76bcec2dfe84529e91
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/236029
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Derek Bender <djbender@instructure.com>
Reviewed-by: Jacob Powell <spowell@instructure.com>
Reviewed-by: Rex Fleischer <rfleischer@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
2020-05-11 15:07:18 +00:00
Robert Lamb b811f3ea76 spec: Add git SHA to pact file consumer version.
test plan:
  - use the bin/contracts-publish-api file to publish
    a pact file to the pact broker
  - verify the SHA on the broker matches the HEAD SHA on your
    current branch using `git log`

Change-Id: I69a08a2e4fb735d1f211fb29d860f829c75113fd
Reviewed-on: https://gerrit.instructure.com/156448
Tested-by: Jenkins
Reviewed-by: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Reviewed-by: Anju Reddy <areddy@instructure.com>
Product-Review: Anju Reddy <areddy@instructure.com>
QA-Review: Anju Reddy <areddy@instructure.com>
2018-07-07 00:01:58 +00:00
Robert Lamb 07d9b2dd1e spec: add script to publish generic consumer pact
Add script to publish the generic consumer pact to
the inseng pact broker.

It relies on the environment variables PACT_BROKER_USERNAME
and PACT_BROKER_PASSWORD, so remember to set them in your
environment.

- updated path to consul.yml

Change-Id: I9b96d24a5ffda2851ba3888d8aee612334ca4d6d
Reviewed-on: https://gerrit.instructure.com/153681
Tested-by: Jenkins
Reviewed-by: Anju Reddy <areddy@instructure.com>
Product-Review: Robert Lamb <rlamb@instructure.com>
QA-Review: Robert Lamb <rlamb@instructure.com>
2018-06-14 17:13:07 +00:00