Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into jwt_normalize_claims
Browse files Browse the repository at this point in the history
  • Loading branch information
kyessenov committed Nov 2, 2023
2 parents 0d827df + 4991c0f commit 72c760c
Show file tree
Hide file tree
Showing 256 changed files with 7,904 additions and 1,907 deletions.
19 changes: 10 additions & 9 deletions .azure-pipelines/env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,6 @@ jobs:
# TODO(phlax): move this to a script to ensure proper linting etc
set -e
# Run everything in postsubmit
if [[ "$(Build.Reason)" != "PullRequest" ]]; then
echo "##vso[task.setvariable variable=build;isoutput=true]true"
echo "##vso[task.setvariable variable=checks;isoutput=true]true"
echo "##vso[task.setvariable variable=docker;isoutput=true]true"
echo "##vso[task.setvariable variable=packaging;isoutput=true]true"
exit 0
fi
RUN_BUILD=true
RUN_CHECKS=true
RUN_DOCKER=true
Expand All @@ -165,6 +156,16 @@ jobs:
RUN_RELEASE_TESTS=false
fi
# Run ~everything in postsubmit
if [[ "$(Build.Reason)" != "PullRequest" ]]; then
echo "##vso[task.setvariable variable=build;isoutput=true]true"
echo "##vso[task.setvariable variable=checks;isoutput=true]true"
echo "##vso[task.setvariable variable=docker;isoutput=true]true"
echo "##vso[task.setvariable variable=packaging;isoutput=true]true"
echo "##vso[task.setvariable variable=releaseTests;isoutput=true]${RUN_RELEASE_TESTS}"
exit 0
fi
echo "##vso[task.setvariable variable=build;isoutput=true]${RUN_BUILD}"
echo "##vso[task.setvariable variable=checks;isoutput=true]${RUN_CHECKS}"
echo "##vso[task.setvariable variable=docker;isoutput=true]${RUN_DOCKER}"
Expand Down
8 changes: 0 additions & 8 deletions .azure-pipelines/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ stages:
- env
checkStageDeps:
- env
macBuildStageDeps:
- env
windowsBuildStageDeps:
- env

# Postsubmit main/release branches
- ${{ if eq(variables.pipelinePostsubmit, true) }}:
Expand All @@ -96,7 +92,3 @@ stages:
- env
checkStageDeps:
- env
macBuildStageDeps:
- env
windowsBuildStageDeps:
- env
62 changes: 0 additions & 62 deletions .azure-pipelines/stage/macos.yml

This file was deleted.

1 change: 1 addition & 0 deletions .azure-pipelines/stage/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ jobs:
publishEnvoy: false
publishTestResults: false
env:
ENVOY_REPO: $(Build.Repository.Name)
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
ENVOY_HEAD_REF: "$(Build.SourceBranch)"
ENVOY_BRANCH: "$(System.PullRequest.TargetBranch)"
Expand Down
125 changes: 0 additions & 125 deletions .azure-pipelines/stage/windows.yml

This file was deleted.

40 changes: 2 additions & 38 deletions .azure-pipelines/stages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,6 @@ parameters:
default:
- env
- prechecks
- name: macBuildStageDeps
displayName: "macOS stage dependencies"
type: object
default:
- env
- prechecks
- name: windowsBuildStageDeps
displayName: "Windows stage dependencies"
type: object
default:
- env
- prechecks
- name: checkStageDeps
displayName: "Check stage dependencies"
type: object
Expand Down Expand Up @@ -60,8 +48,6 @@ stages:
- stage: prechecks
displayName: Prechecks
dependsOn: ["env"]
variables:
RUN_PRECHECKS: $[stageDependencies.env.repo.outputs['run.releaseTests']]
jobs:
- template: stage/prechecks.yml
parameters:
Expand All @@ -72,7 +58,7 @@ stages:
authGPGKey: $(MaintainerGPGKeySecureFileDownloadPath)
authGPGPath: $(MaintainerGPGKey.secureFilePath)
bucketGCP: $(GcsArtifactBucket)
runPrechecks: variables['RUN_PRECHECKS']
runPrechecks: stageDependencies.env.repo.outputs['run.releaseTests']

- stage: linux_x64
displayName: Linux x64
Expand All @@ -84,10 +70,10 @@ stages:
- template: stage/linux.yml
parameters:
cacheTestResults: ${{ parameters.cacheTestResults }}
pool: envoy-x64-large
# these are parsed differently and _must_ be expressed in this way
runBuild: variables['RUN_BUILD']
runTests: $(RUN_TESTS)
tmpfsDockerDisabled: true

- stage: linux_arm64
displayName: Linux arm64
Expand Down Expand Up @@ -159,25 +145,3 @@ stages:
- template: stage/verify.yml
parameters:
authGCP: $(GcpServiceAccountKey)

- stage: macos
displayName: macOS
dependsOn: ${{ parameters.macBuildStageDeps }}
variables:
RUN_BUILD: $[stageDependencies.env.repo.outputs['run.build']]
jobs:
- template: stage/macos.yml
parameters:
authGCP: $(GcpServiceAccountKey)
runBuild: variables['RUN_BUILD']

- stage: windows
displayName: Windows
dependsOn: ${{ parameters.windowsBuildStageDeps }}
variables:
RUN_BUILD: $[stageDependencies.env.repo.outputs['run.build']]
jobs:
- template: stage/windows.yml
parameters:
authGCP: $(GcpServiceAccountKey)
runBuild: variables['RUN_BUILD']
12 changes: 7 additions & 5 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ build:remote-windows --spawn_strategy=remote,local
build:remote-windows --strategy=Javac=remote,local
build:remote-windows --strategy=Closure=remote,local
build:remote-windows --strategy=Genrule=remote,local
build:remote-windows --strategy=CppLink=local
build:remote-windows --remote_timeout=7200
build:remote-windows --google_default_credentials=true
build:remote-windows --remote_download_toplevel
Expand Down Expand Up @@ -442,7 +443,7 @@ build:windows --define hot_restart=disabled
build:windows --define tcmalloc=disabled
build:windows --define wasm=disabled
build:windows --define manual_stamp=manual_stamp
build:windows --cxxopt="/std:c++17"
build:windows --cxxopt="/std:c++20"
build:windows --output_groups=+pdb_file

# TODO(wrowe,sunjayBhatia): Resolve bugs upstream in curl and rules_foreign_cc
Expand Down Expand Up @@ -485,11 +486,12 @@ build:windows --features=static_link_msvcrt
build:windows --dynamic_mode=off

# RBE (Google)
build:rbe-google --google_default_credentials=true
build:rbe-google --remote_cache=grpcs://remotebuildexecution.googleapis.com
build:cache-google --google_default_credentials=true
build:cache-google --remote_cache=grpcs://remotebuildexecution.googleapis.com
build:cache-google --remote_instance_name=projects/envoy-ci/instances/default_instance
build:cache-google --remote_timeout=7200
build:rbe-google --remote_executor=grpcs://remotebuildexecution.googleapis.com
build:rbe-google --remote_timeout=7200
build:rbe-google --remote_instance_name=projects/envoy-ci/instances/default_instance
build:rbe-google --config=cache-google

build:rbe-google-bes --bes_backend=grpcs://buildeventservice.googleapis.com
build:rbe-google-bes --bes_results_url=https://source.cloud.google.com/results/invocations/
Expand Down
Loading

0 comments on commit 72c760c

Please sign in to comment.