-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate 3rd batch of CI jobs (#2183)
### Description of changes: This PR migrates jobs that require `ipv6` enabled in CodeBuild to run properly (with `nmap` being a special add-on to balance out the size of the next batch of jobs). The jobs to be migrated in this PR are: - `grpc` - `bind9` - `strongswan` - `openvpn2.6` - `openvpnMaster` - `nmap` ### Call-outs: In this PR, I changed the build directory of `bind9` to resolve a character limit issue in CodeBuild. In one of its tests, `bind9` will try to create a socket with a path deep within the build directory. Since CodeBuild's build directory is already very long, the combined socket path length will exceed the Linux limit of 108 characters. Therefore, I had to reduce the length of the build directory to mitigate this issue. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
- Loading branch information
1 parent
d12776d
commit 1ada1e3
Showing
4 changed files
with
82 additions
and
88 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
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,16 @@ | ||
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
# SPDX-License-Identifier: Apache-2.0 OR ISC | ||
|
||
version: 0.2 | ||
|
||
env: | ||
variables: | ||
GOPROXY: https://proxy.golang.org,direct | ||
|
||
phases: | ||
pre_build: | ||
commands: | ||
- sysctl -w net.ipv6.conf.all.disable_ipv6=0 | ||
build: | ||
commands: | ||
- "./${AWS_LC_CI_TARGET}" |
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