Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Add OS image release workflow #717

Merged
merged 2 commits into from
Nov 4, 2020

Conversation

darkowlzz
Copy link
Contributor

This workflow can be used to build all the OS images in parallel and
publish them together.

Duplicate configurations due to lack of YAML anchors support in github actions, refer: https://github.saobby.my.eu.orgmunity/t/support-for-yaml-anchors/16128/39

@darkowlzz darkowlzz force-pushed the os-image-release-action branch 2 times, most recently from 8585f87 to 495c6d8 Compare October 19, 2020 19:09
@darkowlzz darkowlzz marked this pull request as ready for review October 19, 2020 19:10
@darkowlzz
Copy link
Contributor Author

darkowlzz commented Oct 19, 2020

Ran this on my fork:

Screen Shot 2020-10-20 at 12 30 24 AM

All the ubuntu images (18.04 and 20.04) in the same job took ~9 minutes:

Screen Shot 2020-10-20 at 12 39 47 AM

The whole thing took ~10 minutes:

Screen Shot 2020-10-20 at 12 42 47 AM

Manually verified that the manifest lists are updated properly:

$ docker manifest inspect ghcr.io/darkowlzz/ignite-ubuntu:18.04
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1777,
         "digest": "sha256:88417a2968be3fa36cc4d57405a07f9d0e714f2899fa792a675908e976db9ad5",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 1988,
         "digest": "sha256:616646f6463b92eb83adbd9006677b2d2bba609c81fdaa04d4541948d35fed51",
         "platform": {
            "architecture": "arm64",
            "os": "linux"
         }
      }
   ]
}
...
$ docker manifest inspect ghcr.io/darkowlzz/ignite-kubeadm:v1.18.3
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 2823,
         "digest": "sha256:c46bbc6ecc2a9b20b06433cc7d1cbc6197cdfe80fc9a7744e80b23ba0e1e2cea",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 2823,
         "digest": "sha256:8ed6ff5bb11061cb20c3d2197eb943dc745eca55e44fdacbd392035721970f84",
         "platform": {
            "architecture": "arm64",
            "os": "linux"
         }
      }
   ]
}

@darkowlzz darkowlzz added the area/releasing Issues related to the release machinery label Oct 24, 2020
darkowlzz and others added 2 commits November 4, 2020 11:41
This workflow can be used to build all the OS images in parallel and
publish them together.
@stealthybox stealthybox merged commit d6220a8 into weaveworks:master Nov 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/releasing Issues related to the release machinery
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants