Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion .github/actions/setup-environment-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ runs:
cache-disabled: ${{ inputs.disable-cache }}
- name: Install Go
if: ${{ inputs.go-version != '' }}
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: ${{ inputs.go-version == 'default' && '1.25' || inputs.go-version }} # never set patch, to get latest patch releases.
cache-dependency-path: $${{ inputs.disable-cache && '' || 'sdks/go.sum' }}
7 changes: 4 additions & 3 deletions .github/workflows/beam_Playground_CI_Nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
runs-on: [self-hosted, ubuntu-20.04, highmem]
name: "beam_Playground_CI_Nightly"
strategy:
matrix:
matrix:
sdk: ["python", "java", "go"]
fail-fast: false
steps:
Expand All @@ -66,6 +66,7 @@ jobs:
uses: ./.github/actions/setup-environment-action
with:
python-version: default
go-version: '1.25'
- name: Install requirements
run: |
cd $BEAM_ROOT_DIR/playground/infrastructure
Expand All @@ -88,11 +89,11 @@ jobs:
CONTAINER_ID=$(docker run -d -e PROTOCOL_TYPE=TCP apache/beam_playground-backend-${{ matrix.sdk }}:nightly)
echo "container_id=$CONTAINER_ID" >> $GITHUB_ENV
- name: Get Container IP
run: |
run: |
CONTAINER_IP=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' ${{ env.container_id }})
echo "container_ip=$CONTAINER_IP" >> $GITHUB_ENV
- name: Run CI
env:
env:
SERVER_ADDRESS: ${{ env.container_ip }}:8080
BEAM_EXAMPLE_CATEGORIES: ${{ env.BEAM_ROOT_DIR }}/playground/categories.yaml
SDK: ${{ matrix.sdk }}
Expand Down
4 changes: 2 additions & 2 deletions .test-infra/mock-apis/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
// directory.
module github.com/apache/beam/test-infra/mock-apis

go 1.23.0
go 1.25.0

toolchain go1.24.4
toolchain go1.25.2

require (
cloud.google.com/go/logging v1.8.1
Expand Down
2 changes: 1 addition & 1 deletion playground/backend/containers/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ COPY kafka-emulator/kafka-emulator.tar /opt/playground/backend/kafka-emulator/
RUN cd /opt/playground/backend/kafka-emulator/ && tar -xvf kafka-emulator.tar && rm kafka-emulator.tar &&\
mv kafka-emulator/*.jar . && rmdir kafka-emulator/ &&\
mv beam-playground-kafka-emulator-*.jar beam-playground-kafka-emulator.jar
RUN apt-get update && apt-get install -y openjdk-11-jre-headless
RUN apt-get update && apt-get install -y openjdk-21-jre-headless

# Create a user group `appgroup` and a user `appuser`
RUN groupadd --gid 20000 appgroup \
Expand Down
2 changes: 1 addition & 1 deletion playground/backend/containers/go/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ docker {
buildArgs(
['BASE_IMAGE' : project.rootProject.hasProperty(["base-image"]) ?
project.rootProject["base-image"] :
"golang:1-bullseye",
"golang:1.25",
'SDK_TAG' : project.rootProject.hasProperty(["sdk-tag"]) ?
project.rootProject["sdk-tag"] : project.rootProject.sdk_version,
'SDK_TAG_LOCAL': project.rootProject.sdk_version,
Expand Down
Loading