This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/asf-site by this push: new 5ac2b04 Publishing website 2021/11/04 00:01:45 at commit 0faa3b9 5ac2b04 is described below commit 5ac2b0476c83a5a685562a768bd878226f54a165 Author: jenkins <bui...@apache.org> AuthorDate: Thu Nov 4 00:01:45 2021 +0000 Publishing website 2021/11/04 00:01:45 at commit 0faa3b9 --- website/generated-content/contribute/index.xml | 4 ++++ .../contribute/release-guide/index.html | 8 +++++++- .../pipelines/test-your-pipeline/index.html | 22 +++++++++++----------- website/generated-content/sitemap.xml | 2 +- 4 files changed, 23 insertions(+), 13 deletions(-) diff --git a/website/generated-content/contribute/index.xml b/website/generated-content/contribute/index.xml index 77d4bae..14ea16e 100644 --- a/website/generated-content/contribute/index.xml +++ b/website/generated-content/contribute/index.xml @@ -1462,6 +1462,10 @@ All wheels should be published, in addition to the zip of the release source. <pre><code># Optional: unlock the signing key by signing an arbitrary file. gpg --output ~/doc.sig --sign ~/.bashrc VERSION_TAG=&quot;v${RELEASE}&quot; +# Tag for Go SDK +git tag -s &quot;sdks/$VERSION_TAG&quot; &quot;$RC_TAG&quot; +git push https://github.com/apache/beam &quot;sdks/$VERSION_TAG&quot; +# Tag for repo root. git tag -s &quot;$VERSION_TAG&quot; &quot;$RC_TAG&quot; git push https://github.com/apache/beam &quot;$VERSION_TAG&quot; </code></pre><p>After pushing the tag, the tag should be visible on Github&rsquo;s <a href="https://github.com/apache/beam/tags">Tags</a> page.</p> diff --git a/website/generated-content/contribute/release-guide/index.html b/website/generated-content/contribute/release-guide/index.html index 9115a11..89ef99f 100644 --- a/website/generated-content/contribute/release-guide/index.html +++ b/website/generated-content/contribute/release-guide/index.html @@ -399,6 +399,12 @@ All wheels should be published, in addition to the zip of the release source. gpg --output ~/doc.sig --sign ~/.bashrc VERSION_TAG="v${RELEASE}" + +# Tag for Go SDK +git tag -s "sdks/$VERSION_TAG" "$RC_TAG" +git push https://github.com/apache/beam "sdks/$VERSION_TAG" + +# Tag for repo root. git tag -s "$VERSION_TAG" "$RC_TAG" git push https://github.com/apache/beam "$VERSION_TAG" </code></pre><p>After pushing the tag, the tag should be visible on Github’s <a href=https://github.com/apache/beam/tags>Tags</a> page.</p><h3 id=publish-release-to-github>Publish release to Github</h3><p>Once the tag is uploaded, publish the release notes to Github, as follows:</p><pre><code>cd beam/release/src/main/scripts && ./publish_github_release_notes.sh @@ -413,7 +419,7 @@ If you end up getting permissions errors ask on the mailing list for assistance. Ask other contributors to do the same.</p><p>Also, update <a href=https://en.wikipedia.org/wiki/Apache_Beam>the Wikipedia article on Apache Beam</a>.</p><h3 id=checklist-to-declare-the-process-completed>Checklist to declare the process completed</h3><ol><li>Release announced on the user@ mailing list.</li><li>Blog post published, if applicable.</li><li>Release recorded in reporter.apache.org.</li><li>Release announced on social media.</li><li>Completion declared on the dev@ mailing list. [...] Once you’ve finished the release, please take a step back and look what areas of this process and be improved. Perhaps some part of the process can be simplified. Perhaps parts of this guide can be clarified.</p><p>If we have specific ideas, please start a discussion on the dev@ mailing list and/or propose a pull request to update this guide. -Thanks!</p><div class=feedback><p class=update>Last updated on 2021/10/07</p><h3>Have you found everything you were looking for?</h3><p class=description>Was it all useful and clear? Is there anything that you would like to change? Let us know!</p><button class=load-button><a href="mailto:d...@beam.apache.org?subject=Beam Website Feedback">SEND FEEDBACK</a></button></div></div></div><footer class=footer><div class=footer__contained><div class=footer__cols><div class="footer__cols__col foo [...] +Thanks!</p><div class=feedback><p class=update>Last updated on 2021/11/03</p><h3>Have you found everything you were looking for?</h3><p class=description>Was it all useful and clear? Is there anything that you would like to change? Let us know!</p><button class=load-button><a href="mailto:d...@beam.apache.org?subject=Beam Website Feedback">SEND FEEDBACK</a></button></div></div></div><footer class=footer><div class=footer__contained><div class=footer__cols><div class="footer__cols__col foo [...] <a href=http://www.apache.org>The Apache Software Foundation</a> | <a href=/privacy_policy>Privacy Policy</a> | <a href=/feed.xml>RSS Feed</a><br><br>Apache Beam, Apache, Beam, the Beam logo, and the Apache feather logo are either registered trademarks or trademarks of The Apache Software Foundation. All other products or name brands are trademarks of their respective holders, including The Apache Software Foundation.</div></div></div></div></footer></body></html> \ No newline at end of file diff --git a/website/generated-content/documentation/pipelines/test-your-pipeline/index.html b/website/generated-content/documentation/pipelines/test-your-pipeline/index.html index e486fb8..f162f7b 100644 --- a/website/generated-content/documentation/pipelines/test-your-pipeline/index.html +++ b/website/generated-content/documentation/pipelines/test-your-pipeline/index.html @@ -72,26 +72,26 @@ function openMenu(){addPlaceholder();blockScroll();}</script><div class="clearfi <span class=c1>// Run the pipeline. </span><span class=c1></span> <span class=n>p</span><span class=o>.</span><span class=na>run</span><span class=o>();</span> <span class=o>}</span> -<span class=o>}</span></code></pre></div></div></div><div class="language-py snippet"><div class="notebook-skip code-snippet"><a class=copy type=button data-bs-toggle=tooltip data-bs-placement=bottom title="Copy to clipboard"><img src=/images/copy-icon.svg></a><div class=highlight><pre class=chroma><code class=language-py data-lang=py><span class=kn>from</span> <span class=nn>apache_beam.testing.util</span> <span class=kn>import</span> <span class=n>assert_that</span> +<span class=o>}</span></code></pre></div></div></div><div class="language-py snippet"><div class="notebook-skip code-snippet"><a class=copy type=button data-bs-toggle=tooltip data-bs-placement=bottom title="Copy to clipboard"><img src=/images/copy-icon.svg></a><div class=highlight><pre class=chroma><code class=language-py data-lang=py><span class=kn>from</span> <span class=nn>apache_beam.testing.test_pipeline</span> <span class=kn>import</span> <span class=n>TestPipeline</span> +<span class=kn>from</span> <span class=nn>apache_beam.testing.util</span> <span class=kn>import</span> <span class=n>assert_that</span> <span class=kn>from</span> <span class=nn>apache_beam.testing.util</span> <span class=kn>import</span> <span class=n>equal_to</span> <span class=k>class</span> <span class=nc>CountTest</span><span class=p>(</span><span class=n>unittest</span><span class=o>.</span><span class=n>TestCase</span><span class=p>):</span> - <span class=c1># Our static input data, which will make up the initial PCollection.</span> - <span class=n>WORDS</span> <span class=o>=</span> <span class=p>[</span> + <span class=k>def</span> <span class=nf>test_count</span><span class=p>(</span><span class=bp>self</span><span class=p>):</span> + <span class=c1># Our static input data, which will make up the initial PCollection.</span> + <span class=n>WORDS</span> <span class=o>=</span> <span class=p>[</span> <span class=s2>"hi"</span><span class=p>,</span> <span class=s2>"there"</span><span class=p>,</span> <span class=s2>"hi"</span><span class=p>,</span> <span class=s2>"hi"</span><span class=p>,</span> <span class=s2>"sue"</span><span class=p>,</span> <span class=s2>"bob"</span><span class=p>,</span> <span class=s2>"hi"</span><span class=p>,</span> <span class=s2>"sue"</span><span class=p>,</span> <span class=s2>""</span><span class=p>,</span> <span class=s2>""</span><span class=p>,</span> <span class=s2>"ZOW"</span><span class=p>,</span> <span class=s2>"bob"</span><span class=p>,</span> <span class=s2>""</span> - <span class=p>]</span> - - <span class=k>def</span> <span class=nf>test_count</span><span class=p>(</span><span class=bp>self</span><span class=p>):</span> + <span class=p>]</span> <span class=c1># Create a test pipeline.</span> - <span class=k>with</span> <span class=n>beam</span><span class=o>.</span><span class=n>TestPipeline</span> <span class=k>as</span> <span class=n>p</span><span class=p>:</span> + <span class=k>with</span> <span class=n>TestPipeline</span><span class=p>()</span> <span class=k>as</span> <span class=n>p</span><span class=p>:</span> <span class=c1># Create an input PCollection.</span> - <span class=nb>input</span> <span class=o>=</span> <span class=n>p</span> <span class=o>|</span> <span class=n>beam</span><span class=o>.</span><span class=n>Create</span><span class=p>(</span><span class=n>WORDS</span><span class=p>);</span> + <span class=nb>input</span> <span class=o>=</span> <span class=n>p</span> <span class=o>|</span> <span class=n>beam</span><span class=o>.</span><span class=n>Create</span><span class=p>(</span><span class=n>WORDS</span><span class=p>)</span> <span class=c1># Apply the Count transform under test.</span> - <span class=n>output</span> <span class=o>=</span> <span class=nb>input</span> <span class=o>|</span> <span class=n>beam</span><span class=o>.</span><span class=n>combiners</span><span class=o>.</span><span class=n>Count</span><span class=o>.</span><span class=n>PerElement</span><span class=p>();</span> + <span class=n>output</span> <span class=o>=</span> <span class=nb>input</span> <span class=o>|</span> <span class=n>beam</span><span class=o>.</span><span class=n>combiners</span><span class=o>.</span><span class=n>Count</span><span class=o>.</span><span class=n>PerElement</span><span class=p>()</span> <span class=c1># Assert on the results.</span> <span class=n>assert_that</span><span class=p>(</span> @@ -102,7 +102,7 @@ function openMenu(){addPlaceholder();blockScroll();}</script><div class="clearfi <span class=p>(</span><span class=s2>"sue"</span><span class=p>,</span> <span class=mi>2</span><span class=p>),</span> <span class=p>(</span><span class=s2>"bob"</span><span class=p>,</span> <span class=mi>2</span><span class=p>),</span> <span class=p>(</span><span class=s2>""</span><span class=p>,</span> <span class=mi>3</span><span class=p>),</span> - <span class=p>(</span><span class=s2>"ZOW"</span><span class=p>,</span> <span class=mi>1</span><span class=p>)])</span> + <span class=p>(</span><span class=s2>"ZOW"</span><span class=p>,</span> <span class=mi>1</span><span class=p>)]))</span> <span class=c1># The pipeline will run and verify the results.</span></code></pre></div></div></div><h2 id=testing-a-pipeline-end-to-end>Testing a Pipeline End-to-End</h2><p>You can use the test classes in the Beam SDKs (such as <code>TestPipeline</code> and <code>PAssert</code> in the Beam SDK for Java) to test an entire pipeline end-to-end. Typically, to test an entire pipeline, you do the following:</p><ul><li>For every source of input data to your pipeline, create some known st [...] @@ -159,7 +159,7 @@ function openMenu(){addPlaceholder();blockScroll();}</script><div class="clearfi <span class=c1># Assert that the output PCollection matches the EXPECTED_COUNTS data.</span> <span class=n>assert_that</span><span class=p>(</span><span class=n>output</span><span class=p>,</span> <span class=n>equal_to</span><span class=p>(</span><span class=n>EXPECTED_COUNTS</span><span class=p>),</span> <span class=n>label</span><span class=o>=</span><span class=s1>'CheckOutput'</span><span class=p>)</span> - <span class=c1># The pipeline will run and verify the results.</span></code></pre></div></div></div><div class=feedback><p class=update>Last updated on 2020/07/13</p><h3>Have you found everything you were looking for?</h3><p class=description>Was it all useful and clear? Is there anything that you would like to change? Let us know!</p><button class=load-button><a href="mailto:d...@beam.apache.org?subject=Beam Website Feedback">SEND FEEDBACK</a></button></div></div></div><footer class= [...] + <span class=c1># The pipeline will run and verify the results.</span></code></pre></div></div></div><div class=feedback><p class=update>Last updated on 2021/09/30</p><h3>Have you found everything you were looking for?</h3><p class=description>Was it all useful and clear? Is there anything that you would like to change? Let us know!</p><button class=load-button><a href="mailto:d...@beam.apache.org?subject=Beam Website Feedback">SEND FEEDBACK</a></button></div></div></div><footer class= [...] <a href=http://www.apache.org>The Apache Software Foundation</a> | <a href=/privacy_policy>Privacy Policy</a> | <a href=/feed.xml>RSS Feed</a><br><br>Apache Beam, Apache, Beam, the Beam logo, and the Apache feather logo are either registered trademarks or trademarks of The Apache Software Foundation. All other products or name brands are trademarks of their respective holders, including The Apache Software Foundation.</div></div></div></div></footer></body></html> \ No newline at end of file diff --git a/website/generated-content/sitemap.xml b/website/generated-content/sitemap.xml index ce2a766..165fe6e 100644 --- a/website/generated-content/sitemap.xml +++ b/website/generated-content/sitemap.xml @@ -1 +1 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/blog/beam-2.33.0/</loc><lastmod>2021-10-11T18:22:03-07:00</lastmod></url><url><loc>/categories/blog/</loc><lastmod>2021-10-11T18:22:03-07:00</lastmod></url><url><loc>/blog/</loc><lastmod>2021-10-11T18:22:03-07:00</lastmod></url><url><loc>/categories/</loc><lastmod>2021-10-11T18:22:03-07:00</lastmod></url><url><loc>/blog/b [...] \ No newline at end of file +<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/blog/beam-2.33.0/</loc><lastmod>2021-10-11T18:22:03-07:00</lastmod></url><url><loc>/categories/blog/</loc><lastmod>2021-10-11T18:22:03-07:00</lastmod></url><url><loc>/blog/</loc><lastmod>2021-10-11T18:22:03-07:00</lastmod></url><url><loc>/categories/</loc><lastmod>2021-10-11T18:22:03-07:00</lastmod></url><url><loc>/blog/b [...] \ No newline at end of file