forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request envoyproxy#483 from jplevyak/update-1.14.1
Update to envoyproxy @ 1.14.1
- Loading branch information
Showing
1,735 changed files
with
39,153 additions
and
7,902 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,57 @@ | ||
parameters: | ||
- name: ciTarget | ||
displayName: "CI target" | ||
type: string | ||
default: bazel.release | ||
|
||
steps: | ||
- task: CacheBeta@1 | ||
inputs: | ||
key: '"${{ parameters.ciTarget }}" | ./WORKSPACE | **/*.bzl' | ||
path: $(Build.StagingDirectory)/repository_cache | ||
|
||
- bash: | | ||
echo "disk space at beginning of build:" | ||
df -h | ||
displayName: "Check disk space at beginning" | ||
- 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: ci/run_envoy_docker.sh 'ci/do_ci.sh ${{ parameters.ciTarget }}' | ||
workingDirectory: $(Build.SourcesDirectory) | ||
env: | ||
ENVOY_DOCKER_BUILD_DIR: $(Build.StagingDirectory) | ||
ENVOY_RBE: "true" | ||
# Use https://docs.bazel.build/versions/master/command-line-reference.html#flag--experimental_repository_cache_hardlinks | ||
# to save disk space. | ||
BAZEL_BUILD_EXTRA_OPTIONS: "--config=remote-ci --jobs=$(RbeJobs) --curses=no --experimental_repository_cache_hardlinks" | ||
BAZEL_REMOTE_CACHE: grpcs://remotebuildexecution.googleapis.com | ||
BAZEL_REMOTE_INSTANCE: projects/envoy-ci/instances/default_instance | ||
GCP_SERVICE_ACCOUNT_KEY: $(GcpServiceAccountKey) | ||
displayName: "Run CI script" | ||
|
||
- bash: | | ||
echo "disk space at end of build:" | ||
df -h | ||
displayName: "Check disk space at end" | ||
condition: always() | ||
- task: PublishTestResults@2 | ||
inputs: | ||
testResultsFiles: "**/bazel-out/**/testlogs/**/test.xml" | ||
testRunTitle: "${{ parameters.ciTarget }}" | ||
searchFolder: $(Build.StagingDirectory)/tmp | ||
condition: always() | ||
|
||
- task: PublishBuildArtifacts@1 | ||
inputs: | ||
pathtoPublish: "$(Build.StagingDirectory)/envoy" | ||
artifactName: ${{ parameters.ciTarget }} | ||
condition: always() |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
pipelines.yml |
This file was deleted.
Oops, something went wrong.
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,145 @@ | ||
trigger: | ||
branches: | ||
include: | ||
- "master" | ||
tags: | ||
include: | ||
- "v*" | ||
|
||
# PR build config is manually overridden in Azure pipelines UI with different secrets | ||
pr: none | ||
|
||
jobs: | ||
- job: format | ||
dependsOn: [] # this removes the implicit dependency on previous stage and causes this to run in parallel. | ||
pool: | ||
vmImage: "ubuntu-16.04" | ||
steps: | ||
- task: CacheBeta@1 | ||
inputs: | ||
key: "format | ./WORKSPACE | **/*.bzl" | ||
path: $(Build.StagingDirectory)/repository_cache | ||
|
||
- script: ci/run_envoy_docker.sh 'ci/check_and_fix_format.sh' | ||
workingDirectory: $(Build.SourcesDirectory) | ||
env: | ||
ENVOY_DOCKER_BUILD_DIR: $(Build.StagingDirectory) | ||
BAZEL_REMOTE_CACHE: grpcs://remotebuildexecution.googleapis.com | ||
BAZEL_REMOTE_INSTANCE: projects/envoy-ci/instances/default_instance | ||
GCP_SERVICE_ACCOUNT_KEY: $(GcpServiceAccountKey) | ||
displayName: "Run check format scripts" | ||
|
||
- task: PublishBuildArtifacts@1 | ||
inputs: | ||
pathtoPublish: "$(Build.StagingDirectory)/fix_format.diff" | ||
artifactName: format | ||
condition: failed() | ||
|
||
- job: release | ||
displayName: "Linux-x64 release" | ||
dependsOn: ["format"] | ||
# For master builds, continue even if format fails | ||
condition: and(not(canceled()), or(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))) | ||
timeoutInMinutes: 360 | ||
pool: | ||
vmImage: "ubuntu-16.04" | ||
steps: | ||
- template: bazel.yml | ||
parameters: | ||
ciTarget: bazel.release | ||
|
||
- job: bazel | ||
displayName: "Linux-x64" | ||
dependsOn: ["release"] | ||
# For master builds, continue even if format fails | ||
condition: and(not(canceled()), or(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))) | ||
strategy: | ||
maxParallel: 3 | ||
matrix: | ||
gcc: | ||
CI_TARGET: "bazel.gcc" | ||
clang_tidy: | ||
CI_TARGET: "bazel.clang_tidy" | ||
asan: | ||
CI_TARGET: "bazel.asan" | ||
tsan: | ||
CI_TARGET: "bazel.tsan" | ||
compile_time_options: | ||
CI_TARGET: "bazel.compile_time_options" | ||
timeoutInMinutes: 360 | ||
pool: | ||
vmImage: "Ubuntu 16.04" | ||
steps: | ||
- template: bazel.yml | ||
parameters: | ||
ciTarget: $(CI_TARGET) | ||
|
||
- job: docker | ||
displayName: "Linux-x64 docker" | ||
dependsOn: ["release"] | ||
condition: and(succeeded(), eq(variables['PostSubmit'], 'true'), ne(variables['Build.Reason'], 'PullRequest')) | ||
pool: | ||
vmImage: "ubuntu-16.04" | ||
steps: | ||
- task: DownloadBuildArtifacts@0 | ||
inputs: | ||
buildType: current | ||
artifactName: "bazel.release" | ||
itemPattern: "bazel.release/envoy_binary.tar.gz" | ||
downloadType: single | ||
targetPath: $(Build.StagingDirectory) | ||
|
||
- bash: | | ||
set -e | ||
tar zxf $(Build.StagingDirectory)/bazel.release/envoy_binary.tar.gz | ||
ci/docker_build.sh | ||
ci/docker_push.sh | ||
ci/docker_tag.sh | ||
workingDirectory: $(Build.SourcesDirectory) | ||
env: | ||
AZP_BRANCH: $(Build.SourceBranch) | ||
CIRCLE_SHA1: $(Build.SourceVersion) | ||
DOCKERHUB_USERNAME: $(DockerUsername) | ||
DOCKERHUB_PASSWORD: $(DockerPassword) | ||
- job: macOS | ||
dependsOn: ["format"] | ||
timeoutInMinutes: 360 | ||
pool: | ||
vmImage: "macos-latest" | ||
steps: | ||
- script: ./ci/mac_ci_setup.sh | ||
displayName: "Install dependencies" | ||
|
||
- script: ./ci/mac_ci_steps.sh | ||
displayName: "Run Mac CI" | ||
env: | ||
BAZEL_REMOTE_CACHE: grpcs://remotebuildexecution.googleapis.com | ||
BAZEL_REMOTE_INSTANCE: projects/envoy-ci/instances/default_instance | ||
GCP_SERVICE_ACCOUNT_KEY: $(GcpServiceAccountKey) | ||
|
||
- task: PublishTestResults@2 | ||
inputs: | ||
testResultsFiles: "**/bazel-testlogs/**/test.xml" | ||
testRunTitle: "macOS" | ||
condition: always() | ||
|
||
- job: Windows | ||
dependsOn: ["format"] | ||
timeoutInMinutes: 360 | ||
pool: | ||
vmImage: "windows-latest" | ||
steps: | ||
- powershell: | | ||
.\ci\windows_ci_setup.ps1 | ||
Write-Host "##vso[task.prependpath]$env:TOOLS_BIN_DIR" | ||
displayName: "Install dependencies" | ||
env: | ||
TOOLS_BIN_DIR: $(Pipeline.Workspace)\bin | ||
- bash: ci/windows_ci_steps.sh | ||
displayName: "Run Windows CI" | ||
env: | ||
TMPDIR: $(Agent.TempDirectory) | ||
BAZEL_VC: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\VC" | ||
BAZEL_SH: "C:\\Program Files\\Git\\bin\\bash.exe" |
Oops, something went wrong.