mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-11 12:21:44 +01:00
ci-automation/README.md: pkg publish, bin cache added
Signed-off-by: Thilo Fromm <thilo@kinvolk.io>
This commit is contained in:
parent
7d76cfedf7
commit
0ecd0be77a
@ -23,23 +23,23 @@ The build pipeline can be used to build everything from scratch, including the S
|
|||||||
The resulting image will come in "amd64", "arm64", and "all" flavours, with support for respective OS target architectures. This step builds the Flatcar SDK container images published at ghcr.io/flatcar-linux.
|
The resulting image will come in "amd64", "arm64", and "all" flavours, with support for respective OS target architectures. This step builds the Flatcar SDK container images published at ghcr.io/flatcar-linux.
|
||||||
|
|
||||||
```
|
```
|
||||||
.---------. .------------.
|
.---------. .------------. .--------.
|
||||||
| scripts | | CI |
|
| scripts | | CI | | Build |
|
||||||
| repo | | automation |
|
| repo | | automation | | cache |
|
||||||
`---------´ `------------´
|
`---------´ `------------´ `--------´
|
||||||
| |
|
| | |
|
||||||
| "alpha-3449.0.0-dev23"
|
| "alpha-3449.0.0-dev23" |
|
||||||
| |
|
| | |
|
||||||
| _______v_______
|
| _______v_______ |
|
||||||
+------- clone -----> ( SDK bootstrap )
|
+------- clone -----> ( SDK bootstrap ) |
|
||||||
| `-------------´
|
| `-------------´ |
|
||||||
|<- tag: sdk-3499.0.0-dev23 -´|
|
|<- tag: sdk-3499.0.0-dev23 -´|`--- sdk tarball --->|
|
||||||
| |
|
| | |
|
||||||
| _______v_______
|
| _______v_______ |
|
||||||
+-- clone -> ( SDK container )
|
+-- clone -> ( SDK container ) |
|
||||||
| sdk-3499.0.0-dev23 `-------------´
|
| sdk-3499.0.0-dev23 `-------------´ |
|
||||||
| |
|
| |`- sdk container --->|
|
||||||
v v
|
v v image
|
||||||
continue to OS
|
continue to OS
|
||||||
image build
|
image build
|
||||||
|
|
|
|
||||||
@ -51,27 +51,34 @@ The build pipeline can be used to build everything from scratch, including the S
|
|||||||
3. Packages build (`packages.sh`): using the SDK container version recorded in the versionfile, build OS image packages and generate a new container image (containing both SDK and packages).
|
3. Packages build (`packages.sh`): using the SDK container version recorded in the versionfile, build OS image packages and generate a new container image (containing both SDK and packages).
|
||||||
This step updates the versionfile, recording the Flatcar OS image version just built.
|
This step updates the versionfile, recording the Flatcar OS image version just built.
|
||||||
It will generate and push a new version tag to the scripts repo.
|
It will generate and push a new version tag to the scripts repo.
|
||||||
4. Image build (`image.sh`): Using the container from 3., build an OS image and torcx store, and generate a new container image with everything in it.
|
4. Packages are published and the generic OS image is built.
|
||||||
|
1. Binary packages are published (`push_pkgs.sh`) to the build cache, making them available to developers who base their work on the main branch.
|
||||||
|
2. Image build (`image.sh`): Using the container from 3., build an OS image and torcx store, and generate a new container image with everything in it.
|
||||||
5. VMs build (`vms.sh`). Using the packages+torcx+image container from 4., build vendor images. Results are vendor-specific OS images.
|
5. VMs build (`vms.sh`). Using the packages+torcx+image container from 4., build vendor images. Results are vendor-specific OS images.
|
||||||
|
|
||||||
```
|
```
|
||||||
.---------. .------------.
|
.---------. .------------. .--------.
|
||||||
| scripts | | CI |
|
| scripts | | CI | | Build |
|
||||||
| repo | | automation |
|
| repo | | automation | | cache |
|
||||||
`---------´ `------------´
|
`---------´ `------------´ `--------´
|
||||||
| |
|
| | |
|
||||||
| "alpha-3449.0.0-dev23"
|
| "alpha-3449.0.0-dev23" |
|
||||||
| |
|
| | |
|
||||||
| ____v_____
|
| ____v_____ |
|
||||||
+---------- clone --------> ( packages )
|
+---------- clone --------> ( packages ) |
|
||||||
| `--------´
|
| `--------´ |
|
||||||
|<-- tag: alpha-3499.0.0-dev23 --´|
|
|<-- tag: alpha-3499.0.0-dev23 --´|`- sdk + OS packages -->|
|
||||||
| |
|
| | container image |
|
||||||
| ___v___
|
| ______v_______ |
|
||||||
+----- clone ---> ( image )
|
| ( publish pkgs ) |
|
||||||
| alpha-3499.0.0-dev23 `-----´
|
| `------------´ |
|
||||||
| |
|
| |`-- binary packages --->|
|
||||||
| __v__
|
| ___v__ |
|
||||||
+----- clone ---> ( vms )
|
+----- clone ---> ( image ) |
|
||||||
alpha-3499.0.0-dev23 `---´
|
| alpha-3499.0.0-dev23 `-----´ |
|
||||||
|
| |`-- sdk + packages + -->|
|
||||||
|
| __v__ OS image cnt img |
|
||||||
|
+----- clone ---> ( vms ) |
|
||||||
|
alpha-3499.0.0-dev23 `---´ |
|
||||||
|
`- vendor OS images ---->|
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user