a set of Dockerfiles defining docker containers for HEP software and appliances.
BSD 3-Clause "New" or "Revised" License
17
stars
13
forks
source link
travis: add a travis-ci entry point for uploading to hepsw docker hub #26
Open
kreczko opened 7 years ago
This issue comes in two steps. Firstly, it is important to change the current travis setup to a build-matrix, e.g. add
This allows fine-grained testing on a per-image basis.
The second part is to define what will happen after a successful build:
The mentioned docker details for https://hub.docker.com/u/hepsw/ need to be added in an encrypted form as shown in https://sebest.github.io/post/using-travis-ci-to-build-docker-images/. The downside is that the upload will not work for PRs from forks but only for tagged or master builds (i.e. after the merge).
Travis also recommends to create two sets of scripts as secrets won't be available to PRs from forks:
This means all the above would come together as
with
./travis/no_upload
and
./travis/upload_stuff