Skip to content

chore(perl,tensorflow-serving): pin base images and modernize builds#444

Merged
sanketsudake merged 2 commits into
masterfrom
perl-tf-updates
Jun 6, 2026
Merged

chore(perl,tensorflow-serving): pin base images and modernize builds#444
sanketsudake merged 2 commits into
masterfrom
perl-tf-updates

Conversation

@sanketsudake
Copy link
Copy Markdown
Member

What

Final PR of the dependency-update series (#436#443).

perl

  • FROM perl:latestperl:5.42 — the env was unpinned and unreproducible
  • envconfig.json: runtimeVersion 5.42, version 1.31.1 → 1.32.0

tensorflow-serving

  • FROM tensorflow/serving (unpinned latest) → tensorflow/serving:2.20.0. Upstream publishes amd64 only, so the Makefile target now carries PLATFORMS=linux/amd64 (dry-run verified the release flow produces a valid amd64-only push).
  • GO_VERSION 1.13 (EOL Aug 2021) → 1.26 with the required go-modules migration: the Dockerfile used a pre-modules GOPATH layout and bare go get, which modern Go refuses. Now go mod init && go mod tidy && go build (resolves pkg/errors + zap from server.go's imports).
  • envconfig.json: runtimeVersion latest → 2.20.0, version1.32.0

CI

environments.json regenerated.

Verification (local)

  • ✅ perl image builds; container boots, Dancer2 routes respond on perl 5.42.2 (expected unspecialized 500, /specialize route active)
  • ✅ tensorflow image builds for linux/amd64 (go modules migration resolves cleanly)
  • make -n confirms the target-specific PLATFORMS override composes with the release workflow

🤖 Generated with Claude Code

perl:
- Pin perl:latest -> perl:5.42 (reproducible builds);
  envconfig runtimeVersion 5.42, version 1.32.0

tensorflow-serving:
- Pin unpinned tensorflow/serving -> tensorflow/serving:2.20.0
  (latest stable); upstream publishes amd64 only, so the Makefile
  target restricts PLATFORMS to linux/amd64
- GO_VERSION 1.13 (EOL 2021) -> 1.26 with go-modules migration: the
  Dockerfile used a pre-modules GOPATH layout and bare `go get`,
  which modern Go refuses; now go mod init/tidy/build (resolves
  pkg/errors + zap)
- envconfig runtimeVersion 2.20.0, version 1.32.0

CI: perl and tensorflow jobs drop hiberbee/github-action-skaffold
(pins skaffold 2.3.1, which cannot parse our skaffold/v4beta13
config) in favour of make skaffold-run, same as #442/#443.

environments.json regenerated.

Verified locally: perl image builds and boots (Dancer2 routes respond
on perl 5.42.2); tensorflow image builds for linux/amd64 with the
modules migration; make dry-run confirms the PLATFORMS override
produces a valid amd64-only push for the release flow.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
sanketsudake added a commit that referenced this pull request Jun 6, 2026
Same fix as #442/#443/#444: hiberbee/github-action-skaffold pins
skaffold 2.3.1, which cannot parse the repo's skaffold/v4beta13
config. Needed here so the perl job can validate the kind-action
hotfix end to end (identical hunk to #444, merges cleanly).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
sanketsudake added a commit that referenced this pull request Jun 6, 2026
* ci: fix broken setup-kind action with helm/kind-action

engineerd/setup-kind v0.6.2 fails with 'File not found:
dist/main/index.js' (the tagged commit does not ship the compiled
action), breaking the setup-cluster step for every env job. Switch to
the maintained helm/kind-action v1.14.0 with cluster_name kind so the
kind-kind kubectl context and `kind load docker-image` defaults keep
working.

Also make collect-fission-dump best effort: a missing fission CLI
(setup failed before installing it) or empty dump no longer masks the
original job failure.

The broken bump in #436 went unnoticed because that PR touched no env
directories, so no job exercised setup-cluster pre-merge; this PR
includes a perl README link fix so the perl job validates the action
end to end.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* ci(perl): run skaffold via make instead of the stale skaffold action

Same fix as #442/#443/#444: hiberbee/github-action-skaffold pins
skaffold 2.3.1, which cannot parse the repo's skaffold/v4beta13
config. Needed here so the perl job can validate the kind-action
hotfix end to end (identical hunk to #444, merges cleanly).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@sanketsudake sanketsudake merged commit 90c8b14 into master Jun 6, 2026
15 checks passed
@sanketsudake sanketsudake deleted the perl-tf-updates branch June 6, 2026 16:34
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.

1 participant