Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove empty folder with snips #15227

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

craigbox
Copy link
Contributor

@craigbox craigbox commented Jun 3, 2024

Description

In #15168 we had, once, created a folder with an index.md/test: yes/snips.sh combo.

It was removed in a later commit, but the script checked directories that had existed in any commit (#15200). Thus, this file needed to be created with a boilerplate (and otherwise empty) snips.sh to have the tests pass. It is now being removed.

Reviewers

If the tests pass, @kfaseela. If they do not, then I think it will need to be forced, and I summon @howardjohn assuming it's rude to ask Eric, and I'm not sure who else can do such things (Louis? MItch? Anyone on the TOC?)

  • Docs
  • Test and Release

@craigbox craigbox requested a review from a team as a code owner June 3, 2024 09:58
@istio-testing istio-testing added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jun 3, 2024
@craigbox
Copy link
Contributor Author

craigbox commented Jun 3, 2024

As suspected, all tests are failing:

2024-06-03T10:06:37.429272Z fatal tf Error occurred while traversing content: lstat /home/prow/go/src/istio.io/istio.io/content/en/docs/ambient/getting-started/setup: no such file or directory

and this will need force-merging.

Tests won't fail after, they will only fail during.

@istio-testing
Copy link
Contributor

@craigbox: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
doc.test.profile-minimal_istio.io 2f5c591 link true /test doc.test.profile-minimal
doc.test.profile-demo_istio.io 2f5c591 link true /test doc.test.profile-demo
doc.test.profile-ambient_istio.io 2f5c591 link false /test doc.test.profile-ambient
doc.test.profile-default_istio.io 2f5c591 link true /test doc.test.profile-default
doc.test.profile-none_istio.io 2f5c591 link true /test doc.test.profile-none
doc.test.multicluster_istio.io 2f5c591 link true /test doc.test.multicluster
doc.test.dualstack_istio.io 2f5c591 link false /test doc.test.dualstack

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@kfaseela
Copy link
Member

kfaseela commented Jun 3, 2024

i did not get this error on #15226

@craigbox
Copy link
Contributor Author

craigbox commented Jun 3, 2024 via email

@craigbox
Copy link
Contributor Author

craigbox commented Jun 3, 2024

@howardjohn are you OK to force-merge this?

@howardjohn howardjohn merged commit 7ffc003 into istio:master Jun 3, 2024
5 of 13 checks passed
@craigbox craigbox deleted the fix-empty-snip-folder branch June 3, 2024 22:24
craigbox added a commit to craigbox/istio.io that referenced this pull request Jun 26, 2024
craigbox added a commit to craigbox/istio.io that referenced this pull request Jun 27, 2024
istio-testing pushed a commit that referenced this pull request Jun 28, 2024
* docs: break apart the ambient getting start guide (WIP) (#15168)

* break apart the ambient getting start guide

Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>

* wip

Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>

* wip

Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>

* fix linter issues

Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>

* wip

Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>

* add tests

Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>

* Craig's first edits

* lint fixes

* Fix tests

* fix tests

* test for #15200 workaround

* fix tests (thanks Faseela for helping me get them running locally!)

* Fix the snip generator?

* remove Wasm test because it depends on snips we're moving around

* rebase go.mod properly

* remove spelling

* new screenshots + pr fixes

Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>

* can't test locally so let's hope

* lint fixes

* make gen & fix test

* fixy testy

* Fix snip

* fix tests as we learn more

* Update content/en/docs/ambient/getting-started/secure-and-visualize/index.md

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

* fixing the wasm tests

Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>

---------

Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>
Co-authored-by: Craig Box <craig.box@gmail.com>
Co-authored-by: Daniel Hawton <daniel@hawton.org>

* cherrypick #15227 too

* move ambient tests to ambient profile (#15241)

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

* Manual cherry-pick the last of 15293

* Fix gencheck with release-1.22 versions of the tests

* re-add setup snips to fix the tests again; there's no avoiding #15200

* Update content/en/docs/ambient/getting-started/test.sh

---------

Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>
Signed-off-by: Faseela K <faseela.k@est.tech>
Co-authored-by: Peter Jausovec <peterj@users.noreply.github.com>
Co-authored-by: Daniel Hawton <daniel@hawton.org>
Co-authored-by: Faseela K <faseela.k@est.tech>
Co-authored-by: Faseela K <k.faseela@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/test and release kind/docs size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants