-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jenni Nikolaenko <[email protected]>
- Loading branch information
1 parent
9577668
commit 46bf722
Showing
13 changed files
with
143 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<!-- | ||
Copyright 2022-2024 TII (SSRC) and the Ghaf contributors | ||
SPDX-License-Identifier: CC-BY-SA-4.0 | ||
--> | ||
|
||
# Continuous Integration and Distribution | ||
|
||
Ghaf Framework uses a CI/CD (Continuous Integration and Continuous Delivery) approach that aims to automate the process of building, testing, and deploying software. | ||
|
||
Our goal is to have the ability to deploy code quickly and safely: once a build is deployed, the next build undergoes testing, while the latest build is being coded. | ||
|
||
> Currently, Continuous Deployment is not set up. | ||
|
||
## General Process | ||
|
||
![CI/CD Architecture](../img/CICD_general.drawio.png "Ghaf CI/CD Architecture") | ||
|
||
The software delivery pipeline consists of several stages: | ||
|
||
1. Contributors make changes in the code and create a pull/merge request to merge changes from one personal fork or branch into the upstream repository/branch. | ||
|
||
2. Builder Controller checks source code repositories for changes and fetches them. | ||
|
||
3. Builder Controller arranges builds on Remote Builders to make disk images and other release artifacts. | ||
|
||
4. After the building is done, Remote Builder sends disk images to Builder Controller to create provenance files and sign disk images and provenance files. | ||
|
||
5. On build failure, Builder Controller sends failure notifications to Message Service. | ||
|
||
6. Builder Controller uploads all build artifacts to Binary Cache and disk images to Web Server. | ||
|
||
7. Test Automation fetches disk images from Binary Cache and runs the hardware test on them. | ||
|
||
8. Test Automation uploads test reports to Web Server. | ||
|
||
9. Users can download images from Web Server: | ||
|
||
* release images <https://vedenemo.dev/files/releases/> | ||
* images for testing <https://vedenemo.dev/files/build_reports/>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.