Skip to content

Commit

Permalink
Speed up nightly job by running in a different agent
Browse files Browse the repository at this point in the history
  • Loading branch information
crazytonyli committed Dec 19, 2024
1 parent 5df7bbb commit c140587
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .buildkite/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ steps:
command: |
echo "--- :rust: Testing"
make test-rust-integration-wordpress-org-api
agents:
queue: tumblr-metal
env:
TEST_ALL_PLUGINS: true

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ docker_container_repo_dir=/app
rust_docker_container := public.ecr.aws/docker/library/rust:1.80

docker_opts_shared := --rm -v "$(PWD)":$(docker_container_repo_dir) -w $(docker_container_repo_dir)
rust_docker_run := docker run -v $(PWD):/$(docker_container_repo_dir) -w $(docker_container_repo_dir) -it -e TEST_ALL_PLUGINS -e CARGO_HOME=/app/.cargo $(rust_docker_container)
rust_docker_run := docker run -v $(PWD):/$(docker_container_repo_dir) -w $(docker_container_repo_dir) -it -e HTTP_PROXY -e HTTPS_PROXY -e TEST_ALL_PLUGINS -e CARGO_HOME=/app/.cargo $(rust_docker_container)
docker_build_and_run := docker build -t foo . && docker run $(docker_opts_shared) -it foo

swift_package_platform_version = $(shell swift package dump-package | jq -r '.platforms[] | select(.platformName=="$1") | .version')
Expand Down

0 comments on commit c140587

Please sign in to comment.