Skip to content

Update run_rc_validation_go_wordcount.yml #34584

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

Merged
merged 9 commits into from
Apr 10, 2025
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/run_rc_validation_go_wordcount.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ env:
GCP_PROJECT_ID: apache-beam-testing
GCP_REGION: us-central1
GCS_TEMP_LOCATION: gs://rc-validation-migration-tests/temp/
GCS_STAGING_LOCATION: gs://rc-validation-migration-tests/staging/
GCS_INPUT_PATH: gs://apache-beam-samples/shakespeare/kinglear.txt

jobs:
Expand All @@ -55,7 +56,10 @@ jobs:
- name: Fetch Go SDK RC and Tidy Modules
working-directory: ./sdks/go/examples/wordcount
run: |
go get -d github.com/apache/beam/sdks/v2@${{ github.event.inputs.rc_tag }}
mkdir -p beam-test
cd beam-test
go mod init beam-test
go get github.com/apache/beam/sdks/v2/go/pkg/beam@${{ github.event.inputs.rc_tag }}
go mod tidy


Expand Down Expand Up @@ -83,9 +87,7 @@ jobs:
go run wordcount.go \
--input ./kinglear.txt \
--output ./output_prism.txt \
--runner=PrismRunner \
--environment_type=DOCKER \
--environment_config=apache/beam_go_sdk:${{ github.event.inputs.container_tag }}
--runner=PrismRunner

- name: Check output file
working-directory: ./sdks/go/examples/wordcount
Expand Down Expand Up @@ -129,6 +131,7 @@ jobs:
--project=${{ env.GCP_PROJECT_ID }} \
--region=${{ env.GCP_REGION }} \
--temp_location=${{ env.GCS_TEMP_LOCATION }} \
--staging_location=${{ env.GCS_STAGING_LOCATION }} \
--environment_type=DOCKER \
--environment_config=apache/beam_go_sdk:${{ github.event.inputs.container_tag }}

Expand Down
1 change: 1 addition & 0 deletions contributor-docs/release-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,7 @@ Wiki](https://cwiki.apache.org/confluence/display/BEAM/Python+Tips#PythonTips-In
- [ ] Java Quickstart Validation: https://github.com/apache/beam/actions/workflows/run_rc_validation_java_quickstart.yml
- [ ] Java Mobile Gaming RC Validation (~60min): https://github.com/apache/beam/actions/workflows/run_rc_validation_java_mobile_gaming.yml
- [ ] Python Mobile Gaming RC Validation (~90min): https://github.com/apache/beam/actions/workflows/run_rc_validation_python_mobile_gaming.yml
- [ ] Go SDK Release Candidate Validation: https://github.com/apache/beam/actions/workflows/run_rc_validation_go_wordcount.yml

### Checklist to proceed to the next phase

Expand Down
Loading