-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[identity] Switch Identity unit tests to autoscaling CI runners
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
1 parent
c2b8eac
commit 9d4decd
Showing
2 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |