File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -126,12 +126,6 @@ post:
126126 - command : attach.xunit_results
127127 params :
128128 file : src/.logs/*.xml
129- modules :
130- - name : compass-mongodb-com
131- owner : 10gen
132- repo : compass-mongodb-com
133- prefix : " .." # put it next to src which contains compass
134- branch : master
135129functions :
136130 clone :
137131 - command : git.get_project
@@ -666,13 +660,22 @@ functions:
666660 npm run --unsafe-perm --workspace compass-e2e-tests test-packaged-ci
667661
668662 get-compass-mongodb-com :
663+ - command : github.generate_token
664+ params :
665+ owner : 10gen
666+ repo : compass-mongodb-com
667+ expansion_name : generated_token
668+ permissions : # optional
669+ contents : read
669670 - command : shell.exec
670671 type : setup
671672 params :
672- working_dir : compass-mongodb-com
673+ working_dir : src
673674 shell : bash
674675 script : |
675676 set -e
677+ git clone https://x-access-token:${generated_token}github.com/10gen/compass-mongodb-com.git ../compass-mongodb-com
678+ cd ../compass-mongodb-com
676679 echo "Using node version:";
677680 node -v;
678681 echo "Using npm version:";
You can’t perform that action at this time.
0 commit comments