Skip to content

Commit

Permalink
use a token rather
Browse files Browse the repository at this point in the history
  • Loading branch information
lerouxb committed Jan 17, 2025
1 parent f99421e commit 0d01632
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .evergreen/functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,6 @@ post:
- command: attach.xunit_results
params:
file: src/.logs/*.xml
modules:
- name: compass-mongodb-com
owner: 10gen
repo: compass-mongodb-com
prefix: ".." # put it next to src which contains compass
branch: master
functions:
clone:
- command: git.get_project
Expand Down Expand Up @@ -666,13 +660,22 @@ functions:
npm run --unsafe-perm --workspace compass-e2e-tests test-packaged-ci
get-compass-mongodb-com:
- command: github.generate_token
params:
owner: 10gen
repo: compass-mongodb-com
expansion_name: generated_token
permissions: # optional
contents: read
- command: shell.exec
type: setup
params:
working_dir: compass-mongodb-com
working_dir: src
shell: bash
script: |
set -e
git clone https://x-access-token:${generated_token}github.com/10gen/compass-mongodb-com.git ../compass-mongodb-com
cd ../compass-mongodb-com
echo "Using node version:";
node -v;
echo "Using npm version:";
Expand Down

0 comments on commit 0d01632

Please sign in to comment.