Skip to content

Commit 3c5f499

Browse files
committed
Move from docker.unidata.ucar.edu to docker.io
Migrate from Unidata artifacts server to dockerhub for hosting jenkins test image.
1 parent 1b056fe commit 3c5f499

3 files changed

Lines changed: 30 additions & 28 deletions

File tree

README.md

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ A packer + ansible project to build Docker images for use by the various THREDDS
44
The Docker images are used as the basis for Jenkins build nodes as well as a custom GitHub action for testing the various THREDDS projects.
55
The image is based off the latest available image for `ubuntu 24.04`.
66
The docker images produced by packer are called "thredds-test-environment" (for use by Jenkins) of `thredds-test-action` (for use by the GitHub action).
7+
The image used by Jenkins is hosted on the Docker Hub Container Registry, while the image used by the GitHub action is hosted on the GitHub Container Registry.
78

89
## Requirementsco
910

@@ -13,6 +14,7 @@ The docker images produced by packer are called "thredds-test-environment" (for
1314
If this is your first time running the build, you will need to initialize packer using:
1415

1516
~~~
17+
cd packer/
1618
packer init .
1719
~~~
1820

@@ -36,7 +38,7 @@ packer build --only=<type> thredds-test-env.pkr.hcl
3638
~~~
3739

3840
`<type>` will one or more (separated by commas) of the following:
39-
* `docker.docker-jenkins`: Provision a Docker container and generate and tag a local Docker image (`docker.unidata.ucar.edu/thredds-test-environment:20.04`).
41+
* `docker.docker-jenkins`: Provision a Docker container and generate and tag a local Docker image (`docker.io/unidata/thredds-test-environment:20.04`).
4042
* `docker.docker-github-action`: Provision a Docker container for use with GitHub Actions and tag a local docker image (`ghcr.io/unidata/thredds-test-action:v3`).
4143
* `docker.docker-export`: Provision a Docker container and generate a local Docker image as a file (`image.tar`).
4244

@@ -52,18 +54,18 @@ Packer will run the builders in parallel, so the total time to create the `thred
5254
If using `docker-jenkins`, then once the image is built you can test out the environment by using:
5355

5456
~~~bash
55-
docker run -i -t --rm docker.unidata.ucar.edu/thredds-test-environment:24.04
57+
docker run -i -t --rm docker.io/unidata/thredds-test-environment:24.04
5658
~~~
5759

5860
These images are built using the multiplatform feature of Docker, and only `linux/amd64` images are produced.
5961
If you are on a `arm64` based mac, you will need to run:
6062

6163
~~~bash
62-
DOCKER_DEFAULT_PLATFORM=linux/amd64 docker run -i -t --rm docker.unidata.ucar.edu/thredds-test-environment:24.04
64+
DOCKER_DEFAULT_PLATFORM=linux/amd64 docker run -i -t --rm docker.io/unidata/thredds-test-environment:24.04
6365
~~~
6466

6567
Note that images are not pushed as part of this build process.
66-
Pushes can be done via the normal docker mechanisms, e.g. `docker image push docker.unidata.ucar.edu/thredds-test-environment:24.04` and `docker image push ghcr.io/unidata/thredds-test-action:v3`.
68+
Pushes can be done via the normal docker mechanisms, e.g. `docker image push docker.io/unidata/thredds-test-environment:24.04` and `docker image push ghcr.io/unidata/thredds-test-action:v3`.
6769

6870
## Project layout
6971

@@ -117,7 +119,7 @@ We use the following roles when provisioning our images:
117119

118120
### maven:
119121
* location: `/usr/thredds-test-environment/mvn`
120-
* version: `3.9.11`
122+
* version: `3.9.12`
121123

122124
### Java:
123125
* Temurin (latest version available from adoptium.net)
@@ -158,26 +160,26 @@ We use the following roles when provisioning our images:
158160
### Docker Image
159161

160162
~~~
161-
==> docker.docker-jenkins: Friday 07 November 2025 17:55:18 +0000 (0:00:04.331) 0:31:12.711 *******
163+
==> docker.docker-jenkins: Friday 16 January 2026 18:01:32 +0000 (0:00:04.517) 0:36:28.962 ********
162164
==> docker.docker-jenkins: ===============================================================================
163-
==> docker.docker-jenkins: libnetcdf-and-deps : Build hdf5. -------------------------------------- 476.56s
164-
==> docker.docker-jenkins: libnetcdf-and-deps : Configure netCDF-c. ------------------------------ 282.40s
165-
==> docker.docker-jenkins: zulu : Unpack Zulu Java Installations. -------------------------------- 147.87s
166-
==> docker.docker-jenkins: libnetcdf-and-deps : Configure hdf5. ---------------------------------- 114.45s
167-
==> docker.docker-jenkins: general-packages : Install os managed tools. --------------------------- 89.42s
168-
==> docker.docker-jenkins: libnetcdf-and-deps : Install netCDF-c. --------------------------------- 84.87s
169-
==> docker.docker-jenkins: temurin : Unpack Temurin Java Installations. --------------------------- 83.25s
170-
==> docker.docker-jenkins: corretto : Unpack Corretto Java Installations. ------------------------- 78.14s
171-
==> docker.docker-jenkins: general-packages : Install os managed tools. --------------------------- 77.62s
172-
==> docker.docker-jenkins: general-packages : Install os managed tools. --------------------------- 73.39s
173-
==> docker.docker-jenkins: zulu : Fetch latest Zulu Java builds. ---------------------------------- 66.15s
174-
==> docker.docker-jenkins: temurin : Fetch latest Temurin Java builds. ---------------------------- 44.46s
175-
==> docker.docker-jenkins: corretto : Fetch latest Corretto Java builds. -------------------------- 35.95s
176-
==> docker.docker-jenkins: cleanup : Remove packages that are not needed in final environment. ---- 20.74s
177-
==> docker.docker-jenkins: libnetcdf-and-deps : Build zlib. --------------------------------------- 16.93s
178-
==> docker.docker-jenkins: zulu : Create installation directories, if they do not exist. ---------- 13.91s
179-
==> docker.docker-jenkins: security : Update SSH configuration to be more secure. ----------------- 12.18s
180-
==> docker.docker-jenkins: temurin : Read versions of installed Temurin. -------------------------- 11.46s
181-
==> docker.docker-jenkins: libnetcdf-and-deps : Download and unpack hdf5. ------------------------- 10.38s
182-
==> docker.docker-jenkins: corretto : Read versions of installed Corretto. ------------------------- 9.21s
165+
==> docker.docker-jenkins: libnetcdf-and-deps : Build hdf5. -------------------------------------- 515.87s
166+
==> docker.docker-jenkins: libnetcdf-and-deps : Configure netCDF-c. ------------------------------ 335.99s
167+
==> docker.docker-jenkins: libnetcdf-and-deps : Configure hdf5. ---------------------------------- 137.53s
168+
==> docker.docker-jenkins: zulu : Unpack Zulu Java Installations. -------------------------------- 124.16s
169+
==> docker.docker-jenkins: temurin : Unpack Temurin Java Installations. -------------------------- 105.51s
170+
==> docker.docker-jenkins: general-packages : Install os managed tools. -------------------------- 103.75s
171+
==> docker.docker-jenkins: zulu : Fetch latest Zulu Java builds. --------------------------------- 101.93s
172+
==> docker.docker-jenkins: general-packages : Install os managed tools. --------------------------- 94.28s
173+
==> docker.docker-jenkins: general-packages : Install os managed tools. --------------------------- 92.05s
174+
==> docker.docker-jenkins: libnetcdf-and-deps : Install netCDF-c. --------------------------------- 84.06s
175+
==> docker.docker-jenkins: corretto : Unpack Corretto Java Installations. ------------------------- 82.41s
176+
==> docker.docker-jenkins: corretto : Fetch latest Corretto Java builds. -------------------------- 80.92s
177+
==> docker.docker-jenkins: temurin : Fetch latest Temurin Java builds. ---------------------------- 78.66s
178+
==> docker.docker-jenkins: cleanup : Remove packages that are not needed in final environment. ---- 22.15s
179+
==> docker.docker-jenkins: libnetcdf-and-deps : Build zlib. --------------------------------------- 19.05s
180+
==> docker.docker-jenkins: security : Update SSH configuration to be more secure. ----------------- 18.30s
181+
==> docker.docker-jenkins: libnetcdf-and-deps : Download and unpack netcdf-c. --------------------- 15.70s
182+
==> docker.docker-jenkins: temurin : Read versions of installed Temurin. -------------------------- 13.40s
183+
==> docker.docker-jenkins: libnetcdf-and-deps : Download and unpack hdf5. ------------------------- 12.02s
184+
==> docker.docker-jenkins: corretto : Read versions of installed Corretto. ------------------------ 10.55s
183185
~~~
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
22
mvn_install_dir: "{{ install_dir }}/mvn"
3-
maven_version: 3.9.11
3+
maven_version: 3.9.12

packer/thredds-test-env.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ build {
111111

112112
post-processor "docker-tag" {
113113
only = ["docker.docker-jenkins"]
114-
repository = "docker.unidata.ucar.edu/thredds-test-environment"
114+
repository = "docker.io/unidata/thredds-test-environment"
115115
tags = ["24.04",]
116116
}
117117
post-processor "docker-tag" {

0 commit comments

Comments
 (0)