Skip to content

New getting started on Compute Engine sample. - #432

Merged
dzlier-gcp merged 6 commits into
GoogleCloudPlatform:masterfrom
dzlier-gcp:master
Jul 22, 2019
Merged

New getting started on Compute Engine sample.#432
dzlier-gcp merged 6 commits into
GoogleCloudPlatform:masterfrom
dzlier-gcp:master

Conversation

@dzlier-gcp

@dzlier-gcp dzlier-gcp commented Jul 11, 2019

Copy link
Copy Markdown
Member

Creating in new base /gce directory instead of overwriting the existing bookshelf/6-gce, as this is where we'll want the code to live and it avoids overwriting the current sample without needing a named branch.

Much of this is taken directly from bookshelf/6-gce though, including:

most of makeProject -> 6-gce/makeBookshelf
pom.xml reduced from 6-gce/makeBookshelf
everything in src/main/appengine and src/main/webapp.
scripts/startup-script.sh slightly modified from 6-gce/makeBookshelf/gce/startup-script.sh

@dzlier-gcp
dzlier-gcp requested a review from a team July 11, 2019 21:22
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 11, 2019
Comment thread gce/README.md Outdated
Comment thread gce/makeProject Outdated
Comment thread gce/pom.xml Outdated
Comment thread gce/pom.xml
Comment thread gce/pom.xml Outdated
Comment thread gce/pom.xml Outdated
Comment thread gce/src/main/appengine/app.yaml
Comment thread gce/src/main/appengine/app.yaml Outdated
Comment thread gce/src/main/java/com/example/getstarted/basicactions/HealthServlet.java Outdated
Comment thread gce/src/test/java/com/example/getstarted/basicactions/UserJourneyTestIT.java Outdated
@kurtisvg

Copy link
Copy Markdown
Contributor

Should probably use the java-docs-samples parent for checkstyle and errorprone as well.

@dzliergaard dzliergaard mentioned this pull request Jul 15, 2019
dzlier-gcp and others added 4 commits July 16, 2019 12:02
Co-Authored-By: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
@dzlier-gcp

Copy link
Copy Markdown
Member Author

Should probably use the java-docs-samples parent for checkstyle and errorprone as well.

Done

@dzlier-gcp
dzlier-gcp force-pushed the master branch 2 times, most recently from a1f81e7 to 8204e83 Compare July 17, 2019 23:35
@dzlier-gcp

Copy link
Copy Markdown
Member Author

I'm not sure what's going on with this Java 8 failure, though it seems to happen with the bookshelf/6-gce as well (though those tests don't seem to run as part of presubmit, continuous, or periodic, so they aren't setting off any flags).

@kurtisvg

Copy link
Copy Markdown
Contributor

I'm not sure what's going on with this Java 8 failure, though it seems to happen with the bookshelf/6-gce as well (though those tests don't seem to run as part of presubmit, continuous, or periodic, so they aren't setting off any flags).

My guess is that the POM for this branch doesn't have it as a dependency, so it's not running on system tests.

If we are going to move these samples anyway, it might be easiest just to PR this to java-docs-samples.

@dzlier-gcp

Copy link
Copy Markdown
Member Author

Got it - needed to specify some selenium executions params in pom.xml that it had been inheriting via the bookshelf parent tree but didn't come from shared-configuration.

@dzlier-gcp

Copy link
Copy Markdown
Member Author

Still gonna complain about the chrome webdriver executable though I guess.

@dzlier-gcp
dzlier-gcp force-pushed the master branch 3 times, most recently from 6691965 to 3430b1a Compare July 22, 2019 17:54
@dzlier-gcp

Copy link
Copy Markdown
Member Author

Also, I didn't think we were moving these samples out of getting-started-java, since they are still part of the getting started experience. Am I forgetting something?

@kurtisvg

Copy link
Copy Markdown
Contributor

Also, I didn't think we were moving these samples out of getting-started-java, since they are still part of the getting started experience. Am I forgetting something

According to the tracking doc, we decided to move them into java-docs-samples. But maybe it changed and we just didn't update it.

@dzlier-gcp

Copy link
Copy Markdown
Member Author

So was the plan to deprecate this repo entirely?

@dzlier-gcp

Copy link
Copy Markdown
Member Author

All right, but I would want to do that as a separate task instead of ballooning this one.

@kurtisvg

Copy link
Copy Markdown
Contributor

All right, but I would want to do that as a separate task instead of ballooning this one.

👍

@dzlier-gcp
dzlier-gcp merged commit 8569d18 into GoogleCloudPlatform:master Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants