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 examples directory #61246

Merged
merged 1 commit into from Apr 24, 2018

Conversation

@serathius
Copy link
Contributor

commented Mar 15, 2018

Removes examples directory, which was migrated kubernetes/examples#210
Moves manifests used in tests to test/e2e/testing-manifests
I will submit PR to https://github.com/kubernetes/k8s.io to fix links to https://releases.k8s.io/*/examples
Fixes #60887

Special notes for your reviewer:

NONE

cc @ahmetb @ixdy

@k8s-ci-robot

This comment has been minimized.

Copy link
Contributor

commented Mar 15, 2018

@serathius: Adding label: do-not-merge/blocked-paths because PR changes a protected file.

Reasons for blocking this PR:

[examples/ has moved to https://github.com/kubernetes/examples/]

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/test-infra repository.

@ahmetb

This comment has been minimized.

Copy link
Member

commented Mar 16, 2018

/ok-to-test

@serathius serathius force-pushed the serathius:remove-examples branch 9 times, most recently from 2710c66 to ed23c2d Mar 19, 2018

@zouyee

This comment has been minimized.

Copy link
Member

commented Mar 22, 2018

/test pull-kubernetes-integration

@zouyee
Copy link
Member

left a comment

I think some changes need to be splited

@serathius serathius force-pushed the serathius:remove-examples branch from ed23c2d to 4918dff Mar 22, 2018

@ahmetb

This comment has been minimized.

Copy link
Member

commented Apr 5, 2018

@serathius any blockers here?

@serathius serathius force-pushed the serathius:remove-examples branch from 4918dff to 5f67a89 Apr 9, 2018

@serathius

This comment has been minimized.

Copy link
Contributor Author

commented Apr 9, 2018

No, I waited for redirect in k8s. Forgot to rerun tests.

@serathius serathius force-pushed the serathius:remove-examples branch from 5f67a89 to a9f5cf7 Apr 13, 2018

@k8s-github-robot k8s-github-robot merged commit e5274b6 into kubernetes:master Apr 24, 2018

14 of 15 checks passed

Submit Queue Required Github CI test is not green: pull-kubernetes-e2e-gce
Details
cla/linuxfoundation serathius authorized
Details
pull-kubernetes-bazel-build Job succeeded.
Details
pull-kubernetes-bazel-test Job succeeded.
Details
pull-kubernetes-cross Job succeeded.
Details
pull-kubernetes-e2e-gce Job succeeded.
Details
pull-kubernetes-e2e-gce-device-plugin-gpu Job succeeded.
Details
pull-kubernetes-e2e-gke Skipped
pull-kubernetes-e2e-kops-aws Job succeeded.
Details
pull-kubernetes-integration Job succeeded.
Details
pull-kubernetes-kubemark-e2e-gce Job succeeded.
Details
pull-kubernetes-local-e2e Skipped
pull-kubernetes-node-e2e Job succeeded.
Details
pull-kubernetes-typecheck Job succeeded.
Details
pull-kubernetes-verify Job succeeded.
Details
@ahmetb

This comment has been minimized.

Copy link
Member

commented Apr 24, 2018

Thank you so much @serathius.

If we get complaints about examples/ directory disappearing altogether, we can add a README.md pointing to the new repo but we already had that for > 6 months.

k8s-github-robot pushed a commit that referenced this pull request Apr 25, 2018

Kubernetes Submit Queue
Merge pull request #63129 from cblecker/clean-unneeded-deps-apr24
Automatic merge from submit-queue (batch tested with PRs 63129, 63066, 60009, 63136, 63086). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Clean up and remove unused deps

**What this PR does / why we need it**:
The `examples/` directory was removed in #61246, but it's deps weren't cleaned up.

**Release note**:
```release-note
NONE
```

lathama added a commit to lathama/kubernetes that referenced this pull request Aug 14, 2018

pohly added a commit to pohly/kubernetes that referenced this pull request Sep 3, 2018

e2e/examples: remove obsolete tests
These tests depend on files that were removed in
kubernetes#61246 and thus can no
longer be run in Kubernetes. Moving the tests to kubernetes/examples
is tracked in kubernetes/examples#214.

The file removal did not break the automated E2E testing probably
because the tests are under the Feature:Example tag and thus not
enabled during normal CI runs.

Removing also the obsolete tests makes it simpler to rework the
"repo-root" setting because less code uses it.

pohly added a commit to pohly/kubernetes that referenced this pull request Sep 3, 2018

e2e/examples: remove obsolete tests
These tests depend on files that were removed in
kubernetes#61246 and thus can no
longer be run in Kubernetes. Moving the tests to kubernetes/examples
is tracked in kubernetes/examples#214.

The file removal did not break the automated E2E testing probably
because the tests are under the Feature:Example tag and thus not
enabled during normal CI runs.

Removing also the obsolete tests makes it simpler to rework the
"repo-root" setting because less code uses it.

pohly added a commit to pohly/kubernetes that referenced this pull request Sep 3, 2018

e2e/examples: remove obsolete tests
These tests depend on files that were removed in
kubernetes#61246 and thus can no
longer be run in Kubernetes. Moving the tests to kubernetes/examples
is tracked in kubernetes/examples#214.

The file removal did not break the automated E2E testing probably
because the tests are under the Feature:Example tag and thus not
enabled during normal CI runs.

Removing also the obsolete tests makes it simpler to rework the
"repo-root" setting because less code uses it.

pohly added a commit to pohly/kubernetes that referenced this pull request Sep 4, 2018

e2e/examples: remove obsolete tests
These tests depend on files that were removed in
kubernetes#61246 and thus can no
longer be run in Kubernetes. Moving the tests to kubernetes/examples
is tracked in kubernetes/examples#214.

The file removal did not break the automated E2E testing probably
because the tests are under the Feature:Example tag and thus not
enabled during normal CI runs.

Removing also the obsolete tests makes it simpler to rework the
"repo-root" setting because less code uses it.

pohly added a commit to pohly/kubernetes that referenced this pull request Sep 7, 2018

e2e/examples: remove obsolete tests
These tests depend on files that were removed in
kubernetes#61246 and thus can no
longer be run in Kubernetes. Moving the tests to kubernetes/examples
is tracked in kubernetes/examples#214.

The file removal did not break the automated E2E testing probably
because the tests are under the Feature:Example tag and thus not
enabled during normal CI runs.

Removing also the obsolete tests makes it simpler to rework the
"repo-root" setting because less code uses it.

pohly added a commit to pohly/kubernetes that referenced this pull request Sep 10, 2018

e2e/examples: remove obsolete tests
These tests depend on files that were removed in
kubernetes#61246 and thus can no
longer be run in Kubernetes. Moving the tests to kubernetes/examples
is tracked in kubernetes/examples#214.

The file removal did not break the automated E2E testing probably
because the tests are under the Feature:Example tag and thus not
enabled during normal CI runs.

Removing also the obsolete tests makes it simpler to rework the
"repo-root" setting because less code uses it.

pohly added a commit to pohly/kubernetes that referenced this pull request Sep 11, 2018

e2e/examples: remove obsolete tests
These tests depend on files that were removed in
kubernetes#61246 and thus can no
longer be run in Kubernetes. Moving the tests to kubernetes/examples
is tracked in kubernetes/examples#214.

The file removal did not break the automated E2E testing probably
because the tests are under the Feature:Example tag and thus not
enabled during normal CI runs.

Removing also the obsolete tests makes it simpler to rework the
"repo-root" setting because less code uses it.

pohly added a commit to pohly/kubernetes that referenced this pull request Sep 14, 2018

e2e/examples: remove obsolete tests
These tests depend on files that were removed in
kubernetes#61246 and thus can no
longer be run in Kubernetes. Moving the tests to kubernetes/examples
is tracked in kubernetes/examples#214.

The file removal did not break the automated E2E testing probably
because the tests are under the Feature:Example tag and thus not
enabled during normal CI runs.

Removing also the obsolete tests makes it simpler to rework the
"repo-root" setting because less code uses it.

pohly added a commit to pohly/kubernetes that referenced this pull request Sep 25, 2018

e2e/examples: remove obsolete tests
These tests depend on files that were removed in
kubernetes#61246 and thus can no
longer be run in Kubernetes. Moving the tests to kubernetes/examples
is tracked in kubernetes/examples#214.

The file removal did not break the automated E2E testing probably
because the tests are under the Feature:Example tag and thus not
enabled during normal CI runs.

Removing also the obsolete tests makes it simpler to rework the
"repo-root" setting because less code uses it.

pohly added a commit to pohly/kubernetes that referenced this pull request Sep 27, 2018

e2e: abstract access to additional files
The new test/e2e/framework/testfiles package makes it possible to
write tests that do not depend on a specific way of providing
additional test files at runtime. Such tests and the framework are
then more easily reused in other test suites.

In the test/e2e suite file access is enabled based on the existing
"repo-root" command line parameter and the built-in bindata. Tests
using the new API will first check for files under "repo-root" and
then fall back to the builtin data. This way, users of a test binary
can modify those files without having to rebuild the binary.

"repo-root" is still needed because at least some tests check for
additional files (secret.yaml, via ingress_utils.go) that are not part
of the upstream source code and thus may or may not be built into a
test binary.

Tests using bindata or repo-root directly get modified to use the new
API, or removed when they are obsolete: test/e2e/examples.go depended
on files that were removed in
kubernetes#61246 and thus can no
longer be run in Kubernetes. Moving the tests to kubernetes/examples
is tracked in kubernetes/examples#214.

The file removal did not break the automated E2E testing probably
because the tests are under the Feature:Example tag and thus not
enabled during normal CI runs.

Removing also the obsolete tests makes it simpler to rework the
"repo-root" setting because less code uses it.

Related-to: kubernetes#66649 and kubernetes#23987

pohly added a commit to pohly/kubernetes that referenced this pull request Sep 27, 2018

e2e: abstract access to additional files
The new test/e2e/framework/testfiles package makes it possible to
write tests that do not depend on a specific way of providing
additional test files at runtime. Such tests and the framework are
then more easily reused in other test suites.

In the test/e2e suite file access is enabled based on the existing
"repo-root" command line parameter and the built-in bindata. Tests
using the new API will first check for files under "repo-root" and
then fall back to the builtin data. This way, users of a test binary
can modify those files without having to rebuild the binary.

"repo-root" is still needed because at least some tests check for
additional files (secret.yaml, via ingress_utils.go) that are not part
of the upstream source code and thus may or may not be built into a
test binary.

Tests using bindata or repo-root directly get modified to use the new
API, or removed when they are obsolete: test/e2e/examples.go depended
on files that were removed in
kubernetes#61246 and thus can no
longer be run in Kubernetes. Moving the tests to kubernetes/examples
is tracked in kubernetes/examples#214.

The file removal did not break the automated E2E testing probably
because the tests are under the Feature:Example tag and thus not
enabled during normal CI runs.

Removing also the obsolete tests makes it simpler to rework the
"repo-root" setting because less code uses it.

Related-to: kubernetes#66649 and kubernetes#23987

pohly added a commit to pohly/kubernetes that referenced this pull request Sep 27, 2018

e2e: abstract access to additional files
The new test/e2e/framework/testfiles package makes it possible to
write tests that do not depend on a specific way of providing
additional test files at runtime. Such tests and the framework are
then more easily reused in other test suites.

In the test/e2e suite file access is enabled based on the existing
"repo-root" command line parameter and the built-in bindata. Tests
using the new API will first check for files under "repo-root" and
then fall back to the builtin data. This way, users of a test binary
can modify those files without having to rebuild the binary.

"repo-root" is still needed because at least some tests check for
additional files (secret.yaml, via ingress_utils.go) that are not part
of the upstream source code and thus may or may not be built into a
test binary.

Tests using bindata or repo-root directly get modified to use the new
API, or removed when they are obsolete: test/e2e/examples.go depended
on files that were removed in
kubernetes#61246 and thus can no
longer be run in Kubernetes. Moving the tests to kubernetes/examples
is tracked in kubernetes/examples#214.

The file removal did not break the automated E2E testing probably
because the tests are under the Feature:Example tag and thus not
enabled during normal CI runs.

Removing also the obsolete tests makes it simpler to rework the
"repo-root" setting because less code uses it.

Related-to: kubernetes#66649 and kubernetes#23987

k8s-ci-robot added a commit that referenced this pull request Sep 27, 2018

Merge pull request #67401 from lathama/lathama-examples
from #61246 note removed examples and regression for master

pohly added a commit to pohly/kubernetes that referenced this pull request Sep 28, 2018

e2e: abstract access to additional files
The new test/e2e/framework/testfiles package makes it possible to
write tests that do not depend on a specific way of providing
additional test files at runtime. Such tests and the framework are
then more easily reused in other test suites.

In the test/e2e suite file access is enabled based on the existing
"repo-root" command line parameter and the built-in bindata. Tests
using the new API will first check for files under "repo-root" and
then fall back to the builtin data. This way, users of a test binary
can modify those files without having to rebuild the binary.

"repo-root" is still needed because at least some tests check for
additional files (secret.yaml, via ingress_utils.go) that are not part
of the upstream source code and thus may or may not be built into a
test binary.

Tests using bindata or repo-root directly get modified to use the new
API, or removed when they are obsolete: test/e2e/examples.go depended
on files that were removed in
kubernetes#61246 and thus can no
longer be run in Kubernetes. Moving the tests to kubernetes/examples
is tracked in kubernetes/examples#214.

The file removal did not break the automated E2E testing probably
because the tests are under the Feature:Example tag and thus not
enabled during normal CI runs.

Removing also the obsolete tests makes it simpler to rework the
"repo-root" setting because less code uses it.

Related-to: kubernetes#66649 and kubernetes#23987

pohly added a commit to pohly/kubernetes that referenced this pull request Oct 2, 2018

e2e: abstract access to additional files
The new test/e2e/framework/testfiles package makes it possible to
write tests that do not depend on a specific way of providing
additional test files at runtime. Such tests and the framework are
then more easily reused in other test suites.

In the test/e2e suite file access is enabled based on the existing
"repo-root" command line parameter and the built-in bindata. Tests
using the new API will first check for files under "repo-root" and
then fall back to the builtin data. This way, users of a test binary
can modify those files without having to rebuild the binary.

"repo-root" is still needed because at least some tests check for
additional files (secret.yaml, via ingress_utils.go) that are not part
of the upstream source code and thus may or may not be built into a
test binary.

Tests using bindata or repo-root directly get modified to use the new
API, or removed when they are obsolete: test/e2e/examples.go depended
on files that were removed in
kubernetes#61246 and thus can no
longer be run in Kubernetes. Moving the tests to kubernetes/examples
is tracked in kubernetes/examples#214.

The file removal did not break the automated E2E testing probably
because the tests are under the Feature:Example tag and thus not
enabled during normal CI runs.

Removing also the obsolete tests makes it simpler to rework the
"repo-root" setting because less code uses it.

Related-to: kubernetes#66649 and kubernetes#23987

vithati added a commit to vithati/kubernetes that referenced this pull request Oct 25, 2018

e2e: abstract access to additional files
The new test/e2e/framework/testfiles package makes it possible to
write tests that do not depend on a specific way of providing
additional test files at runtime. Such tests and the framework are
then more easily reused in other test suites.

In the test/e2e suite file access is enabled based on the existing
"repo-root" command line parameter and the built-in bindata. Tests
using the new API will first check for files under "repo-root" and
then fall back to the builtin data. This way, users of a test binary
can modify those files without having to rebuild the binary.

"repo-root" is still needed because at least some tests check for
additional files (secret.yaml, via ingress_utils.go) that are not part
of the upstream source code and thus may or may not be built into a
test binary.

Tests using bindata or repo-root directly get modified to use the new
API, or removed when they are obsolete: test/e2e/examples.go depended
on files that were removed in
kubernetes#61246 and thus can no
longer be run in Kubernetes. Moving the tests to kubernetes/examples
is tracked in kubernetes/examples#214.

The file removal did not break the automated E2E testing probably
because the tests are under the Feature:Example tag and thus not
enabled during normal CI runs.

Removing also the obsolete tests makes it simpler to rework the
"repo-root" setting because less code uses it.

Related-to: kubernetes#66649 and kubernetes#23987

goodluckbot added a commit to goodluckbot/kubernetes that referenced this pull request Nov 11, 2018

goodluckbot added a commit to goodluckbot/kubernetes that referenced this pull request Nov 11, 2018

e2e: abstract access to additional files
The new test/e2e/framework/testfiles package makes it possible to
write tests that do not depend on a specific way of providing
additional test files at runtime. Such tests and the framework are
then more easily reused in other test suites.

In the test/e2e suite file access is enabled based on the existing
"repo-root" command line parameter and the built-in bindata. Tests
using the new API will first check for files under "repo-root" and
then fall back to the builtin data. This way, users of a test binary
can modify those files without having to rebuild the binary.

"repo-root" is still needed because at least some tests check for
additional files (secret.yaml, via ingress_utils.go) that are not part
of the upstream source code and thus may or may not be built into a
test binary.

Tests using bindata or repo-root directly get modified to use the new
API, or removed when they are obsolete: test/e2e/examples.go depended
on files that were removed in
kubernetes#61246 and thus can no
longer be run in Kubernetes. Moving the tests to kubernetes/examples
is tracked in kubernetes/examples#214.

The file removal did not break the automated E2E testing probably
because the tests are under the Feature:Example tag and thus not
enabled during normal CI runs.

Removing also the obsolete tests makes it simpler to rework the
"repo-root" setting because less code uses it.

Related-to: kubernetes#66649 and kubernetes#23987

goodluckbot added a commit to goodluckbot/kubernetes that referenced this pull request Nov 11, 2018

ParvJain added a commit to ParvJain/website that referenced this pull request Dec 6, 2018

Updated the links for example repository
example folder was migrated to it's own repository 
related: kubernetes/kubernetes#61246
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.