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

[BEAM-6760] website: test external links in postcommit, not precommit #8318

Merged
merged 2 commits into from Apr 24, 2019

Conversation

ibzib
Copy link
Contributor

@ibzib ibzib commented Apr 16, 2019

Following discussion on the mailing list (and repeated failures of :testWebsite on my PRs), I think it might be wise to disable testing external links for that task by default. If one wishes, external links can optionally be tested with the following command:

./gradlew :beam-website:testWebsite -PdisableExternal=false

Update: I added the full website test as a postcommit. Now precommit does not check external links, while the postcommit does. One can also invoke the full test on a PR by commenting Run Full Website Test.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- --- --- --- ---
Java Build Status Build Status Build Status Build Status
Build Status
Build Status
Build Status Build Status Build Status
Python Build Status
Build Status
--- Build Status
Build Status
Build Status --- --- ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website
Non-portable Build Status Build Status Build Status Build Status
Portable --- Build Status --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@apilloud
Copy link
Member

LGTM!

There was a request on the mailing list to add a website postcommit with this check enabled. The configurations for our Jenkins jobs live here: https://github.com/apache/beam/tree/master/.test-infra/jenkins

@ibzib
Copy link
Contributor Author

ibzib commented Apr 16, 2019

add a website postcommit with this check enabled

@apilloud Seems like there are a number of ways we could do this. We already have a postcommit for publishing the website. Would it make sense to just add the test as a step in that job?

// This job builds and publishes the website into the asf-site branch of the beam repo.

@apilloud
Copy link
Member

The website publish is its own job because we don't want to gate that on flaky tests. I have no strong opinions on adding it to that job vs a new one, but we do need to make sure the website publish doesn't break when external sites are down.

@ibzib
Copy link
Contributor Author

ibzib commented Apr 16, 2019 via email

@ibzib ibzib changed the title [BEAM-6760] website: disable testing external links by default [BEAM-6760] website: test external links in postcommit, not precommit Apr 16, 2019
@kennknowles
Copy link
Member

run seed job

@aaltay
Copy link
Member

aaltay commented Apr 23, 2019

Can we merge this?

@apilloud
Copy link
Member

We should test it first, looks like the Run Full Website Test never got run.

@apilloud
Copy link
Member

run seed job

1 similar comment
@apilloud
Copy link
Member

run seed job

@apilloud
Copy link
Member

Run Full Website Test

@apilloud
Copy link
Member

LGTM, passes tests.

@apilloud apilloud merged commit 47d44b1 into apache:master Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants