diff --git a/work/gitea-4.html b/work/gitea-4.html new file mode 100644 index 000000000..6b77c866d --- /dev/null +++ b/work/gitea-4.html @@ -0,0 +1,39 @@ + + + + Zk | gitea-4 + + + + + +
+
+

Zk | gitea-4

+
+
+

How To Set Up CI/CD with Drone CI and Gitea

+

In the process of developing and releasing software, one of the most useful tools at a developer’s disposal is a solution that performs continuous integration and continuous deployment, or CI/CD.

+

Continuous integration (CI) refers to the practice of multiple developers merging their changes to a codebase back into the main branch often, perhaps daily or even more frequently, relying on smaller chunks of work that are more easily reviewed to and tested during the process of development. In order to ensure that these changes don’t leave the main branch in a broken state, a tool that helps with continuous integration will often include functionality that runs test suites within the software package. When a developer proposes a merge of their work back into the main branch, the tests will run automatically and report back whether or not they pass, which may mean that the code is not ready to land.

+

Continuous deployment or continuous delibery (CD) refers to the idea that changes to code — whether they’re security patches, bug fixes, or new features — be released quickly and seamlessly to the end users of the application. In the case of applications that the user runs, this will mean a frequent release schedule, offering incremental improvements to the software they are using. In the case of a service such as a website, this will mean frequent deployments of the new features in the code to the site so that the user’s experience is continuously improving.

+

There are several tools that can help with CI/CD. These run as their own web services, which work with many source code management (SCM) systems to perform these tasks automatically. Drone is one such solution, that provides a way of executing pipelines — sets of steps that the service will run through such as building the software and running tests — that are described in the code itself. Drone is a flexible CI/CD tool that can perform this on many different types of runners, containers or machines where the project can be repeatably built.

+

This tutorial aims to show how Drone can integrate with the source code management tool Gitea in order to offer fully self-hosted solutions for SCM and CI/CD. You will be installing Drone, connecting it with Gitea, and creating a test project to see how the two services work together.

+

Prerequisites

+

Step 1 — Installing Drone

+

Step 2 — Connecting Drone and Gitea

+

Step 3 — Setting Up a Project for CI/CD

+

Conclusion

+
+ +
+ + + diff --git a/work/index.html b/work/index.html index db2d8a1e8..2df3e7ca5 100644 --- a/work/index.html +++ b/work/index.html @@ -24,6 +24,7 @@