Commit Graph

139 Commits

Author SHA1 Message Date
Xiaopeng Han d73302933b
add missing component in _rewrite_helm_repo (#14276) 2023-12-06 09:44:02 -08:00
Faseela K 2302040f2f
Add docs test for dual-stack support (#14257)
Signed-off-by: Faseela K <faseela.k@est.tech>
2023-12-06 01:56:48 -08:00
Frank Budinsky e8e9b35f2c
gateway-api: doc tests should not run with alpha CRDs by default (#13782)
* gateway-api: Doc tests should not run with alpha CRDs by default

* Fix broken tests

* cleanup

* replace bad wikipedia server ip
2023-08-30 17:15:08 -07:00
Eric Van Norman 69d7a98825
Updated job names as they cannot use an underscore (#13409) 2023-06-19 12:16:09 -07:00
Eric Van Norman f317970d3c
Move from trustworthy-jwt yaml to default-yaml (#13152)
* Move from trustworthy-jwt yaml to default-yaml

* Update to K8s 1.27.0

* Minor update

* Remove apiVersion as in istio/istio #44687
2023-05-02 12:45:36 -07:00
SRodi dd4f01fa26
Create generic args.md with common args consumed by test scripts (#13087)
* generic-args-md

* create generic boilerplates/args.md
* include gw_api_version, full_version, previous_version
* update install/operator/test.sh to source and use new vars
* update test/util/gateway-api.sh to source and use new gw var
* remove gateway-api-version.md
* relates to #13085

* fix linting fail for args.md

* remove sed command for revision string, use param expansion
2023-04-21 08:59:23 -07:00
SRodi 26a64c0781
fix-test-doc-verify-like (#13049)
* fix env vars according to tests/util/verify.sh
2023-04-14 06:36:36 -07:00
Frank Budinsky cd2608bf8b
Fix gtw wait in util functions (#12953) 2023-03-27 08:42:58 -07:00
Eric Van Norman abf5268f8a
Update test reference to latest istio commit (#12895)
* Update test reference to latest istio commit

* make clean g&& go mod tidy

* Use tests/utils to delete sample

* Move some test script to use snippets

* Add _wait

* Remove extraneous source
2023-03-15 14:17:18 -07:00
zirain 6c486aae1d
fix lint (#12639) 2023-02-12 14:35:06 -08:00
Faseela K d8faad8fe3
Migrate ingress-sni-passthrough test to minimal profile setup (#12576)
* Migrate ingress-sni-passthrough test to profile minimal

Signed-off-by: Faseela K <faseela.k@est.tech>

* fix after snapshot test

Signed-off-by: Faseela K <faseela.k@est.tech>

* update minimal profile

Signed-off-by: Faseela K <faseela.k@est.tech>

* Fix cleanup test error

Signed-off-by: Faseela K <faseela.k@est.tech>

* review comments

Signed-off-by: Faseela K <faseela.k@est.tech>

---------

Signed-off-by: Faseela K <faseela.k@est.tech>
2023-02-11 00:13:05 -08:00
Eric Van Norman 8713ad1f41
Fix script comment (#12600) 2023-02-07 14:23:35 -08:00
Eric Van Norman cc76a09425
Update istio.io test reference to 1.17.0-beta.2 (#12591)
* Update istio.io test reference to 1.17.0-beta.2

* Update URL
2023-02-07 09:23:00 -08:00
Faseela K 4e69089d6f
Add minimal profile for docs test setups (#12569)
* Add minimal profile for test setups

Signed-off-by: Faseela K <faseela.k@est.tech>

* Fix setupConfig

Signed-off-by: Faseela K <faseela.k@est.tech>

---------

Signed-off-by: Faseela K <faseela.k@est.tech>
2023-02-02 06:53:49 -08:00
Eric Van Norman 93ea5bb3ae
Update values so istioctl x wait works (#12508)
* Update values so istioctl x wait works

* Remove extra values

* Update all snippet instances of `istio install` for wait_for_istio

* Fix value
2023-01-24 15:46:18 -08:00
Eric Van Norman deada82e56
Is the first sllep delete affecting the later start? (#12495) 2023-01-20 13:31:13 -08:00
Frank Budinsky b4ec649054
Add gateway api instructions to external control plane doc (#12463)
* Add gateway api instructions to external control plane doc

* regen and lint

* fix test

* more test fixes
2023-01-16 08:45:30 -08:00
Frank Budinsky 69981b01b1
gateway-api: add gateway api instruction to request routing task (#12204)
* gateway-api: add gateway api instruction to request routing task

* lint

* regen

* improve gamma tip/warning

* lint

* add port

* fix samples.sh

* fixes
2022-11-10 14:32:57 -05:00
kezhenxu94 7d43f35867
Add documentations for SkyWalking integration and task (#11683)
* Add documentations for SkyWalking integration and task

* Add script to undeploy skywalking

* Clean up istio namespace

* Update index.md

* Address review comments

* Apply suggestions from code review

Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>

Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>
2022-11-03 09:09:26 -07:00
Frank Budinsky d9970beaa3
gateway-api: enable mutual tls test (#12156)
* gateway-api: enable mutual tls test

* verify_failure should retry

* fix
2022-10-31 13:27:43 -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
Eric Van Norman 20491e3165
use short_codes for gateway api version (#12042)
* use short_codes for gateway api version and tpye

* Update function name. Forcing name doesn't work for boilerplates?

* Fix lint

* Remove k8s_gateway_api_type

* Add update-gateway-version mkaefile target

* Fix version in test string

* Simplify id
2022-10-04 12:07:49 -07:00
Frank Budinsky 5e89d73d81
Add gateway-api instructions to getting-started and bookinfo docs (#12021)
* Add gateway-api instructions to getting-started and bookinfo docs

* fix lint

* fix cleanup

* regen

* fix lint

* fix setup

* fix include path

* v1alpha2 -> v1beta1

* regen

* install k8s crds

* fix lint

* fix cleanup

* lint

* workaround duplicate crd problem

* fix cmd

* fixes

* lint

* more fixes

* typo

* regen

* uncomment failing snip

* no choice in getting-started

* lint

* typo

* remove duplicate section title
2022-10-03 12:11:48 -07:00
zirain 4830422f75
fix open telemetry doc (#11732)
* fix OpenTelemetry doc

* replace istio.io/istio for test

* fix cleanup_otel_sample

* update test reference

Signed-off-by: hejianpeng <hejianpeng2@huawei.com>

* fix gen

Signed-off-by: hejianpeng <hejianpeng2@huawei.com>

* fix otel-provider

* remove extra changes in the go.*

Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
2022-08-30 07:00:38 -07:00
Frank Budinsky cb70a40db3
Fix verify_like matching token prefix not ending in - (#11693)
* Fix verify_like matching token prefix not ending in -

* change test
2022-08-09 09:59:37 -07:00
Eric Van Norman d146b3bfce
Fix lint errors with new build tools (#11679)
* Fix lint errors with new build tools

* Move copyright so it doesn't get marked as a heading

I beleive Istio removed copyrights so we could do a bigger clense
later.
2022-08-03 14:09:23 -07:00
Ingwon Song 3ecc5aeb4a
Moving/Updating the WasmPlugin tutorial and Adding ImagePullPolicy description (#11379)
* Update for Wasm contents

* Fix the wrong cleanup code

* Fix the description of `extensibility` folder's description

* Apply suggestions from code review

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

* Update _index.md

* Regenerate snips

* Add old URL path as an alias

* Update content/en/docs/tasks/extensibility/_index.md

* Add description for the wasm pull policy

Signed-off-by: Ingwon Song <igsong@google.com>

* Apply suggestions from code review

Co-authored-by: Douglas Reid <douglas-reid@users.noreply.github.com>

* Apply suggestions from code review

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

* Applying the comment from @dgn

Co-authored-by: craigbox <craigbox@google.com>
Co-authored-by: Douglas Reid <douglas-reid@users.noreply.github.com>
2022-07-01 12:20:20 -07:00
Eric Van Norman bfc662d4e3
Update istio test reference - Requires code update for test framework (#11465) 2022-06-20 09:06:26 -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
zirain 7a90100810
add otel telemetry doc (#10977)
* add otel telemetry doc

* fix nit

* fix gen

* update content

* remove patch meshconfig

* fix test.sh

* fix probability of failure
2022-03-15 11:45:41 -07:00
Ihor Sychevskyi dd7d71475d
update link (#10974) 2022-02-28 07:12:41 -08:00
Eric Van Norman e863de7b41
Update istio test ref (#10903) 2022-02-13 13:01:05 -08:00
Yangmin Zhu 84a63d0e33
add test for the dry-run task (#10526)
* add test for the dry-run task

* Update content/en/docs/tasks/security/authorization/authz-dry-run/index.md

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2021-12-08 07:50:27 -08:00
Eric Van Norman eed66e769b
Manual cherry-pick of #10352 (#10358) 2021-09-16 13:59:00 -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
Eric Van Norman 87e8f20093
Ignore error on first kiali apply (#9048) 2021-02-23 19:25:19 -08:00
Eric Van Norman a38324b63e
Fix istio.io tests when moving to later kubectl (#9046) 2021-02-23 16:03:57 -08:00
Eric Van Norman 061a219fc9
Update make gen to do a format-go and check in updated files (#8960)
* Update make gen to do a format-go and check in updated files

* make gen
2021-02-12 10:17:53 -08:00
John Howard 51650924c9
VMs: add doc test, re-org examples (#8892)
* Add documentation test for VMs

* Remove single and multinetwork docs, move up a level

* Fixes

* fix tests

* fix test
2021-02-04 21:31:44 -08:00
Eric Van Norman 5d984eb560
Update istio.io/istio ref to 1.9.0-beta.0 (#8562)
* Update istio/istio ref to latest master

* Move to latest before testing.

* Update release in Makefile

* Fix some tests

* Update to latest isti.io/istio again

* Update to latest istio.io/istio

* Update to latest istio.io/istio

* Update ref to latest master

* Fix instioctl-analyze

* Add back @howardjohn commit I inadvertantly deleted

* Fix lint

* Pick up new stio: fix empty iop read from stdin for operator

* go mod tidy without itermediate go gets

* Update to current stats-filter's

* Needed another 'make gen'

* More go.* changes for changes in ref'd istio/istio

* Update istio to 1.9.0-beta.0
2021-01-19 11:57:22 -08:00
Frank Budinsky a70e78f25e
Test cleanup (#8564)
* Framework inject set +e at start of cleanup test script

* tabs

* fix typo

* add nl

* fix doc
2020-11-24 16:26:19 -05: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 6be79801d1
[Test Framework] General improvements (#8312)
- Adding test output to CI artifacts directory
- Removing a few needless features/structures

Split out from #8309
2020-10-18 18:13:21 -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 d06ddf8b6a
Update tests README note for kind cluster failure (#8260) 2020-10-02 13:26:32 -07:00
Nathan Mittler c3a3c5df0b
[Test Framework] Refactor to properly use subtests. (#8255)
This was noticed when investigating why errors are not causing the test to fail. It's not clear if this is related to the problem, but the existing logic was definitely atypical.
2020-10-02 06:05:28 -07:00