This is an automated email from the ASF dual-hosted git repository.

lukeroy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-runtime-go.git


The following commit(s) were added to refs/heads/master by this push:
     new 1b00151  Remove go 1.21 and replace it with go 1.24 (#207)
1b00151 is described below

commit 1b0015169b78be88a200527424c59b433be94785
Author: Luke Roy <[email protected]>
AuthorDate: Tue Aug 5 07:28:30 2025 +0200

    Remove go 1.21 and replace it with go 1.24 (#207)
    
    * Remove go 1.21 and replace it with go 1.24
    
    Signed-off-by: Luke Roy <[email protected]>
    
    * keep go mode at 1.21
    
    Signed-off-by: Luke Roy <[email protected]>
    
    ---------
    
    Signed-off-by: Luke Roy <[email protected]>
---
 .github/workflows/ci.yaml                                           | 4 ++--
 .gitignore                                                          | 2 +-
 docs/BUILD.md                                                       | 2 +-
 {golang1.21 => golang1.24}/Dockerfile                               | 6 +++---
 {golang1.21 => golang1.24}/Makefile                                 | 2 +-
 {golang1.21 => golang1.24}/bin/compile                              | 0
 {golang1.21 => golang1.24}/build.gradle                             | 2 +-
 {golang1.21 => golang1.24}/lib/launcher.go                          | 0
 settings.gradle                                                     | 2 +-
 ...ctionLoopBasicGo21Tests.scala => ActionLoopBasicGo24Tests.scala} | 4 ++--
 ...pGo21ContainerTests.scala => ActionLoopGo24ContainerTests.scala} | 4 ++--
 11 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index d88c4fe..d20f24e 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -90,8 +90,8 @@ jobs:
           SHORT_COMMIT=$(git rev-parse --short "$GITHUB_SHA")
           ./gradlew :actionloop:distDocker -PdockerRegistry=docker.io 
-PdockerImagePrefix=openwhisk -PdockerImageTag=nightly
           ./gradlew :actionloop:distDocker -PdockerRegistry=docker.io 
-PdockerImagePrefix=openwhisk -PdockerImageTag=$SHORT_COMMIT
-          ./gradlew :golang1.21:distDocker -PdockerRegistry=docker.io 
-PdockerImagePrefix=openwhisk -PdockerImageTag=nightly
-          ./gradlew :golang1.21:distDocker -PdockerRegistry=docker.io 
-PdockerImagePrefix=openwhisk -PdockerImageTag=$SHORT_COMMIT
+          ./gradlew :golang1.24:distDocker -PdockerRegistry=docker.io 
-PdockerImagePrefix=openwhisk -PdockerImageTag=nightly
+          ./gradlew :golang1.24:distDocker -PdockerRegistry=docker.io 
-PdockerImagePrefix=openwhisk -PdockerImageTag=$SHORT_COMMIT
           ./gradlew :golang1.22:distDocker -PdockerRegistry=docker.io 
-PdockerImagePrefix=openwhisk -PdockerImageTag=nightly
           ./gradlew :golang1.22:distDocker -PdockerRegistry=docker.io 
-PdockerImagePrefix=openwhisk -PdockerImageTag=$SHORT_COMMIT
           ./gradlew :golang1.23:distDocker -PdockerRegistry=docker.io 
-PdockerImagePrefix=openwhisk -PdockerImageTag=nightly
diff --git a/.gitignore b/.gitignore
index daec57c..8175f2c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,7 +18,7 @@ vendor/
 common/proxy
 actionloop/proxy
 golang1.20/proxy
-golang1.21/proxy
+golang1.24/proxy
 golang1.22/proxy
 golang1.23/proxy
 
diff --git a/docs/BUILD.md b/docs/BUILD.md
index f137408..ef2ffb4 100644
--- a/docs/BUILD.md
+++ b/docs/BUILD.md
@@ -43,7 +43,7 @@ To build the docker images, after compiling go proxy:
 
 This will build the images:
 
-* `action-golang-v1.21`: an image supporting Go 1.21 sources (does expect an 
ack)
+* `action-golang-v1.24`: an image supporting Go 1.24 sources (does expect an 
ack)
 * `action-golang-v1.22`: an image supporting Go 1.22 sources (does expect an 
ack)
 * `action-golang-v1.23`: an image supporting Go 1.23 sources (does expect an 
ack)
 * `actionloop-base`: the base image, supporting generic executables ans shell 
script (does not expect an ack)
diff --git a/golang1.21/Dockerfile b/golang1.24/Dockerfile
similarity index 92%
rename from golang1.21/Dockerfile
rename to golang1.24/Dockerfile
index ff3b8e1..189dc1e 100644
--- a/golang1.21/Dockerfile
+++ b/golang1.24/Dockerfile
@@ -15,8 +15,8 @@
 # limitations under the License.
 #
 
-# Do not fix the patch level for golang:1.21 to automatically get security 
fixes.
-FROM golang:1.21-bookworm
+# Do not fix the patch level for golang:1.24 to automatically get security 
fixes.
+FROM golang:1.24-bookworm
 
 RUN echo 'debconf debconf/frontend select Noninteractive' | 
debconf-set-selections &&\
     apt-get update &&\
@@ -48,5 +48,5 @@ ADD lib/launcher.go /lib/launcher.go
 ENV OW_COMPILER=/bin/compile
 ENV OW_LOG_INIT_ERROR=1
 ENV OW_WAIT_FOR_ACK=1
-ENV OW_EXECUTION_ENV=openwhisk/action-golang-v1.21
+ENV OW_EXECUTION_ENV=openwhisk/action-golang-v1.24
 ENTRYPOINT [ "/bin/proxy" ]
diff --git a/golang1.21/Makefile b/golang1.24/Makefile
similarity index 98%
rename from golang1.21/Makefile
rename to golang1.24/Makefile
index 2e51f8c..d9b2f45 100644
--- a/golang1.21/Makefile
+++ b/golang1.24/Makefile
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-IMG=action-golang-v1.21
+IMG=action-golang-v1.24
 
 build:
        ../gradlew distDocker
diff --git a/golang1.21/bin/compile b/golang1.24/bin/compile
similarity index 100%
rename from golang1.21/bin/compile
rename to golang1.24/bin/compile
diff --git a/golang1.21/build.gradle b/golang1.24/build.gradle
similarity index 96%
rename from golang1.21/build.gradle
rename to golang1.24/build.gradle
index 626537f..2092879 100644
--- a/golang1.21/build.gradle
+++ b/golang1.24/build.gradle
@@ -15,7 +15,7 @@
  * limitations under the License.
  */
 
-ext.dockerImageName = 'action-golang-v1.21'
+ext.dockerImageName = 'action-golang-v1.24'
 apply from: '../gradle/docker.gradle'
 
 distDocker.dependsOn 'staticBuildProxy'
diff --git a/golang1.21/lib/launcher.go b/golang1.24/lib/launcher.go
similarity index 100%
rename from golang1.21/lib/launcher.go
rename to golang1.24/lib/launcher.go
diff --git a/settings.gradle b/settings.gradle
index fa5cd8e..d6cf415 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -18,9 +18,9 @@
 include 'tests'
 
 include 'actionloop'
-include 'golang1.21'
 include 'golang1.22'
 include 'golang1.23'
+include 'golang1.24'
 
 rootProject.name = 'runtime-golang'
 
diff --git 
a/tests/src/test/scala/runtime/actionContainers/ActionLoopBasicGo21Tests.scala 
b/tests/src/test/scala/runtime/actionContainers/ActionLoopBasicGo24Tests.scala
similarity index 92%
rename from 
tests/src/test/scala/runtime/actionContainers/ActionLoopBasicGo21Tests.scala
rename to 
tests/src/test/scala/runtime/actionContainers/ActionLoopBasicGo24Tests.scala
index ede38b3..cf04467 100644
--- 
a/tests/src/test/scala/runtime/actionContainers/ActionLoopBasicGo21Tests.scala
+++ 
b/tests/src/test/scala/runtime/actionContainers/ActionLoopBasicGo24Tests.scala
@@ -21,11 +21,11 @@ import org.junit.runner.RunWith
 import org.scalatest.junit.JUnitRunner
 
 @RunWith(classOf[JUnitRunner])
-class ActionLoopBasicGo21Tests
+class ActionLoopBasicGo24Tests
     extends ActionLoopBasicGoTests
     with WskActorSystem {
 
-  override lazy val goCompiler = "action-golang-v1.21"
+  override lazy val goCompiler = "action-golang-v1.24"
   override lazy val image = goCompiler
   override lazy val requireAck = true
 }
diff --git 
a/tests/src/test/scala/runtime/actionContainers/ActionLoopGo21ContainerTests.scala
 
b/tests/src/test/scala/runtime/actionContainers/ActionLoopGo24ContainerTests.scala
similarity index 92%
rename from 
tests/src/test/scala/runtime/actionContainers/ActionLoopGo21ContainerTests.scala
rename to 
tests/src/test/scala/runtime/actionContainers/ActionLoopGo24ContainerTests.scala
index bbad7aa..8d95aa3 100644
--- 
a/tests/src/test/scala/runtime/actionContainers/ActionLoopGo21ContainerTests.scala
+++ 
b/tests/src/test/scala/runtime/actionContainers/ActionLoopGo24ContainerTests.scala
@@ -21,11 +21,11 @@ import common.WskActorSystem
 import org.junit.runner.RunWith
 import org.scalatest.junit.JUnitRunner
 @RunWith(classOf[JUnitRunner])
-class ActionLoopGo21ContainerTests
+class ActionLoopGo24ContainerTests
     extends ActionLoopGoContainerTests
     with WskActorSystem {
 
-  override lazy val goCompiler = "action-golang-v1.21"
+  override lazy val goCompiler = "action-golang-v1.24"
   override lazy val image = goCompiler
 
 }

Reply via email to