Commit Graph

31 Commits

Author SHA1 Message Date
Craig Box ba064414ff
Update documentation to not refer to experimental Gateway APIs (#15150)
* Update documentation to not refer to experimental APIs

* missed TCPRoute, we did have one example of that

* fix snip

* and again

* and again

* caught error, thanks @ericvn!
2024-05-21 21:56:02 -04:00
Eric Van Norman 46e09c42ab
Disable some failing tests (blocking issues created), fix others (#14763)
* Disable some failing tests (blocking issues created), fix others

* Update apiVersion

* Update apiVersion

* Remove comment
2024-03-21 12:46:05 -07:00
Frank Budinsky c727b0c083
Fix snip generator stripping leading space in expected output (#14693)
* Fix snip generator stripping leading space in expected output

* also fix _out

* strip trailing newline

* regen

* tweak for readability

* remove ambient label
2024-03-07 12:29:19 -08:00
Eric Van Norman a72fb91721
Update istio test ref to 1.20.0-rc.0 (#14091)
* Update istio test ref to 1.20.0-rc.0

* Remove added toolchain line

* Run make gen

* Update to set ENABLE_EXTERNAL_NAME_ALIAS to false (default) for testing

* Move gateway tcp-traffic shifting to demo

* Change gateway tcp-traffic shifting to not remove istio in demo...

* Change gateway tcp-traffic shifting to remove istiooperator in demo...

* Update to latest 1.20 commit

* Change to be a minimal test
2023-11-10 12:25:21 -08:00
Eric Van Norman 9b28e18fd8
Re-enable the tcp-traffic-shifting tests (#13970) 2023-10-05 09:28:36 -07:00
Frank Budinsky 86eff5d563
gateway-api: setup tips and warnings corrections (#13899)
* gateway-api: setup tips and warnings corrections

* regen

* remove obsolete snip
2023-09-19 16:28:03 -07:00
Eric Van Norman cf43397b2f
Update to main branch commit (#13819)
* Update to main branch comit

* Update istio api and client-go commits

* Update tests to also work on arm64 machines

* Change multi-cluster cleanup to use --purge like the page

* Change multi-cluster cleanup to use --purge like the page

* Try changing uninstall order to see if it follows second uniunstall

* Try doing one uninstall instead of spinning both of them

* Move back to commit before suspected PR

* make gen

* Update to commit with fix for --context

* Update to latest branch disabling tcp-traffic-shifting tests
2023-09-11 09:40:29 -07: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
Keith Mattix II 3c94567ce1
Change Istio Classic terminology to Istio APIs (#13385)
* Change Istio Classic terminology to Istio APIs

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

* Fix stutter

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

* Change back parallel structure formation

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

---------

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>
2023-06-16 07:02:06 -07:00
Frank Budinsky b64832ac53
gateway-api: future proof gateway address (#12961)
* gateway-api: future proof gateway address

* regen
2023-03-28 14:28:39 -07:00
Frank Budinsky 0d65b3888d
gateway-api: change wait ready to wait programmed (#12937) 2023-03-24 12:12:01 -07:00
Eric Van Norman 297056e6f4
Flix flakey tcp-traffic-shifting/gateway test (#12544)
* WIP - test

* Fix verbosity option

* Echo config

* REplace nc with echo

* Put nc back in but add a sleep

* Final update (for now) adding delay so `nc` doesn't reset the kubeconfig

* Remove extra cat'ing of kubeconfig

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

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

---------

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2023-02-07 10:16:34 -08:00
Frank Budinsky 7015cd8435
Add missing gateway-api guard in test (#12522) 2023-01-25 14:20:18 -08:00
Eric Van Norman e18f6fa472
Fix flakiest test (#12494)
* Disable flakiest test

* Tweak test to onlyget SLEEP value once.

* Fix lint

* Fix other loop
2023-01-20 09:44:13 -08:00
Frank Budinsky a69c5c5cba
gateway-api: tcp-traffic-shifting task instructions (#12260)
* gateway-api: tcp-traffic-shifting task instructions

* sleep service

* more wait

* wait for gtw
2022-11-21 10:07:57 -08:00
Frank Budinsky cc6c3ec406
Improve traffic shifting task overview (#9992)
* Improve traffic shifting task overview

* rm blank line
2021-06-25 15:21:49 -07: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
Frank Budinsky 4801cd62fa
Verify test cleanup (#7889)
* Verify test cleanup

* disable istio-system checks

* more tolerant checks

* fix lint

* more lint

* limited check cleanup

* always check

* snapshot tweak
2020-08-11 08:19:21 -07:00
Frank Budinsky e9a89c879f
Add owner attribute to docs (#7737)
* Add owner attribute to docs

* remove @
2020-07-15 15:19:40 -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
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
Navraj Singh Chhina e7616b2ac0
Disable ShellChecking for SC2164 (#7507)
* add missing cleanup for vs nginx

* disable SC2164 which checks safe cd

* make gen
2020-06-08 13:56:32 -07:00
Frank Budinsky e11cf24f0d
Add test: attribute to all md files (#7413) 2020-05-27 09:11:26 -07:00
Frank Budinsky 80443a4b6c
Cleanup and fix TCP traffic routing test (#7265)
* Cleanup and fix TCP traffic routing test

* use ingress IP

* cleanup doc

* curl 20 times
2020-05-11 17:39:55 -07:00
Frank Budinsky f45bc9e1a8
Remove obsolete '# ' uses from all tests (#7233) 2020-05-06 19:17:11 -04:00
Frank Budinsky 1fe7056ffa
Partial convert mirror test to new model (#7153)
Reverted the actual mirror test script, because mirror test seems to have some subtle failure when running with what seems to be the exact same commands via snips. Will investigate further in followup PR. Merging this one to get the generator changes.
2020-04-25 12:34:24 -04:00
Frank Budinsky a7107678f5
Convert TCP traffic shifting test (#7131)
* Convert TCP traffic shifting test

* lint errors

* regen

* test disable spellcheck

* temporary disable gen-check

* disable inappropriate bash lint errors

* disable gen check

* one more regen

* reenable gen check

* remove -it options

* revert commands

* fix app health check outdated
2020-04-22 18:26:27 -07:00
Suchith J N 5abe1c2696
update documentation for TCP traffic shifting: use a dedicated namesp… (#6368)
* update documentation for TCP traffic shifting: use a dedicated namespace instead of using default [istio-18285]

* fixed lint error in tcp-traffic-shifting/index.md in creating new namespace section (istio#18285)

* fix ordered list numbering to conform to MD029 configured to 'one' (istio.io/istio#18285)
2020-02-03 07:58:48 -08:00
Martin Taillefer 91c93a39b3
Added a bunch of links around istioctl. (#4970) 2019-09-12 08:26:58 -07:00
Frank Budinsky ca7559cab2 Remove Nomad & Consul docs (#4805)
* Remove Nomad & Consul docs

* broken links

* more broken links

* more broken links

* fix spelling errors

* remove broken ref
2019-08-16 12:13:30 -07:00
Martin Taillefer d0cf1e171e
Move English content to content/en as agreed in WG meeting. (#4789)
Once this goes in, I'll move content_zh to content/zh.
2019-08-14 15:45:31 -07:00