Commit Graph

83 Commits

Author SHA1 Message Date
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
zirain 5dfc496aa5
Clean zh script (#12005)
* clean *.sh under content/zh

* add check-localization
2022-09-26 07:13:35 -07:00
Eric Van Norman 68fb4ec77a
advance master to release-1.16 (#11778)
* build an archive of v1.14 in master

* update data/versions.yml and archive index page

* advance master to release-1.16

* Rerun `make update_ref_docs

* Update to commit on main branch to fix tests

* Disable failing test (temporary)
2022-09-01 07:25:41 -07:00
Eric Van Norman da73c24218
Prepare for the 1.15.0 release (#11684) 2022-08-07 13:23:45 -07:00
Eric Van Norman e9841ae394
Update to use the master branch of istio.io/istio for test refs (#11414)
* Update to use the master branch of istio.io/istio for test refs

* go.* changes

* Update test and go.*

* Update to use `master` branch for make targets

* One final go mod tidy

* REmove vm test for now.

* Remove istioctl-analyze test

* Also remove using-istio-dashboard
2022-06-14 13:39:44 -07:00
Eric Van Norman 84c40da017
Prepare for version 1.14 as istio source is already branched (#11212)
* Prepare for version 1.14 as istio source is already branched

* Missed make gen
2022-04-25 10:24:04 -07:00
Eric Van Norman 08fe6be739
Updates to use fix main branch post release branching (#10894)
* Update to use main branch for reference docs

* Updates to fix this for next time (not moving to master)

* Run `make gen`

* Update master istio test reference

* Ingore one shellcheck, SC1091, for now. Not sure why it just showed up
2022-02-11 16:28:20 -08:00
Eric Van Norman 50e54d7fba advance master to release-1.14 2022-02-11 13:04:45 -07:00
Eric Van Norman b00ed6db68
Convert hardcoded values to read actual values (#10879)
* Convert hardcoded values to read actual values

* Fix assigment

* escape $
2022-02-08 16:20:17 -08:00
Eric Van Norman 68f0f07545
Prepare for v1.13 as istio source is already branched (#10808)
* Prepare for v1.13 as istio source is already branched

* Update VM test image from 1.11 to current to test

* Rename tests to temporaily disable Issue created to reanble before 1.13
2022-01-21 09:52:46 -08:00
Eric Van Norman 72de90d75b
Advance master to release-1.13 (#10516)
* build an archive of v1.11 in master

* update data/versions.yml and archive index page

* advance master to release-1.13

* ANother script update

* go get remaing istio repos to satisfy linter

* Temporarily fix link broken by istio/api #2148

* Temporarily disable istioctl analyze test.
2021-11-19 06:52:51 -08:00
Eric Van Norman 4c16b9a65e
Prepare for v1.12 as Istio source is already branched (#10455)
* prepare for v1.12 as istio source is already branched

* Fixup script output

* Removing validatingwebhookconfiguration if it exists.
2021-11-01 12:27:58 -07:00
Dhi Aurrahman 65c240814e
Allow to override istio/api Git URL (#10366)
This allows to override the default istio/api Git repo URL
(https://github.com/istio/api.git) with something else, for example, a
local directory, hence we can check how the documentation generated from
*.proto is rendered and layouted.

Signed-off-by: Dhi Aurrahman <dio@rockybars.com>
2021-09-24 07:36:03 -07:00
Eric Van Norman eed66e769b
Manual cherry-pick of #10352 (#10358) 2021-09-16 13:59:00 -07:00
Eric Van Norman 327bd45dbe
Advance master to 1.12 (#10176)
* build an archive of v1.10 in master

* update data/versions.yml and archive index page

* advance master to release-1.12

* Update istio test reference to pick up 1.12 in istioctl messages

* Fix lint and IMAGE_VERSION

* MOre changes for lint

* Use correct IMAGE_VERSION

* Skip virtual machines test - Release Blocker issue created
2021-08-13 08:58:35 -07:00
Eric Van Norman a3f2c5a0dd
Update for branch cut (#10082)
* prepare for v1.11 as istio source is already branched

* Update test ref to 1.11.0-beta.0

* Remove extraneous added files
2021-07-15 11:58:54 -07:00
Eric Van Norman 48c55859ba
Add update_test_reference target and cleanup old target (#9843) 2021-05-25 14:04:20 -07:00
Eric Van Norman ae7939eabe
Update master after 1.10 release (#9779)
* build an archive of v1.9 in master

* update data/versions.yml and archive index page

* advance master to release-1.11

* Update the istio test reference to master

* Remove failing deny test

* Remove another test

* Remove a third test
2021-05-18 15:57:52 -07:00
Eric Van Norman e575b768fa
prepare for v1.10 as istio source is already branched (#9469) 2021-04-07 12:04:45 -07: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
Eric Van Norman c5966d20f3
Update test reference on main branch to istio.io/istio master (#8950)
* Update test reference on main branch to istio.io/istio master

* Run make gen

* Update istio.io/api

* Fix istioctl-analyze test moving output to 1.10

* Change version string

* Remove overall shellcheck disable of SC2001
2021-02-12 06:50:52 -08:00
davidhauck 8140906812
Update master to 1.10 (#8931)
* build an archive of v1.8 in master

* update data/versions.yml and archive index page

* advance master to release-1.10

* run make gen
2021-02-09 12:46:44 -08:00
Eric Van Norman aef9d3fd6d
Fix error when trying to run tests on Linux (#8859) 2021-01-27 09:12:12 -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
davidhauck 394e58e271
prepare for v1.9 as istio source is already branched (#8777) 2021-01-14 12:06:22 -08:00
davidhauck cf0add291f
Update master for 1.9 (#8528)
* build an archive of v1.7 in master

* update data/versions.yml and archive index page

* advance master to release-1.9

* run make gen
2020-11-19 10:42:01 -08:00
John Howard 50f3bc0a61
Remove DOC_OWNERS.md (#8504)
This has proven to cause constant merge conflicts and decrease
contribution experience. We went through the same issue in the
environments WG and got rid of these types of generated codes which just
lead to constant conflicts.

If we do really want this, we should move it to something generated on
the fly in the build and not checked in.
2020-11-13 09:02:26 -08:00
Eric Van Norman da0a004694
prepare for v${VERSION} as istio source is already branched" (#8328) 2020-10-21 10:49:24 -07:00
Eric Van Norman 911febff0b
README update on how to update build versions tests use (#8250)
* README update on how to update build versions tests use

* More description of private vs public
2020-10-05 08:05:40 -07:00
Eric Van Norman 4fd2be298a
Revert to common-files lint-yaml after fixing failure in common-files (#8257)
* Use the common-files lint-yaml moving from pipefail to a file removed

* Try a common-files changes

* revert common-file change
2020-10-05 06:44:36 -07:00
Eric Van Norman 87ce923716
Revert to -o pipefail and fix lint-yaml, revert istio commit (#8254)
* Revert to -o pipefile

* Add +o pipefail around common file lint-yaml

* Update comment

* Simplify call

* Revert to older istio/istio commit which passed tests
2020-10-02 08:02:49 -07:00
Eric Van Norman ac554e74cc
lint-yaml will fail with pipefail and incoming fix, so remove now (#8235)
* Automator: update common-files@master in istio/istio.io@master

* lint-yaml will fail with pipefail and incoming fix, so remove now

Co-authored-by: istio-testing <istio-testing-bot@google.com>
2020-09-29 22:40:21 -04:00
Eric Van Norman eadaa2d6bc
Fix MacOS tests using a container (#8197)
* Fix MacOS tests using a container

* istioctl was wrong OS in container

* export IN_BUILD_CONTAINER
2020-09-23 12:35:54 -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
Eric Van Norman 1020de7a56
Update master branch to release-1.8 after publishing 1.7 (#7997)
* build an archive of v1.6 in master

* update data/versions.yml and archive index page

* advance master to release-1.8

* Missing `make snips` in script
2020-08-21 20:23:38 -07:00
Eric Van Norman db796eab17
Branch cut changes for release-1.7 (#7767)
* Branch cut changes for release-1.7

* Missed make gen
2020-07-22 09:12:06 -07:00
Frank Budinsky 2b05bafb02
Cleanup doc-owners script and add to make gen (#7747)
* cleanup doc-owners script and add to make gen

* pushd/popd
2020-07-20 06:13:20 -07:00
Hongyi Zhang 583d8ff0f7
Automate release process (#7601)
* script part one

* first draft

* save progress

* update README (i)

* try script

* add more echos

* even more echos

* complete list of git add

* change git add to --all

* separate remake archive

* change --all to -A

* fix path

* add credential helper

* fix path

* build an archive of v1.6 in tori-release

* add master variable

* build an archive of v1.6 in tori-release

* update data/versions.yml and archive index page

* finish redo_archive

* add patch release

* git add

* fix go command

* complete scripts

* make linters happy

* update readme

* update readme

* add script for prepare release

* add security patch arg

* fix release note path

* fix param expansion

* update readme

* fix typo

* refine patch release script

* add git pull to make sure everything is up to date

* ensure idempotence

* add dry run option

* fix func arg

* fix brackets

* allow existing branches

* fix arg bug

* remove git config

* update readme

* update readme

* remove unnecessary note

* update readme

* update readme

* fix indentation

* fix format bug

* force mv

* fix mv command

* rm previous archive

* fix extra char

* update readme

* change 1.4 example to 1.7; remove 'the'

* change 'set -e' position

* add function doc; do git pull --ff-only

* rename target to fetch-archive

* rename to PRIVATE_PATCH; remove release note template

* update readme

* add archive build in new release dry run

* rename to build_old_archive

* build archive before edit

* set upstream

* fix language

* rm set upstream

* delete dry run branch if exists

* change wordings

* make linter happy

* patch release changes

* rm args.yml edit

* change wordings

* change heading

* change gcse in readme

* Update README.md

* rm patch release automation

* Update README.md
2020-07-10 09:27:23 -07:00
Eric Van Norman 29256df633
Clean manifests directory (#7675) 2020-07-09 11:43:15 -04:00
davidhauck a7382bef81
Change links to /latest and include archive versions in the release site (#7567)
* Updated site to build archived packages at istio.io/{version} (#7515)

* cache sidebar smartly when building site (#7431)

* change archive process to include static archives every build

* fix zh redirects (#7523)

* fix redirects for vanity imports (#7524)

* fix 1.1 and 1.2 links (#7526)

* fix links in 1.3 and 1.4
2020-06-15 11:29:02 -07:00
Hongyi Zhang 5fbb14bedc
Convert all old tests to new tests (#7522)
* 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

* converting old tests to new tests: traffic-management and misc

* converting old tests to new tests: security

* remove old tests

* Update content/en/docs/tasks/security/cert-management/dns-cert/test.sh

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

* simplify setup configs

* Update content/en/docs/tasks/security/authentication/authn-policy/test.sh

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

* Update content/en/docs/tasks/security/authentication/mtls-migration/test.sh

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

* Update content/en/docs/tasks/security/authorization/authz-http/test.sh

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

* do not let istioctl prompt y/n

* Update content/en/docs/tasks/traffic-management/ingress/ingress-sni-passthrough/test.sh

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

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

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

* Update content/en/docs/tasks/security/cert-management/plugin-ca-cert/test.sh

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

* simplify stuff

* rename dns-cert test.sh to test_broken.sh

* fix dns-cert doc and test

* remove egress=disabled

* fix test

* Update content/en/docs/tasks/observability/logs/access-log/test.sh

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

* Update content/en/docs/tasks/security/authentication/authn-policy/test.sh

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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-06-11 11:15:48 -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
Eric Van Norman e8f18494dd
Update istio sha for tests to current `master` from `release-1.6` (#7430)
* Update istio sha for tests to current `master` from `release-1.6`

* Update to latest `master` sha

* Change ISTIO_IMAGE_VERSION to match master

* Increase retries for flakiness

* Pick up istio release with egress fix

* Fix for flakiness
2020-06-05 10:48:49 -07:00
Frank Budinsky c4e7daaa99
Add make test_status command (#7417)
* Add make test_status command

* improvement
2020-05-27 13:34:26 -07:00
Frank Budinsky b5f5fd897d
Update tests README + small fixes (#7395)
* Update tests README + small fixes

* lint

* wording tweaks
2020-05-25 15:14:39 -07:00
John Howard f83280e618
Bump istio/istio dependency (#7350)
Also run go mod tidy. This made me notice we are installing the junit
reporter every time even when not needed and keeping it in go.mod
unexpectedly, so this is removed as well.
2020-05-19 07:12:55 -07:00
Eric Van Norman 0c196ee512
Use template for sub testcases, fix TAG for them (#7237) 2020-05-07 17:37:29 -07:00
Eric Van Norman 392a2bee14
Update test framework to use 1.6.0-beta.0 (#7214)
* Update test framework to use 1.6.0-beta.0

* Go back to copies from env var

* Add more test targets, fix mtls test (new PA added)

* Update to use Istio SHA from go.mod (convert to long SHA)

* Try and remove TAG from prow

* Debug TAG not being set

* Fix paralization issue

* Remove some extra output

* Review comments
2020-05-06 10:49:27 -07:00
Eric Van Norman 402f064f5a
Revert "Update lint_site to only check languages for files in current PR (#7133)" (#7185)
This reverts commit d59b390a49.
2020-04-29 13:45:58 -04:00
Eric Van Norman d59b390a49
Update lint_site to only check languages for files in current PR (#7133)
* Update lint to only check languages for files in current PR

* Default branch to master if undefined, lint fixes

* Fix @ in Makefile.core.mk

* Add pt-br support to language check

* Review comments

* Apply suggestions from code review

Either BRANCH is specified or a language, else it fails.

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update scripts/lint_site.sh

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update Makefile.core.mk

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Don't check languages for lint-fast if no languages are found

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-04-29 08:18:13 -07:00