Skip to content

Changes

Summary

  1. common/ttcn3-docker-run.sh: add TEST_NAME env var (details)
  2. debian-bookworm-erlang: use debian's rebar3 (details)
Commit ba1385fe60755099caff591adadf66bce27946a8 by Oliver Smith
common/ttcn3-docker-run.sh: add TEST_NAME env var

Make it possible to run only one test by setting an environment
variable.

Change-Id: I1f45a05e089b429918096fcd64f7c02033d5a9dd
The file was modified README.md
The file was modified common/ttcn3-docker-run.sh
Commit 01c04193f79a67bf07fafe1698540a8e8830691f by Oliver Smith
debian-bookworm-erlang: use debian's rebar3

Use debian's version of rebar3 instead of downloading a binary. This
was useful when the container was based on debian 11 where rebar3
wasn't in debian's repositories. Debian 12 has version 3.19.0.

This also solves a caching problem on one of the jenkins nodes, which
currently fails at this line:
  ADD  https://github.com/erlang/rebar3/archive/refs/tags/${REBAR3_VERSION}.tar.gz /tmp/rebar3.tar.gz
with:
  ERROR: failed to solve: failed to load cache key: invalid not-modified ETag: "fce57989250a021a2be5fe5eddd655d6d415eef04f769bf1437f3d6dddfa5559"

My understanding is that docker has cached an ETag that is no longer
valid / maybe the format changed - and instead of simply requesting the
file again, it just fails there.

Related: https://en.wikipedia.org/wiki/HTTP_ETag
Change-Id: I69e02d004a0bd6f9d3a462f4e184b3e9361cc7fe
The file was modified debian-bookworm-erlang/Dockerfile