-
Notifications
You must be signed in to change notification settings - Fork 266
Conversation
Can one of the admins verify this patch? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:-(
tests/README.md
Outdated
- Add the `run-gui-tests` GitHub label | ||
|
||
### FAQ | ||
- *I am not able to add labels, what should I do?* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why eliminate this block?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These FAQs are actually repeated in other sections of the doc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not merge this until the PR to remove all the frontend code is up and then we can merge these both in a row.
ok to test |
@kyoto can we add another commit that re-vendors? I can do this for you if you like, but we should really eliminate all unused vendored packages as part of this |
Rebased |
More in depth cleanup will happen in PR 3068 [1]. This quick-fix unblocks current master failures. [1] coreos#3067
More in depth cleanup will happen in PR 3067 [1]. This quick-fix unblocks current master failures. [1] coreos#3067
@alexsomesan: @kyoto is taking some time off. I’m working on cleaning up the last remaining vendor files. Should be done tomorrow. |
ef59061
to
c2a4759
Compare
@mxinden @enxebre @alexsomesan PTAL. All unneeded vendored go code is now removed. |
@squat need to remove the |
installer/README.md
Outdated
@@ -29,52 +14,14 @@ Get a [license](https://account.coreos.com) and follow the guides to create Tect | |||
|
|||
- [Go 1.8](https://golang.org/doc/install) | |||
- [Nodejs >=8.x](https://nodejs.org/en/download/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can remove Nodejs as well , can't we?
This will need cleanup as well https://github.com/kyoto/tectonic-installer/blob/disable-gui-tests/images/tectonic-builder/Dockerfile#L48, actually are we using this image anymore? cc @cpanato @mxinden |
6c1c1cf
to
3bc7ce9
Compare
ok to test |
All the nodejs related stuff in bazel WORKSPACE can go away https://github.com/kyoto/tectonic-installer/blob/disable-gui-tests/WORKSPACE#L21 |
Nodejs related here can be removed https://github.com/kyoto/tectonic-installer/blob/disable-gui-tests/bill-of-materials.json#L363 |
this wont be needed anymore https://github.com/kyoto/tectonic-installer/blob/disable-gui-tests/tests/smoke/bare-metal/packet/main.tf#L119 but could be removed as a part of a follow up for keep removing obsolete bits |
The last two things are unrelated to the GUI so let’s do that separately. I’ll regenerate the BOM and fix the WORKSPACE. Thanks for finding those. |
3bc7ce9
to
38d46bc
Compare
restarted aws tests |
38d46bc
to
7296010
Compare
The last code consuming this executable was removed in 7296010 (frontend: Remove frontend code and backend API code, 2018-03-06, coreos/tectonic-installer#3067).
The 'smoke' target is a lot like the Gazelle-maintained go_default_test target, except that it's not automatically maintained. Make maintenance easier by pointing the smoke_tests alias straight at the automatically-maintained target. Generated with: $ rm smoke/tests/BUILD.bazel $ bazel run //:gazelle $ emacs smoke/tests/BUILD.bazel # add visibility Adding the visibility property avoids: $ bazel run smoke_tests ERROR: /home/trking/.local/lib/go/src/github.com/openshift/installer/BUILD.bazel:45:1: target '//tests/smoke:go_default_test' is not visible from target '//:smoke_tests'. Check the visibility declaration of the former target if you think the dependency is legitimate ERROR: Analysis of target '//:smoke_tests' failed; build aborted: Analysis of target '//:smoke_tests' failed; build aborted INFO: Elapsed time: 0.124s INFO: 0 processes. FAILED: Build did NOT complete successfully (1 packages loaded) FAILED: Build did NOT complete successfully (1 packages loaded) Running the smoke tests is also fairly orthogonal to building tarballs, so I've removed the smoke-test docs from Documentation/dev/build.md. The last test_vars consumer was removed in 7296010 (frontend: Remove frontend code and backend API code, 2018-03-06, coreos/tectonic-installer#3067), so I don't think its removal will be a problem. And because smoke.sh was removed in 1dea5c8 (tests: Remove unused smoke.sh + tfvars file, 2017-10-04, coreos/tectonic-installer#2036), I've just removed the whole tests/smoke/aws tree. And without that tree to explain, I've dropped the associated section from the smoke README as well.
The 'smoke' target is a lot like the Gazelle-maintained go_default_test target, except that it's not automatically maintained. Make maintenance easier by pointing the smoke_tests alias straight at the automatically-maintained target. Generated with: $ rm smoke/tests/BUILD.bazel $ bazel run //:gazelle $ emacs smoke/tests/BUILD.bazel # add visibility Adding the visibility property avoids: $ bazel run smoke_tests ERROR: /home/trking/.local/lib/go/src/github.com/openshift/installer/BUILD.bazel:45:1: target '//tests/smoke:go_default_test' is not visible from target '//:smoke_tests'. Check the visibility declaration of the former target if you think the dependency is legitimate ERROR: Analysis of target '//:smoke_tests' failed; build aborted: Analysis of target '//:smoke_tests' failed; build aborted INFO: Elapsed time: 0.124s INFO: 0 processes. FAILED: Build did NOT complete successfully (1 packages loaded) FAILED: Build did NOT complete successfully (1 packages loaded) Running the smoke tests is also fairly orthogonal to building tarballs, so I've removed the smoke-test docs from Documentation/dev/build.md. The last test_vars consumer was removed in 7296010 (frontend: Remove frontend code and backend API code, 2018-03-06, coreos/tectonic-installer#3067), so I don't think its removal will be a problem. And because smoke.sh was removed in 1dea5c8 (tests: Remove unused smoke.sh + tfvars file, 2017-10-04, coreos/tectonic-installer#2036), I've just removed the whole tests/smoke/aws tree. And without that tree to explain, I've dropped the associated section from the smoke README as well.
This script is from f7103ba (build: add back builder-run utility script, 2017-05-09, coreos/tectonic-installer#609), but doesn't seem to have ever been used anywhere. With installer/scripts gone since 7296010 (frontend: Remove frontend code and backend API code, 2018-04-06, coreos/tectonic-installer#3067), I think we can just drop builder-run entirely.
The last code consuming this executable was removed in 7296010 (frontend: Remove frontend code and backend API code, 2018-03-06, coreos/tectonic-installer#3067).
Remove GUI for Track 2.
Removes all frontend code and backend API code and the associated tests.
Does not include removing any Go packages that may now be unused.Restoring the GUI will require migrating to the YAML Tectonic config file format. Some of that work was done in #2884.
cc: @sym3tri, @robszumski, @squat, @cpanato