-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add AWS CodeBuild buildspec for quic-attack (#2003)
* add buildspec.yml * add -y command to run rustup accepting defaults * install cmake * use stable for installing ultraman * use debug build while testing * set SHELL env variable * trying without eval * change to debug * put eval back * exit with 0 only if the time limit was reached * add new line to buildspec.yml * add new line to run * use environment variable for runtime * Add message * change pkill input * try out a panic * remove panic * add quotes to pkill * try panic again * remove panic
- Loading branch information
1 parent
14d5703
commit 5b0d34b
Showing
2 changed files
with
41 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
version: 0.2 | ||
|
||
env: | ||
shell: bash | ||
variables: | ||
# ultraman requires $SHELL be set | ||
SHELL: "/bin/bash" | ||
|
||
phases: | ||
install: | ||
commands: | ||
- echo "Installing Rust ..." | ||
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | ||
- source $HOME/.cargo/env | ||
- echo "Installing cmake ..." | ||
- apt-get update -y | ||
- apt-get install -y cmake | ||
build: | ||
commands: | ||
- printenv | ||
- echo "Running quic-attack for $RUNTIME seconds" | ||
- ./scripts/quic-attack/run $RUNTIME |
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