forked from envoyproxy/envoy-openssl
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* envoy: update to latest HEAD Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com> * CI: Update Azure Pipeline Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com> * debug Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com> * test boringssl is disabled Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com> * fix typo Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
- Loading branch information
1 parent
66149d4
commit f3638d1
Showing
5 changed files
with
291 additions
and
290 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 |
---|---|---|
@@ -1,61 +1,54 @@ | ||
resources: | ||
containers: | ||
- container: envoy-build-image | ||
image: envoyproxy/envoy-build:latest | ||
|
||
trigger: | ||
branches: | ||
include: | ||
- 'master' | ||
|
||
jobs: | ||
# - job: build | ||
# dependsOn: [] | ||
# pool: | ||
# vmImage: 'Ubuntu 16.04' | ||
# container: envoy-build-image | ||
# steps: | ||
# - checkout: self | ||
# submodules: true | ||
# - script: | | ||
# bazel build //:envoy && \ | ||
# ./bazel-bin/envoy --version | ||
# displayName: 'Build Envoy-OpenSSL' | ||
# - job: test | ||
# dependsOn: [] | ||
# pool: | ||
# vmImage: 'Ubuntu 16.04' | ||
# container: envoy-build-image | ||
# steps: | ||
# - checkout: self | ||
# submodules: true | ||
# - script: | | ||
# bazel test //test/common/... //test/extensions/... | ||
# displayName: 'Test Envoy-OpenSSL' | ||
# - job: test-envoy | ||
# dependsOn: [] | ||
# pool: | ||
# vmImage: 'Ubuntu 16.04' | ||
# container: envoy-build-image | ||
# steps: | ||
# - checkout: self | ||
# submodules: true | ||
# - script: bazel test @envoy//test/... | ||
# displayName: 'Test Envoy' | ||
- job: verify | ||
dependsOn: [] | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
container: envoy-build-image | ||
steps: | ||
- checkout: self | ||
submodules: true | ||
- script: | | ||
bazel cquery "deps(//:envoy)" | grep @boringssl | ||
if [[ $(bazel cquery "deps(//:envoy)" 2> /dev/null | grep @boringssl) ]]; then | ||
echo "Envoy still depends on BoringSSL in boringssl=disabled mode!" | ||
exit 1 | ||
else | ||
echo "Envoy was built without BoringSSL dependencies!" | ||
fi | ||
displayName: 'Verify Envoy-OpenSSL' | ||
- job: boringssl | ||
dependsOn: [] | ||
timeoutInMinutes: 60 | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
steps: | ||
- checkout: self | ||
submodules: true | ||
|
||
- script: envoy/ci/run_envoy_docker.sh 'test 0 -eq $(cd /source && bazel cquery "deps($ENVOY_BUILD_TARGET)" | grep -c @boringssl)' | ||
workingDirectory: $(Build.SourcesDirectory) | ||
env: | ||
ENVOY_BUILD_TARGET: "//:envoy" | ||
ENVOY_SRCDIR: "/source/envoy" | ||
BAZEL_BUILD_EXTRA_OPTIONS: "--curses=no" | ||
displayName: "Test BoringSSL is disabled" | ||
|
||
- job: bazel | ||
dependsOn: ["boringssl"] | ||
strategy: | ||
maxParallel: 2 | ||
matrix: | ||
dev: | ||
CI_TARGET: 'bazel.dev' | ||
release: | ||
CI_TARGET: 'bazel.release' | ||
timeoutInMinutes: 360 | ||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
steps: | ||
- checkout: self | ||
submodules: true | ||
- bash: | | ||
sudo mkdir -p /etc/docker | ||
echo '{ | ||
"ipv6": true, | ||
"fixed-cidr-v6": "2001:db8:1::/64" | ||
}' | sudo tee /etc/docker/daemon.json | ||
sudo service docker restart | ||
displayName: "Enable IPv6" | ||
- script: envoy/ci/run_envoy_docker.sh 'envoy/ci/do_ci.sh $(CI_TARGET) //test/common/... //test/extensions/...' | ||
workingDirectory: $(Build.SourcesDirectory) | ||
env: | ||
ENVOY_BUILD_TARGET: "//:envoy" | ||
ENVOY_SRCDIR: "/source/envoy" | ||
BAZEL_BUILD_EXTRA_OPTIONS: "--curses=no" | ||
displayName: "Run CI script" |
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
Oops, something went wrong.