Make Docker images generated by GitHub CI workflows available; minor CI fixes
mkoeppe opened this issue · 42 comments
They are already tagged with meaningful names and just need to be pushed to a registry.
Now we push them to the registry provided by GitHub.
Example: https://github.com/mkoeppe/sage/runs/604103405 created https://github.com/mkoeppe/sage/packages/193111
Depends on #29341
Depends on #29534
CC: @kliem @vbraun @dimpase @embray @saraedum @slel
Component: porting
Keywords: ci, ContinuousIntegration
Author: Matthias Koeppe
Branch/Commit: 163562d
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/29530
Changed keywords from none to ci
Description changed:
---
+++
@@ -1,3 +1,7 @@
+They are already tagged with meaningful names and just need to be pushed to a registry.
+
+Also the CI workflows should be run `on: push: tags:` (https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestbranchestags), not just `on: pull_requests`
+
https://www.docker.com/blog/first-docker-github-action-is-here/
https://github.com/actions/starter-workflows/blob/master/ci/docker-publish.ymlwill it be possible to pull an image for letting cal inspection and debugging? cool.
(currently building a fedora 28 image locally...)
Changed keywords from ci to ci, ContinuousIntegration
Description changed:
---
+++
@@ -1,6 +1,6 @@
They are already tagged with meaningful names and just need to be pushed to a registry.
-Also the CI workflows should be run `on: push: tags:` (https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestbranchestags), not just `on: pull_requests`
+Also the CI workflows should be run `on: push: tags:` (https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestbranchestags), not just `on: pull_requests`; that's #29534.
https://www.docker.com/blog/first-docker-github-action-is-here/
Replying to @dimpase:
will it be possible to pull an image for ... inspection and debugging?
Yes, that's the idea
Commit: d6b64ba
Description changed:
---
+++
@@ -1,9 +1,4 @@
-They are already tagged with meaningful names and just need to be pushed to a registry.
+They are already tagged with meaningful names and just need to be pushed to a registry.
-Also the CI workflows should be run `on: push: tags:` (https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestbranchestags), not just `on: pull_requests`; that's #29534.
-
-https://www.docker.com/blog/first-docker-github-action-is-here/
-
-https://github.com/actions/starter-workflows/blob/master/ci/docker-publish.yml
-
-
+Now we push them to the registry provided by [GitHub](../wiki/GitHub).
+Example: https://github.com/mkoeppe/sage/runs/604103405 created https://github.com/mkoeppe/sage/packages/193111Author: Matthias Koeppe
Branch pushed to git repo; I updated commit sha1. New commits:
06a9c39 | fixup doc |
Branch pushed to git repo; I updated commit sha1. New commits:
02f86f6 | tox*.yml: First try secrets.DOCKER_PKG_GITHUB_TOKEN, then secrets.GITHUB_TOKEN; ignore errors |
Branch pushed to git repo; I updated commit sha1. New commits:
00a82b0 | Merge tag '9.1.rc1' into t/29530/make_docker_images_generated_by_github_ci_workflows_available |
807c2bd | Fix spelling of --downloadonly |
bd687c9 | Merge branch 't/29403/ci_cygwin_yml__multi_stage_build' into t/29341/optional-test-9.1.rc0 |
784abe8 | ci-cygwin.yml: SAGE_FAT_BINARY=yes |
eeadb9d | .github/workflows/ci-cygwin.yml: Test more optional packages |
316c5f6 | Fixup |
37c2186 | Merge branch 't/29341/optional-test-9.1.rc0' into t/29530/make_docker_images_generated_by_github_ci_workflows_available |
Branch pushed to git repo; I updated commit sha1. New commits:
652787b | .github/workflows/tox*.yml: Make copying logs from containers more robust |
copying logs needs more work, e.g. https://github.com/mkoeppe/sage/runs/612694530?check_suite_focus=true displays no logs
Branch pushed to git repo; I updated commit sha1. New commits:
2b9f531 | local-{conda,homebrew}-maximal: Take packages from -standard |
Branch pushed to git repo; I updated commit sha1. New commits:
88b5aa6 | tox.ini: Commit a failed build container so that logs are copied from it |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
f8c6e7a | tox.ini: Commit a failed build container so that logs are copied from it |
Branch pushed to git repo; I updated commit sha1. New commits:
27c63f1 | Improve docker login instructions |
Branch pushed to git repo; I updated commit sha1. New commits:
dbf461d | Merge tag '9.1.rc2' into t/29530/make_docker_images_generated_by_github_ci_workflows_available |
Branch pushed to git repo; I updated commit sha1. New commits:
163562d | Rename cygwin workflows |
OK, this looks nice now. I have tested just one docker image, but I trust this should be fine in general.
Reviewer: Dima Pasechnik
Thank you!
Changed branch from u/mkoeppe/make_docker_images_generated_by_github_ci_workflows_available to 163562d