Skip to content

Commit

Permalink
expands platform lifecycle tutorial (#769)
Browse files Browse the repository at this point in the history
* expands platform lifecycle tutorial

Signed-off-by: Hanan Younes <hanan.algazaley@gmail.com>

* adds detect section & updates few links

Signed-off-by: Hanan Younes <hanan.algazaley@gmail.com>

* Fix recursive copy of samples

Make the recursive copy of samples work
correctly in the expected tutorial directory
structure.

Co-authored-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Aidan Delaney <aidan.delaney@gmail.com>

---------

Signed-off-by: Hanan Younes <hanan.algazaley@gmail.com>
Signed-off-by: Aidan Delaney <aidan.delaney@gmail.com>
Co-authored-by: Aidan Delaney <aidan.delaney@gmail.com>
Co-authored-by: Natalie Arellano <narellano@vmware.com>
Co-authored-by: Aidan Delaney <adelaney21@bloomberg.net>
  • Loading branch information
4 people authored Oct 22, 2024
1 parent 8f1d3bc commit 7eeca60
Show file tree
Hide file tree
Showing 2 changed files with 440 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This information is used during the `export` phase in order to avoid re-uploadin
Starting from `Platform API 0.7`, the `analyze` phase runs before the `detect` phase in order to validate registry access for all images that are used during the `build` as early as possible. In this way it provides faster failures for end users. The other responsibilities of the `analyzer` were moved to the `restorer`.\
For more information, please see [this migration guide][platform-api-06-07-migration].

The `lifecycle` should attempt to locate a reference to the latest `OCI image` from a previous build that is readable and was created by the `lifecycle` using the same application source code. If no such reference is found, the `analysis` is skipped.\
The `lifecycle` should attempt to locate a reference to the latest `OCI image` from a previous build that is readable and was created by the `lifecycle` using the same application source code. If no such reference is found, the `analysis` is skipped.

The `lifecycle` must write [analysis metadata][analyzedtoml-toml] to `<analyzed>`, where:

Expand Down
Loading

0 comments on commit 7eeca60

Please sign in to comment.