Commit Graph

23 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
John Howard c05f7637b1
Remove obsolete PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING from tests (#15676)
This does nothing anymore
2024-09-10 11:21:35 -04:00
Craig Box c6e477a54c
Fix ambient doc tests (#15500)
* snip_annotate_bookinfo_gateway

* disable shellcheck

* Update content/en/docs/ambient/usage/extend-waypoint-wasm/index.md

Co-authored-by: Ben Leggett <854255+bleggett@users.noreply.github.com>

* Update content/en/docs/ambient/usage/extend-waypoint-wasm/index.md

grrr, I remember seeing that

Co-authored-by: Daniel Hawton <daniel@hawton.org>

---------

Co-authored-by: Ben Leggett <854255+bleggett@users.noreply.github.com>
Co-authored-by: Daniel Hawton <daniel@hawton.org>
2024-07-31 18:13:06 -04:00
Faseela K 8394b1d9b6
Add ambient profile for docs test (#15210)
* Add ambients docs test profile

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

* update copyright

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

---------

Signed-off-by: Faseela K <faseela.k@est.tech>
2024-06-02 06:57:04 -04: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
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
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 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
Eric Van Norman bfc662d4e3
Update istio test reference - Requires code update for test framework (#11465) 2022-06-20 09:06:26 -07:00
Eric Van Norman e863de7b41
Update istio test ref (#10903) 2022-02-13 13:01:05 -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
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
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
Suchith J N 94fe1b5353
Test framework enhancement for multicluster doc test (#8160)
* test framework enhancement for multicluster doc test

* simplify multicluster test framework with setup=multicluster directive

* restore documentation comment
2020-09-21 10:43:36 -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
Hongyi Zhang 4406c95b2d
More cleanup of the test framework (#7640)
* more cleanup

* make go linter happy
2020-06-28 12:24:19 -07:00
Eric Van Norman ee8927ea74
Update istio version for testing (#7565)
* Update istio version for testing

* Framework changes in base istio required changes

* Work on whitelist

* Remove whitelist and move to a new feature

* Another istio.io/istio update

* Another framework change - remove test suite name
2020-06-19 12:20:35 -07:00
Hongyi Zhang faa2001b9d
Remove obsolete classes in old istioio framework (#7550)
* fix bug where *_test.sh doesn't source snips.sh

* remove 'source snips.sh' from scripts

* remove obsolete classes and env variable
2020-06-15 07:23:26 -07:00
Hongyi Zhang 420a54447b
Migration to a new framework for doc testing (#7465)
* add an example task to test

* main test function: save progress

* a working example: routing request

* improve log info and error handling

* introduce makefile

* run each test as a subtest; remove common setup from test.sh

* add another test.sh: fault-injection

* improve error handling

* check test environment

* add two more test.sh files

* fix make command for istio setup

* update two test.sh files from upstream

* add comments and update README.md

* update test.sh files from upstream

* support multiple test names

* update README

* update README.md for new framework

* remove documentation of migration steps

* undo format changes

* change separation line to '# @cleanup'

* move go code and makefile from content/ to tests/

* change package name

* make for loop more readable

* change the set of auto-sourced scripts

* add docs for all functions

* approach to deal with folders with the same name

* minor fixes to ensure everything still runs

* fix make gen error

* add a TIMEOUT argument

* make sure util/debug.sh works with new framework

* make lint-go happy

* [BIG CHANGE] allow different istio setup configs

* make linters happy

* make linters happier

* changed wording and function orders

* make error return as the 2nd argument

* add TODOs

* Update content/en/docs/tasks/traffic-management/traffic-shifting/test.sh

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

* Update tests/README.md

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

* Update tests/README.md

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

* Update tests/README.md

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

* Update tests/README.md

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

* Update tests/README.md

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

* Update tests/README.md

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

* only test english docs

* Update tests/README.md

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

* allow test.sh as suffix

* move adding setup configs to tests/setup

* recommend full paths

* Update tests/README.md

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

* require full test paths

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-06-09 14:11:53 -07:00