Commit Graph

20 Commits

Author SHA1 Message Date
Daniel Hawton 0a08d3f59a
prepare for v1.26 as istio source is already branched (#16420)
* prepare for v1.26 as istio source is already branched

* fix for gateway version, they don't always do -rcN but also -rc.N

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* disable debug messages

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* fix changed istioctl outputs

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* dropped line

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* fix

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* disable multi-primary multi-network install test for now: #16427

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* remove test

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* debug

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* more debug

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* debug

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* disable multi-primary test as well, same issue #16427

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* delete crds silent fail

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* get resource output to see about removing istioctl x wait

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* remove istioctl x wait, repalce with a general sleep again #16429

Signed-off-by: Daniel Hawton <daniel@hawton.org>

---------

Signed-off-by: Daniel Hawton <daniel@hawton.org>
2025-04-24 01:35:55 -04:00
Ben Leggett c17f3c192a
Create hidden parallel doctest docs for ambient wrapper chart, so it at least gets exercised a bit (#16078)
* Install

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Upgrade

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fixup/lint

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fix snip

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fixup tests

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Only needed locally for out-of-order runs apparently

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* refs

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* fixup

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Consistent naming of releases

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Forgot one

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

---------

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>
2024-12-20 21:48:16 -05:00
Ben Leggett e3638eeeb9
Attempt at modernizing the sidecar SPIRE integration doc (#15574)
* This is wildly out of date

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fixup

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Replace snippet syntax to make the site compile

* more

* Update content/en/docs/ops/integrations/spire/index.md

Co-authored-by: Craig Box <craig.box@gmail.com>

* Update content/en/docs/ops/integrations/spire/index.md

Co-authored-by: Craig Box <craig.box@gmail.com>

* Update content/en/docs/ops/integrations/spire/index.md

Co-authored-by: Craig Box <craig.box@gmail.com>

* Update content/en/docs/ops/integrations/spire/index.md

Co-authored-by: Craig Box <craig.box@gmail.com>

* Update content/en/docs/ops/integrations/spire/index.md

Co-authored-by: Craig Box <craig.box@gmail.com>

* Update content/en/docs/ops/integrations/spire/index.md

Co-authored-by: Craig Box <craig.box@gmail.com>

* Review comments, lints, fixups

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Genfix

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fix

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Twiddle

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Tests

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fix

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Wrong namespace

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Statefulset now

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fixup

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* More test fixup

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* fix

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Reviews, testfix

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Gen

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

---------

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>
Co-authored-by: Craig Box <craig.box@gmail.com>
2024-08-22 23:50:25 -04:00
Xiaopeng Han d73302933b
add missing component in _rewrite_helm_repo (#14276) 2023-12-06 09:44:02 -08:00
Frank Budinsky cd2608bf8b
Fix gtw wait in util functions (#12953) 2023-03-27 08:42:58 -07:00
Frank Budinsky f31d54066f
Fix broken sni-passthrough doc test (#12109)
* Fix broken sni-passthrough doc test

* remove exit
2022-10-18 00:24:38 -07:00
Frank Budinsky dd6b1c09cc
gateway-api doc: ingress-sni-passthrough (#12087)
* gateway-api doc: ingress-sni-passthrough

* use kustomize for crds

* debug

* more debug

* use standard crd install

* try profile=none

* uninstall

* confirm install

* disable test for now

* regen
2022-10-17 10:39:10 -07:00
Daniel Hawton 63d5724fde
Helm and gateway tests (#11276)
* add tests to gateway setup

* manually cleanup the minimal istio install

* Add canary upgrade test

* convert rewrite-repo to a helper function

* upgrade helm test

* lint fixes

* left over validatingwebhook from a prior test

* remove boilerplate check

* undo elided pod names

* gen snip

* Remove validatingwebhookconfigurations deletion

* remove webhook configs pending fix in istio

* remove webhook configs pending fix in istio

* revert some changes

* remove temp webhook removals

* remove revision labeled mutating webhooks

* revert revision-tags-middle change

* make gen
2022-06-07 08:34:59 -07:00
Pengyuan Bian fb05d1584f
Revamp CNI doc. (#10090)
* wip

* rewrite install-cni page.

* Add troubleshoot guide.

* Add doc test.

* fix test.

* fix test.

* validation log message.

* update.

* update.

* fix.

* update.

* incorporate supportability review feedback.

* Update content/en/docs/ops/diagnostic-tools/cni/index.md

Co-authored-by: craigbox <craigbox@google.com>

* Update content/en/docs/ops/diagnostic-tools/cni/index.md

Co-authored-by: craigbox <craigbox@google.com>

* Apply suggestions from code review

Co-authored-by: craigbox <craigbox@google.com>

* fix.

Co-authored-by: craigbox <craigbox@google.com>
2021-08-01 13:40:03 -07:00
Eric Van Norman d9658dae3d
Restore istioctl experimental wait in _wait_for_istio() (#9426) 2021-04-05 13:02:04 -07:00
Nathan Mittler 616f45b1d5
Several test framework improvements (#8524)
Overview of the changes:

- Adding ability to verify that expected output occurs a number of times consecutively. This is needed for https://github.com/istio/istio.io/pull/8402.

- Moving snapshot checking logic to Go code so that it can be separated out into separate test steps, which are timed and contain their own output directories/files. This makes the code cleaner and also makes the snapshot logic more transparent.

- Updating debug.sh to use newer bash syntax that allows it to dynamically select a free file descriptor. Without this, I was seeing all commands echoed to my console in goland.
2020-11-23 09:23:54 -05:00
Nathan Mittler 132c2375bc
Add wait for gateway to multicluster tests (#8346)
This required some other changes WRT verification:

- Change __cmp_like to allow for not accepting <pending> for an IP address.

- Change __verify_with_retry to use a timeout rathan than number of retries. This is a more intuitive interface and aligns with the way we do retries in istio/istio. I also got rid of exponential backoff and allow both the timeout and delay between retries to be configured.
2020-10-26 06:45:38 -07:00
Nathan Mittler b28bb174de
Fixes for multicluster tests (#8309) 2020-10-21 06:46:49 -07:00
Nathan Mittler f9a9f54eba
[Test Framework] Fixes to support multicluster (#8253)
* [Test Framework] Fixes to support multicluster

* use current context from each kubeconfig file.

* addressing comments
2020-10-02 14:05:09 -07:00
Eric Van Norman 70d361b30d
Try different timeout for tasks/security/authorization/authz-ingress (#8163)
* Try longer timeout for tasks/security/authorization/authz-ingress/test.sh

* Go back to old 5m timeout and add failure on timeout back in

* Test with individual wait_for_istio call updates

* Revert to simply changing timeout (but keep duration in output)

* Fix call

* Comment out istioctl wait call

* Add TODO remark

* Fix lint error

* Add temporary sleep until _wait_for_istio is re-enabled

* Add wait for sleep deployment to complete
2020-09-22 19:25:13 -07:00
Eric Van Norman cc1a34f99c
Update test reference - master (#8103)
* Update test reference

* Test framework changes

* Another required change

* Update Tag to 1.8

* Pick istio/istio commit that actually exists

* Disable ISTIO_META_DNS_CAPTURE

* Add --skip-confirmation to istioctl installl commands

* Increase test timeout. First pass at fixes.

* Update to later istio/istio that fixes DNS and minor fixes

* test fixes

* Pick up go.mod `replace` changes from #8118

* Fix istioctl-analayze and mirror

* Fix mtls-migration test

* Update istio to include commit to fix egress

* Re-enable verify with fix

* Update istio/istio ref for egress fix

* Fix tasks/security/authorization/authz-td-migration - remove ns

* Shorten wait timeout so tests complete in under an hr

* Let tests continue after wait timeout

* Fix --skip-confirmation to -y and use yes | in tests

* revert yes | to echo y |

* Additional echo y fix

* Code review comments

* Change verify from same to contains as k8s 1.19 has extra warning lines.
2020-09-16 11:44:20 -07:00
Suchith J N 4b601f607e
automated test for zipkin dashboard and modify snippet generation to take boilerplate into account (#8003)
* automated test for viewing traces from zipkin dashboard (expectation is that traces are seen correctly)

* fix shellcheck linting errors

* remove verification of traces and just check if zipkin dashboard is accessible through port-forward

* Modify snippet generation logic to take {{< boilerplate >}} into account

* snippets for boilerplate

* fix shellcheck (linting) issues

* snippets generated with new logic

* automated test - check if zipkin dashboard is accessible by port-forwarding (as we cannot verify screenshot and the trace is already verified in istio/istio integration test

* clean up ZIPKIN_URL comment

* Address code review comments
1. Simplify boilerplate snippet filenames (remove .md_snips)
2. Sourced filenames should be in double quote(") instead of single quote(')

* fix gencheck_istio flake

* do not generate or include boilerplate snippets if there is not {{<text>}} in them

* fix linting errors in snip.py

* fix bug - filter out boilerplates without snippets very early
2020-08-26 08:37:50 -07:00
Mitch Connors cb788bb993
Print proxy status when debug fails for root cause (#7736) 2020-07-15 13:03:30 -07:00
Frank Budinsky 01c4cce951
Add proper wait for config calls to tests (#7620)
* Add wait for config calls to tests

* two more
2020-06-24 09:48:29 -07:00
Justin Pettit c709c976da
Move generally useful "sample_" functions to new "helpers.sh". (#7441) 2020-06-01 13:09:30 -07:00