aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/base-images
diff options
context:
space:
mode:
authorGravatar jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2022-03-21 15:17:07 -0400
committerGravatar GitHub <noreply@github.com>2022-03-21 15:17:07 -0400
commit2e60f2dde964624de8178fa0c93c5a48f18e383b (patch)
treee80b23231f71e063870e130544463bc13f67b0f3 /infra/base-images
parentefa825d7fe6e7bed0a6704f51ea70be7219a8c57 (diff)
[infra] Add test script for infra changes (#7388)
This adds ci.py a script that can be used to test changes to the base-images. The script does the following: 1. Builds and pushes a test image for each base image. This will be used in step 3. 2. Finds which projects are buildable based on user specifications of: projects, build type (e.g. sanitizer/fuzzing engine) and which of these succeeded in production. 3. Submits builds for those projects. 4. Polls GCB to check which builds succeeded and which failed. 5. Returns 0 if all builds succeeded. Currently this script is only useful to run locally. Related: https://github.com/google/oss-fuzz/issues/7145
Diffstat (limited to 'infra/base-images')
-rwxr-xr-xinfra/base-images/base-builder/install_swift.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/infra/base-images/base-builder/install_swift.sh b/infra/base-images/base-builder/install_swift.sh
index c6dab22d..c539c4d9 100755
--- a/infra/base-images/base-builder/install_swift.sh
+++ b/infra/base-images/base-builder/install_swift.sh
@@ -33,14 +33,14 @@ SWIFT_PACKAGES="wget \
tzdata \
zlib1g-dev"
SWIFT_SYMBOLIZER_PACKAGES="build-essential make cmake ninja-build git python3 g++-multilib binutils-dev zlib1g-dev"
-apt-get update && apt-get install -y $SWIFT_PACKAGES && \
- apt-get install -y $SWIFT_SYMBOLIZER_PACKAGES --no-install-recommends
+apt-get update && apt install -y $SWIFT_PACKAGES && \
+ apt install -y $SWIFT_SYMBOLIZER_PACKAGES --no-install-recommends
wget https://swift.org/builds/swift-5.4.2-release/ubuntu2004/swift-5.4.2-RELEASE/swift-5.4.2-RELEASE-ubuntu20.04.tar.gz
tar xzf swift-5.4.2-RELEASE-ubuntu20.04.tar.gz
cp -r swift-5.4.2-RELEASE-ubuntu20.04/usr/* /usr/
-rm -rf swift-5.4.2-RELEASE-ubuntu20.04.tar.gz swift-5.4.2-RELEASE-ubuntu20.04
+rm -rf swift-5.4.2-RELEASE-ubuntu20.04.tar.gz
# TODO: Move to a seperate work dir
git clone https://github.com/llvm/llvm-project.git
cd llvm-project