Skip to content

Commit

Permalink
clean up alias
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Oct 5, 2024
1 parent 793769e commit c8f152d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,13 @@ timeout:
binary: bash
args: [ls, -la]

aliases:
working-dir: &working-dir src/go.mongodb.org/mongo-driver
run-task: &run-task src/go.mongodb.org/mongo-driver/.evergreen/run-task.sh

functions:
setup-system:
# Executes clone and applies the submitted patch, if any
- command: git.get_project
type: system
params:
directory: *working-dir
directory: src/go.mongodb.org/mongo-driver
# Make an env.sh and evergreen expansion file with dynamic values
- command: subprocess.exec
params:
Expand All @@ -45,6 +41,8 @@ functions:
GOROOT: ${GO_DIST}
IS_PATCH: ${is_patch}
VERSION_ID: ${version_id}
# Define an alias for the task runner script.
RUN_TASK_ALIAS: &run-task src/go.mongodb.org/mongo-driver/.evergreen/run-task.sh
args:
- ".evergreen/setup-system.sh"
- command: expansions.update
Expand Down

0 comments on commit c8f152d

Please sign in to comment.