-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'extractor_regex_replace' of github.com:solo-io/gloo int…
…o extractor_regex_replace
- Loading branch information
Showing
86 changed files
with
3,110 additions
and
748 deletions.
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
.github/workflows/composite-actions/istio-tests/action.yaml
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,50 @@ | ||
name: Gloo Istio Regression Tests | ||
|
||
description: Tests which run Gloo Edge in a Kubernetes cluster with Istio | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Prep Go Runner | ||
uses: ./.github/workflows/composite-actions/prep-go-runner | ||
- name: Install kind | ||
uses: helm/[email protected] | ||
with: | ||
install_only: true | ||
version: ${{ matrix.kube-version.kind }} | ||
- uses: azure/setup-kubectl@v3 | ||
id: kubectl | ||
with: | ||
version: ${{ matrix.kube-version.kubectl }} | ||
- uses: azure/setup-helm@v3 | ||
with: | ||
version: ${{ matrix.kube-version.helm }} | ||
- name: Setup test env | ||
shell: bash | ||
env: | ||
KUBE2E_TESTS: istio | ||
CLUSTER_NAME: 'kind' | ||
CLUSTER_NODE_VERSION: ${{ matrix.kube-version.node }} | ||
run: ./ci/kind/setup-kind.sh | ||
- name: Testing - kube e2e regression tests | ||
env: | ||
KUBE2E_TESTS: istio | ||
shell: bash | ||
run: | | ||
if [[ "${{ matrix.kube-e2e-test-type }}" == "gloo-gateway" ]]; then | ||
export GLOO_GATEWAY_SETUP=true | ||
elif [[ "${{ matrix.kube-e2e-test-type }}" == "istio-auto" ]]; then | ||
export ISTIO_AUTO_MTLS=true | ||
fi | ||
make install-test-tools run-kube-e2e-tests | ||
- name: save results | ||
if: ${{ failure() }} | ||
shell: bash | ||
run: mkdir -p _output/kube2e-artifacts && echo '{"url":"https://github.com/solo-io/gloo/actions/runs/${{github.run_id}}", | ||
"name":"${{matrix.kube-e2e-test-type}}@k8s${{matrix.kube-version.kubectl}}"}' > _output/kube2e-artifacts/test-out.json | ||
- uses: actions/upload-artifact@v3 | ||
if: ${{ failure() }} | ||
with: | ||
name: ${{matrix.kube-e2e-test-type}}@k8s${{matrix.kube-version.kubectl}}-kube-dump | ||
path: "_output/kube2e-artifacts" | ||
if-no-files-found: warn |
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,65 @@ | ||
name: Istio Tests | ||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review] | ||
|
||
env: | ||
VERSION: '1.0.0-ci' | ||
GITHUB_TOKEN: ${{ github.token }} # necessary to pass upgrade tests | ||
|
||
jobs: | ||
prepare_env: | ||
name: Prepare Environment | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 5 | ||
outputs: | ||
should-auto-succeed-istio-tests: ${{ steps.run-strategy.outputs.auto_succeed }} | ||
steps: | ||
- name: Cancel Previous Actions | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
- id: checkout-code | ||
uses: actions/checkout@v3 | ||
with: | ||
# We require gathering the branch and tag history since we rely on a `git diff` | ||
# which compares the state of two branches | ||
fetch-depth: 0 | ||
- id: process-skip-directives | ||
uses: ./.github/workflows/composite-actions/process-skip-directives | ||
with: | ||
base-ref: ${{ github.base_ref }} | ||
- id: run-strategy | ||
name: Determine Test Run Strategy | ||
run: | | ||
skip_kube_tests=${{ steps.process-skip-directives.outputs.skip-kube-tests }} | ||
if [[ ! -z $skip_kube_tests && $skip_kube_tests = true ]] ; then | ||
echo "auto_succeed=true" >> $GITHUB_OUTPUT | ||
fi | ||
# TODO(npolshak): Add multiple istio versions to test matrix | ||
istio_tests: | ||
name: istio integration tests | ||
needs: prepare_env | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 60 | ||
if: ${{ !github.event.pull_request.draft }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
kube-e2e-test-type: [ 'istio-auto', 'gloo-gateway' ] | ||
kube-version: [ { node: 'v1.28.0@sha256:b7a4cad12c197af3ba43202d3efe03246b3f0793f162afb40a33c923952d5b31', kubectl: 'v1.28.4', kind: 'v0.20.0', helm: 'v3.13.2' } ] | ||
merge-to-main: | ||
- ${{ github.event.pull_request.base.ref == 'main' }} | ||
exclude: | ||
- merge-to-main: true | ||
kube-e2e-test-type: upgrade | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- id: run-tests | ||
if: needs.prepare_env.outputs.should-auto-succeed-istio-tests != 'true' | ||
uses: ./.github/workflows/composite-actions/istio-tests | ||
- id: auto-succeed-tests | ||
if: needs.prepare_env.outputs.should-auto-succeed-istio-tests == 'true' | ||
run: | | ||
echo "Istio tests auto-succeeded" |
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,5 @@ | ||
changelog: | ||
- type: NEW_FEATURE | ||
issueLink: https://github.com/solo-io/solo-projects/issues/5695 | ||
description: >- | ||
Added support for `settings.gloo.istioOptions.enableAutoMtls` to implement auto mTLS via Envoy transport_socket_match. |
2 changes: 2 additions & 0 deletions
2
...reference/api/github.com/solo-io/gloo/projects/gloo/api/v1/settings.proto.sk.md
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
...reference/api/github.com/solo-io/gloo/projects/gloo/api/v1/upstream.proto.sk.md
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
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
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
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
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
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
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
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
Oops, something went wrong.