Commit Graph

256 Commits

Author SHA1 Message Date
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
Frank Budinsky 19c4a83e64
Allow owned _index.md files (#8384) 2020-10-29 07:22:12 -07:00
Eric Van Norman bc5076191a
Update reference script to not strip leading istio.io on /vx.y (#8310)
* Update reference script to not strip leading istio.io on /vx.y

* Update sed

* Run make update_ref_docs
2020-10-19 06:29:58 -07:00
John Howard b9c31e1352
Fix invalid arg on multicluster doc (#8236)
* Fix invalid arg on multicluster doc

* regen

* fix sort
2020-09-30 08:39:13 -07:00
Eric Van Norman 59ebec040b
Update reference docs - remove metrics items (#8061)
* Update reference docs - remove metrics items

* Fix links

* Actually fix links

* Fix make gen

* Early change from https://github.com/istio/api/pull/1617

* Review comments and rebase
2020-09-02 10:21:04 -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
Frank Budinsky e0a64264ef
Remove mix from update_ref_docs (#8005)
Force merge to fix build break.
2020-08-24 10:52:18 -04:00
Frank Budinsky d2bf1b754b
Lint allow references to archive versions (#7953) 2020-08-13 15:17:26 -07:00
Frank Budinsky 41d56d97ff
Remove -it from kubectl exec calls (#7916) 2020-08-11 12:40:58 -07:00
Eric Van Norman 81489373e7
Automate Getting Started (#7814)
* Automate Getting Started

* Add sleep cleanup

* Update cleanup

* Ignore not found on cleanup

* Review comments

* More review comments

* Cleanup prior sleep again

* Add kiala start/stop
2020-08-06 12:39:33 -04:00
Frank Budinsky 8cf093e8f3
Fix snip generator for multiple @...@ on a line (#7797)
* Fix snip generator for multiple @...@ on a line

* remove @ from folder url
2020-07-28 09:54:40 -07:00
Eric Van Norman 140e1eb449
Update grab_reference_docs to also strip `latest` from url (#7773)
* Update grab_reference_docs to also strip `latest` from url

* Update scripts/grab_reference_docs.sh

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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-07-23 06:45:47 -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
Frank Budinsky 74f20ed19b
Document owners listing (#7739)
* Document owners listing

* tweak format

* another tweak

* sort

* maybe better

* tweak

* revert

* add warning

* change owners of vm examples
2020-07-16 12:20:25 -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
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
Frank Budinsky 412f03105c
Kubernetes Ingress Test + fixes (#7662)
* Kubernetes Ingress Test + fixes

* cleanup

* fix circuit-breaking test

* fix lint

* remove -it
2020-07-06 07:54:35 -07:00
Frank Budinsky 350752d3b5
Enhance make test_status to list tested and untested docs (#7612)
* make test_status list tested and untested docs

* remove bad file

* add variable
2020-06-23 09:12:24 -07:00
davidhauck b01b6cc3ba
copy all root files over to root of public folder (#7606)
* copy all root files over to root of public folder

* fix linting error
2020-06-22 13:42:51 -07:00
Frank Budinsky eff0d43a27
Change scope of doc testing to /docs (#7593) 2020-06-18 13:31:43 -07: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
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 c4e7daaa99
Add make test_status command (#7417)
* Add make test_status command

* improvement
2020-05-27 13:34:26 -07:00
Frank Budinsky e11cf24f0d
Add test: attribute to all md files (#7413) 2020-05-27 09:11:26 -07:00
Frank Budinsky 6581b52325
Support escaped heredocs (#7386) 2020-05-22 08:12:46 -07:00
Nico Aragon ba66f82ee4
Setup for GKE (#7162)
* updating to 1.5

* zero touch setup for gke

start every line in bash with $

line starts with $

fixing format
2020-05-19 10:46:06 -07:00
Justin Pettit 7782eb1d0a
Authz jwt (#7338)
* snip.py: Replace github file token with release-specific URL.

* verify.sh: Show the expected output as well as the actual output.

* snip.py: Update the githubfile regex to not include email addresses.

When generating snip scripts, pairs of "@" signs indicate a link to
GitHub repo content.  However, JWT attribute values contained pairs of
email addresses such as:

    `testing@secure.istio.io/testing@secure.istio.io`

which would be treated as an email address and mangled.  This commit
rewrites the regex to not match on email addresses.

* Add authz-jwt user guide test.
2020-05-17 13:51:45 -04:00
Frank Budinsky f45bc9e1a8
Remove obsolete '# ' uses from all tests (#7233) 2020-05-06 19:17:11 -04:00
Eric Van Norman 2099bade11
Remove extraneous operator repo from grab_reference_docs.sh (#7212)
Force merge because of netlify flakiness

* Manual doc ref update

* Remove extraneous operator check

* Another manual update
2020-05-04 09:22:50 -04:00
John Howard d280c271b9
Remove node_agent from ref docs check (#7216) 2020-05-01 21:33:37 -07:00
davidhauck 9c24d0d72b
add linkinator to replace htmlproofer (#7204) 2020-05-01 11:30:44 -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
Justin Pettit 46d65cef33
lint_site.sh: Don't print error if "public" directory doesn't exist. (#7172) 2020-04-27 13:42:18 -07: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
Travis Clarke a937dec53c
Fix reference docs: galley cmd removed (#7132) 2020-04-23 07:44:01 -07: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
Xinnan Wen 74550f1bd4
add proxy repo to scrap docs from (#7113)
* add proxy repo to scrap docs

* add new docs

* fix lint
2020-04-21 17:19:54 -07:00
Steven Dake d6e9f4b92b
Retire helm documentation as we use a protobuf (#7106)
* Retire helm documentation as we use a protobuf

The new rendered source of truth is:
https://preliminary.istio.io/docs/reference/config/istio.operator.v1alpha1/

This is rendered from the API repo protobuf which (may) need description fields
set. That protobuf is here:

https://github.com/istio/api/blob/master/operator/v1alpha1/operator.proto

* Follow the flowchart

The flowchart is not quite right and could use some improvement.

* Update content/en/blog/2019/performance-best-practices/index.md

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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-04-21 07:55:44 -07:00
Shamsher Ansari c1dd1ceeff
Pass utf-8 encoding as a param to opening md files (#7098) 2020-04-17 07:23:56 -07:00
Frank Budinsky f2cf780bfb
Update doc test README (#7080)
* Update doc test README

* add sh

* tweaks

* formatting

* format

* fix comment

* wording

* convert mtls migration task

* Update tests/README.md

Co-Authored-By: Eric Van Norman <ericvn@us.ibm.com>

* Update tests/README.md

Co-Authored-By: Eric Van Norman <ericvn@us.ibm.com>

Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>
2020-04-15 08:44:18 -07:00
Frank Budinsky 3b59501872
Generate test snippets from md files POC (#7044)
* Generate test snippets from md POC

* fixes

* fix python lint

* fix snip source

* improvements

* update snip calls

* add copyright header

* lint errors

* lint error in md instructions

* better default snip_id

* run test without snippet gen

* gofmt

* fixes

* fix path

* fixes

* fix verify
2020-04-14 07:13:44 -07:00
Frank Budinsky dd1fe5e3bb
Suppress brittle link warnings (#7028)
* Suppress brittle link warnings

* tweak
2020-04-06 09:09:42 -07:00
Frank Budinsky 46876db586
Make site linter more configurable (#7014)
* Make site linter more configurable

* change brittle github links error to warning

* turn off external link checking by default

* update makefile

* fix target lint

* remove cross language link

* better variable name
2020-04-01 14:48:13 -04:00
Eric Van Norman 31d625dc79
Ignore Aporeto.com for now (#7003) 2020-03-30 09:58:50 -04:00
Steven Dake 53b35a13fe
Remove operator yaml experiment (#6985) 2020-03-26 13:46:29 -07:00
Travis Clarke 71a9cd7ef0
Update generated docs (#6870) 2020-03-16 11:47:36 -07:00
Eric Van Norman fc26fca934
Remove KubeCon EU event, fix KubeSphere.io links, ignore 429s. (#6886)
* Remove KubeCon EU event

* Make kubsphere.io link changes

* Ignore 429 return codes on links
2020-03-16 10:19:12 -07:00
Frank Budinsky 8774229973
Cleanup .spelling (lower case istiod not allowed) (#6858)
* Cleanup .spelling

* remove lower case istiod

* add backticks

* remove backticks

* restore backticks
2020-03-11 16:23:03 -04:00