Skip to content

Commit

Permalink
[identity] Switch Identity unit tests to autoscaling CI runners
Browse files Browse the repository at this point in the history
Summary:
Pretty much identical to D10328 but for Identity.

Context: https://linear.app/comm/issue/ENG-5770/office-mba-runner-out-of-storage#comment-d61c38e9

Test Plan:
See if CI passes

{F947195}

Reviewers: ashoat, ginsu, tomek, rohan, bartek, varun

Reviewed By: varun

Differential Revision: https://phab.comm.dev/D10339
  • Loading branch information
atulsmadhugiri committed Dec 19, 2023
1 parent c2b8eac commit 9d4decd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .buildkite/blob_unittests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
steps:
- label: ':nix: Blob Unittests'
- label: 'Blob Unittests'
command:
- 'apt update && apt install -y autoconf libtool build-essential cmake git'
- './scripts/install_protobuf.sh'
Expand Down
14 changes: 9 additions & 5 deletions .buildkite/identity_tests.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
env:
PATH: '$HOME/.nix-profile/bin:/nix/var/nix/profiles/default/bin:$PATH'
steps:
- label: ':nix: Identity Tests (Nix)'
- label: 'Identity Tests'
command:
- 'apt update && apt install -y autoconf libtool build-essential cmake git'
- './scripts/install_protobuf.sh'
- 'cd services/identity'
- 'nix develop --accept-flake-config --command cargo test'
- 'cargo test'
retry:
automatic: true
plugins:
- docker#v5.3.0:
image: 'rust:1.74.0'
propagate-environment: true
agents:
- 'mac=true'
- 'autoscaling=true'

0 comments on commit 9d4decd

Please sign in to comment.