{"id":358710,"date":"2024-05-21T00:17:33","date_gmt":"2024-05-21T00:17:33","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=358710"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=358710","title":{"rendered":"<span>Gitea &amp; Act Runner: First touch<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0425\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u0432\u043e\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441\u043a\u0440\u043e\u043c\u043d\u0443\u044e \u043f\u0443\u0441\u0442\u043e\u0442\u0443 \u0432 \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u0435 \u043f\u043e Gitea. \u0421 \u0432\u0435\u0440\u0441\u0438\u0438 1.19 \u0432 Gitea \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0441\u0432\u043e\u0439 CI\/CD \u0438 \u0440\u0430\u043d\u043d\u0435\u0440 Act Runner, \u044f\u0432\u043b\u044f\u044e\u0449\u0438\u0439\u0441\u044f \u043d\u0438\u0447\u0435\u043c \u0438\u043d\u044b\u043c \u043a\u0430\u043a \u0444\u043e\u0440\u043a\u043e\u043c \u0432\u0441\u0435\u043c \u0437\u043d\u0430\u043a\u043e\u043c\u043e\u0433\u043e <a href=\"https:\/\/github.com\/nektos\/act\" rel=\"noopener noreferrer nofollow\">nextos\/act-runner<\/a>.<\/p>\n<p>\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0433\u043e\u0432\u043e\u0440\u044f, \u0441 Gitea \u044f \u0431\u044b\u043b \u0437\u043d\u0430\u043a\u043e\u043c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u0430\u0432\u043d\u043e, \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0435\u0433\u043e \u0432 \u0441\u0432\u043e\u0438\u0445 \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0446\u0435\u043b\u044f\u0445 \u0431\u043e\u043b\u0435\u0435 \u0433\u043e\u0434\u0430, \u0430 \u0432\u043e\u0442 \u043a Gitea CI\/CD \u0440\u0443\u043a\u0438 \u043c\u043e\u0438 \u0434\u043e\u0448\u043b\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u0439\u0447\u0430\u0441, \u0438 \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u043c\u0435\u043d\u044f \u0441\u043f\u043e\u0445\u0432\u0430\u0442\u0438\u043b \u0437\u0443\u0434 \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0442\u0438 \u0441\u0432\u043e\u0439 \u0441\u0430\u043c\u043e\u043f\u0438\u0441\u043d\u044b\u0439 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u043f\u043e \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u043a\u0435 \u0441\u0430\u0439\u0442\u0430 \u043d\u0430 \u0431\u0430\u0437\u0435 <a href=\"https:\/\/www.mkdocs.org\/\" rel=\"noopener noreferrer nofollow\">MkDocs<\/a> \u043d\u0430 \u043d\u0435\u0433\u043e.<\/p>\n<p>\u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0442\u044c: \u0443\u043f\u0440\u0435\u0442\u0441\u044f \u043b\u0438 \u0432 \u043f\u043e\u0442\u043e\u043b\u043e\u043a \u043d\u0430\u043a\u043e\u043d\u0435\u0446-\u0442\u043e \u043c\u043e\u0439 VPS \u0441 2 \u0433\u0438\u0433\u0430\u0431\u0430\u0439\u0442\u0430\u043c\u0438 \u041e\u0417\u0423, \u0438\u043b\u0438 \u0436\u0435 \u043d\u0435\u0442? \u041d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u043e\u043e\u0431\u0449\u0435 Gitea \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u043e\u0434\u043d\u0438\u043c \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u043e\u043c \u0440\u0430\u043d\u043d\u0435\u0440\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0436\u043e\u0440\u043e\u043b\u0438\u0432\u044b\u043c?<\/p>\n<h3>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430<\/h3>\n<p>\u0417\u0430\u0434\u0430\u0447\u0430 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e CI\/CD \u0434\u043e \u043e\u0442\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0441\u0442\u0430 \u0438 \u0431\u0430\u043d\u0430\u043b\u044c\u043d\u0430:<\/p>\n<ul>\n<li>\n<p>\u0435\u0441\u0442\u044c \u0441\u0430\u0439\u0442, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 MkDocs, \u0438 \u0435\u0441\u0442\u044c python \u0441\u043a\u0440\u0438\u043f\u0442(\u044b), \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u044e\u0449\u0438\u0435 \u0447\u0430\u0441\u0442\u044c Markdown \u043a\u043e\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c;<\/p>\n<\/li>\n<li>\n<p>\u0441\u0430\u0439\u0442 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b <code>mkdocs build<\/code> \u0432 \u0441\u0442\u0430\u0442\u0438\u043a\u0443, \u0430\u043a\u043a\u0443\u0440\u0430\u0442\u043d\u043e \u0441\u043b\u043e\u0436\u0435\u043d\u043d\u0443\u044e \u0432 \u0441\u0443\u0431\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 <code>site<\/code>;<\/p>\n<\/li>\n<li>\n<p>\u0441\u0442\u0430\u0442\u0438\u043a\u0443 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043b\u0438\u0442\u044c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u0443\u044e \u043f\u0430\u043f\u043a\u0443 \u043f\u043e SSH, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f SCP \u0438\u043b\u0438 rsync.<\/p>\n<\/li>\n<\/ul>\n<p>\u0418 \u0412\u0441\u0435! \u0412\u043c\u0435\u0441\u0442\u043e MkDocs \u0437\u0434\u0435\u0441\u044c \u043c\u043e\u0433 \u0431\u044b \u0431\u044b\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 JS \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0432\u0440\u043e\u0434\u0435 React \u0438\u043b\u0438 Angular.<\/p>\n<h3>Gitea \u0438 Docker Compose<\/h3>\n<p>Gitea \u0431\u044b\u043b \u0441 \u0441\u0430\u043c\u043e\u0433\u043e \u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 Docker Compose \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 SSHing Shim (\u0441\u043c. <a href=\"https:\/\/docs.gitea.com\/next\/installation\/install-with-docker#sshing-shim-with-authorized_keys\" rel=\"noopener noreferrer nofollow\">\u0433\u0430\u0439\u0434<\/a>). \u041a\u043e\u043c\u043f\u043e\u0443\u0437 \u0434\u043e \u0431\u043e\u043b\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439:<\/p>\n<pre><code class=\"yaml\">version: '3.9'  services:   app:     container_name: gitea-app     restart: always     image: gitea\/gitea:1.20 # \u2265 1.19     volumes:       - .\/data\/gitea:\/data       - \/home\/git\/.ssh\/:\/data\/git\/.ssh       - \/etc\/timezone:\/etc\/timezone:ro       - \/etc\/localtime:\/etc\/localtime:ro     ports:       - \"127.0.0.1:2222:22\"       - \"127.0.0.1:3000:3000\"     environment:       - GITEA__repository__ENABLE_PUSH_CREATE_USER=true       - GITEA__repository__ENABLE_PUSH_CREATE_ORG=true       - GITEA__server__SSH_PORT=22       - GITEA__server__SSH_LISTEN_PORT=22       - VIRTUAL_HOST=https:\/\/git.mydomain.tld       - ROOT_URL=https:\/\/git.mydomain.tld       - USER_UID=1003       - USER_GID=1003     networks:       - gitea ... <\/code><\/pre>\n<p>\u041f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u043a \u043d\u0435\u043c\u0443 \u0440\u0430\u043d\u043d\u0435\u0440 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e:<\/p>\n<p>\u0412 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 Gitea \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u0440\u043e\u0447\u043a\u0443<\/p>\n<pre><code>[actions] ENABLED = true <\/code><\/pre>\n<p>\u0418 \u0432 \u043d\u0430\u0448 \u043a\u043e\u043c\u043f\u043e\u0443\u0437 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0448\u0430\u0431\u043b\u043e\u043d \u0438\u0437 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e <a href=\"https:\/\/docs.gitea.com\/usage\/actions\/act-runner#set-up-the-runner-using-docker-compose\" rel=\"noopener noreferrer nofollow\">\u0433\u0430\u0439\u0434\u0430<\/a>:<\/p>\n<pre><code class=\"yaml\">...   act-runner:     container_name: gitea-runner     restart: always     depends_on:       - app     image: gitea\/act_runner:latest # \u0438\u043b\u0438 nightly     volumes:       - \/var\/run\/docker.sock:\/var\/run\/docker.sock       - .\/runner-data:\/data     environment:       - GITEA_RUNNER_REGISTRATION_TOKEN=&lt;&lt;\u0422\u043e\u043a\u0435\u043d>>       - GITEA_INSTANCE_URL=https:\/\/git.mydomain.tld          # \u043c\u043e\u0436\u043d\u043e \u0438 http:\/\/192.x.x.x:3000, \u043d\u043e \u043d\u0435 \u0438\u043c\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u0430                                                           - GITEA_RUNNER_NAME=runner       networks:       - gitea ... <\/code><\/pre>\n<p>\u0422\u043e\u043a\u0435\u043d \u0431\u0435\u0440\u0435\u043c \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0442\u043e\u0433\u043e, \u0433\u0434\u0435 \u043c\u044b \u0445\u043e\u0442\u0438\u043c\u0438, \u0447\u0442\u043e\u0431\u044b runner \u0431\u044b\u043b \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d:<br \/> \u2014 <em>\u041d\u0430 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u043c \u0443\u0440\u043e\u0432\u043d\u0435<\/em>: Settings -> Site administration -> Actions -> Runners -> Create new Runner \u0438 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c <code>REGISTRATION TOKEN<\/code>;<br \/> \u2014 <em>\u041d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438<\/em>: \u0432\u043a\u043b\u0430\u0434\u043a\u0430 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 -> Settings -> Actions -> Runners -> Create new Runner \u0438 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c <code>REGISTRATION TOKEN<\/code>;<br \/> \u2014 <em>\u041d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/em>: \u0432\u043a\u043b\u0430\u0434\u043a\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f -> Settings -> Actions -> Runners -> Create new Runner \u0438 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c <code>REGISTRATION TOKEN<\/code>.<\/p>\n<p>\u0422\u043e\u043a\u0435\u043d \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e <code>GITEA_RUNNER_REGISTRATION_TOKEN<\/code> \u043d\u0430\u0448\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430 <code>act-runner<\/code>.<\/p>\n<p>\u041a\u043e\u0433\u0434\u0430 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u0440\u0430\u043d\u043d\u0435\u0440\u043e\u0432 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u0441 \u043d\u043e\u0432\u044b\u043c \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u043e\u043c Act Runner, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0430\u0448 \u043f\u0435\u0440\u0432\u044b\u0439 Gitea Actions \u0441\u043a\u0440\u0438\u043f\u0442.<\/p>\n<h3>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c Actions<\/h3>\n<p>\u041d\u0435\u0434\u043e\u043b\u0433\u043e \u0434\u0443\u043c\u0430\u044f \u043f\u0440\u0438\u0448\u0435\u043b, \u0442\u043e \u0435\u0441\u0442\u044c \u043f\u044b\u0442\u0430\u044f\u0441\u044c \u0434\u043e\u043b\u0433\u043e \u043f\u043e\u0434\u043e\u0431\u0440\u0430\u0442\u044c \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u0441\u043a\u0440\u0438\u043f\u0442, \u044f \u043f\u0440\u0438\u0448\u0435\u043b \u043a \u043f\u0435\u0440\u0432\u043e\u043c\u0443 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0443:<\/p>\n<pre><code class=\"yaml\"># .gitea\/workflows\/publish.yml name: Publish site run-name: ${{ gitea.actor }} greets Habr! on: [push]  jobs:   build and deploy:     runs-on: ubuntu-latest     name: Build and deploy     steps:       - name: Checkout code         uses: actions\/checkout@v3       - name: Install Python         uses: actions\/setup-python@v4         with:           python-version: '3.9'             architecture: 'x64'       - name: Mkdocs build         run: |           pip install -r requirements.txt           python generate.py           mkdocs build       - name: Deploy to Server         uses: https:\/\/gitea.com\/aquelle1\/ssh-deploy@main         env:           SSH_PRIVATE_KEY: ${{ secrets.SSH_KEY }}           ARGS: \"-rlgoDzvc -i --delete\" # \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u043e, \u043a\u043e\u043f\u0438\u0440\u0443\u044f \u0441\u0438\u043c. \u0441\u0441\u044b\u043b\u043a\u0438, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044f \u0433\u0440\u0443\u043f\u043f\u044b \u0438 \u043e\u0443\u043d\u0435\u0440\u043e\u0432; \u0444\u0430\u0439\u043b\u044b \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u0436\u0438\u043c\u0430\u044f \u0444\u0430\u0439\u043b\u044b \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0435 \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044f \u0441\u043f\u0438\u0441\u043e\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u0443\u0434\u0430\u043b\u044f\u044f \u0444\u0430\u0439\u043b\u044b \u0438\u0437 \u0438\u0441\u043a\u043e\u043c\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438             SOURCE: \"site\/\"           REMOTE_HOST: ${{ secrets.SSH_HOST }}           REMOTE_USER: ${{ secrets.SSH_USER }}           TARGET: ${{ secrets.SSH_DIR }} <\/code><\/pre>\n<p>\u0414\u0430, Gitea \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0442\u043e\u0442 \u0436\u0435 \u0441\u0430\u043c\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442, \u0447\u0442\u043e \u0438 GitHub Actions. \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0433\u043e\u0432\u043e\u0440\u044f, \u044d\u0442\u043e \u043e\u043d \u0438 \u0435\u0441\u0442\u044c. \u0421\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 <code>secrets<\/code> \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u0432 \u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 -> Settings -> Actions -> Secrets. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e Gitea \u0431\u0435\u0440\u0435\u0442 \u0432\u0441\u0435 actions \u0438\u0437 \u0441\u0432\u043e\u0435\u0433\u043e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430 <a href=\"https:\/\/gitea.com\" rel=\"noopener noreferrer nofollow\">gitea.com<\/a>, \u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0439 \u0441\u0442\u0440\u0430\u0445 \u0438 \u0440\u0438\u0441\u043a actions \u0438\u0437 Github, \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0432  <code>\u043f\u0443\u0442\u044c \u043a \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044e@\u0432\u0435\u0442\u043a\u0430<\/code>.<\/p>\n<p>\u041f\u043e\u043f\u044b\u0442\u043a\u0430 \u2116 1 \u043f\u0440\u043e\u0432\u0430\u043b\u0438\u043b\u0430\u0441\u044c \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 Python3.9 \u0441 \u0442\u0430\u043a\u0438\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435\u043c:<\/p>\n<pre><code>::group::Installed versions Version 3.9 was not found in the local cache ::error::The version '3.9' with architecture 'x64' was not found for this operating system.%0AThe list of all available versions can be found here: https:\/\/raw.githubusercontent.com\/actions\/python-versions\/main\/versions-manifest.json <\/code><\/pre>\n<p>\u041c-\u0434\u0430, \u0438 \u0432\u0440\u043e\u0434\u0435 \u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b \u0432\u0435\u0440\u0441\u0438\u044e ubuntu, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0443\u044e\u0441\u044f \u0440\u0430\u043d\u043d\u0435\u0440\u043e\u043c, \u043d\u043e \u0432\u0441\u044f\u043a\u0438\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0432\u0435\u0440\u0441\u0438\u044e \u043d\u0435 \u0443\u0432\u0435\u043d\u0447\u0430\u043b\u0438\u0441\u044c \u0443\u0441\u043f\u0435\u0445\u043e\u043c.<\/p>\n<h3>\u041c\u0435\u043d\u044f\u0435\u043c \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 Docker \u043e\u0431\u0440\u0430\u0437 \u0440\u0430\u043d\u043d\u0435\u0440\u0430<\/h3>\n<p>\u041e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u043a\u043e\u043c\u043f\u043e\u0443\u0437\u0435 \u0440\u0430\u043d\u043d\u0435\u0440\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e <code>GITEA_RUNNER_LABELS<\/code>, \u0442\u043e \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u0435\u0439\u0431\u043b <code>ubuntu-latest:docker:\/\/node:16-bullseye<\/code> (\u043e\u0431\u0440\u0430\u0437, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043d\u0435\u0442 Docker), \u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c Python \u043d\u0430 \u044d\u0442\u043e\u0442 \u043e\u0431\u0440\u0430\u0437 \u043d\u0438\u043a\u0430\u043a \u043d\u0435\u043b\u044c\u0437\u044f.<\/p>\n<p>\u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u043d\u0435 \u0432\u0441\u0435 \u0442\u0430\u043a \u043f\u043b\u043e\u0445\u043e. \u0415\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432.<\/p>\n<ol>\n<li>\n<p>\u041c\u043e\u0436\u043d\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 \u043b\u0435\u0439\u0431\u043b \u0434\u043b\u044f \u0440\u0430\u043d\u043d\u0435\u0440\u0430 \u0432 \u043f\u0430\u043d\u0435\u043b\u0438  Site administration -> Actions -> Runners -> Edit \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043b\u0435\u0439\u0431\u043b \u043d\u0430 \u043d\u043e\u0432\u044b\u0439. \u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u0443 \u043b\u0435\u0439\u0431\u043b\u043e\u0432 \u0442\u0430\u043a\u043e\u0439: <code>{\u0442\u0438\u043f \u0445\u043e\u0441\u0442\u043e\u0432\u043e\u0439 \u0412\u041c, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c\u0441\u044f \u0434\u0436\u043e\u0431\u0430}:{\u0438\u043c\u044f Docker \u043e\u0431\u0440\u0430\u0437\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d}<\/code>. \u0422\u0438\u043f \u0445\u043e\u0441\u0442\u043e\u0432\u043e\u0439 \u0412\u041c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c <code>ubuntu-latest<\/code>, <code>windows- latest<\/code> \u0438\u043b\u0438 <code>macOS-latest<\/code>. \u041b\u0435\u0439\u0431\u043b\u044b \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u044e\u0442\u0441\u044f \u0437\u0430\u043f\u044f\u0442\u044b\u043c\u0438.<\/p>\n<\/li>\n<li>\n<p>\u041c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u0440\u043e\u0447\u043a\u0443 <code>container<\/code> \u0432 \u043a\u043e\u043d\u0444\u0438\u0433 \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<\/li>\n<\/ol>\n<pre><code>container:     image: catthehacker\/ubuntu:act-22.04 <\/code><\/pre>\n<p>\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043e\u0439 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u0430 \u0431\u044b\u043b <a href=\"https:\/\/hub.docker.com\/layers\/catthehacker\/ubuntu\/runner-22.04\/images\/sha256-cab392127f50b3106d85fdc5055c095e311bb5ceb32e0ce7eb4c6d420a94f917?context=explore\" rel=\"noopener noreferrer nofollow\">catthehacker\/ubuntu:runner-22.04<\/a> \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0439 Ubuntu 22.04. \u0412\u0435\u0441\u0438\u0442 \u043e\u043d 510 \u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442, \u0447\u0442\u043e \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u043e \u0442\u0435\u0440\u043f\u0438\u043c\u043e.<\/p>\n<p>\u041d\u0430 \u044d\u0442\u043e\u043c \u043e\u0431\u0440\u0430\u0437\u0435 Python \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f; \u0441\u0430\u0439\u0442 \u0441\u043e\u0431\u0440\u0430\u043b\u0441\u044f \u0438 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0443\u043b\u0435\u0442\u0435\u043b \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440. \u0423\u0440\u0430!<\/p>\n<h3>Enhancement &amp; Benchmarks<\/h3>\n<p>\u0414\u043e \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0441\u0447\u0430\u0441\u0442\u044c\u044f \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043f\u0430\u0440\u0443 \u0448\u0430\u0433\u043e\u0432.<\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u0441\u0442\u0430\u0434\u0438\u044e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 Python \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0430\u043c\u0438\u0445 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u043e\u0432 \u0438 pip \u043f\u0430\u043a\u0435\u0442\u043e\u0432:<\/p>\n<pre><code>      - name: Install Python         uses: actions\/setup-python@v4         with:           python-version: '3.9'             architecture: 'x64'           cache: 'pip' # \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0430\u043a\u0435\u0442\u043e\u0432         env:           AGENT_TOOLSDIRECTORY: \/opt\/hostedtoolcache # \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u043e\u0432 Python <\/code><\/pre>\n<p>\u0421 \u044d\u0442\u0438\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043b\u0441\u044f \u0437\u0430 10 \u043c\u0438\u043d\u0443\u0442 \u0438 31 \u0441\u0435\u043a\u0443\u043d\u0434\u0443. \u0412\u043e\u0442 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e Memory Usage (\u0432 \u043c\u0431):<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/a67\/cc8\/d4e\/a67cc8d4e7f9f17e483fff0c21a2836e.png\" alt=\"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0430\u043c\u044f\u0442\u0438 Gitea Act Runner\" title=\"\u0413\u0440\u0430\u0444\u0438\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d\u043e\u043c\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/a67\/cc8\/d4e\/a67cc8d4e7f9f17e483fff0c21a2836e.png\"\/><\/p>\n<div><figcaption>\u0413\u0440\u0430\u0444\u0438\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d\u043e\u043c<\/figcaption><\/div>\n<\/figure>\n<p>310 \u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442 \u041e\u0417\u0423 \u043d\u0430 \u043f\u0438\u043a\u0435. \u0421\u043e\u0439\u0434\u0435\u0442!<\/p>\n<h3>\u0418\u0442\u043e\u0433\u0438<\/h3>\n<p>Gitea Actions \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0438 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043b\u0435\u0433\u043a\u043e\u0432\u0435\u0441\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 CI\/CD \u0443 \u0441\u0435\u0431\u044f \u0434\u043e\u043c\u0430.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/770448\/\"> https:\/\/habr.com\/ru\/articles\/770448\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0425\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u0432\u043e\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441\u043a\u0440\u043e\u043c\u043d\u0443\u044e \u043f\u0443\u0441\u0442\u043e\u0442\u0443 \u0432 \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u0435 \u043f\u043e Gitea. \u0421 \u0432\u0435\u0440\u0441\u0438\u0438 1.19 \u0432 Gitea \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0441\u0432\u043e\u0439 CI\/CD \u0438 \u0440\u0430\u043d\u043d\u0435\u0440 Act Runner, \u044f\u0432\u043b\u044f\u044e\u0449\u0438\u0439\u0441\u044f \u043d\u0438\u0447\u0435\u043c \u0438\u043d\u044b\u043c \u043a\u0430\u043a \u0444\u043e\u0440\u043a\u043e\u043c \u0432\u0441\u0435\u043c \u0437\u043d\u0430\u043a\u043e\u043c\u043e\u0433\u043e <a href=\"https:\/\/github.com\/nektos\/act\" rel=\"noopener noreferrer nofollow\">nextos\/act-runner<\/a>.<\/p>\n<p>\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0433\u043e\u0432\u043e\u0440\u044f, \u0441 Gitea \u044f \u0431\u044b\u043b \u0437\u043d\u0430\u043a\u043e\u043c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u0430\u0432\u043d\u043e, \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0435\u0433\u043e \u0432 \u0441\u0432\u043e\u0438\u0445 \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0446\u0435\u043b\u044f\u0445 \u0431\u043e\u043b\u0435\u0435 \u0433\u043e\u0434\u0430, \u0430 \u0432\u043e\u0442 \u043a Gitea CI\/CD \u0440\u0443\u043a\u0438 \u043c\u043e\u0438 \u0434\u043e\u0448\u043b\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u0439\u0447\u0430\u0441, \u0438 \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u043c\u0435\u043d\u044f \u0441\u043f\u043e\u0445\u0432\u0430\u0442\u0438\u043b \u0437\u0443\u0434 \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0442\u0438 \u0441\u0432\u043e\u0439 \u0441\u0430\u043c\u043e\u043f\u0438\u0441\u043d\u044b\u0439 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u043f\u043e \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u043a\u0435 \u0441\u0430\u0439\u0442\u0430 \u043d\u0430 \u0431\u0430\u0437\u0435 <a href=\"https:\/\/www.mkdocs.org\/\" rel=\"noopener noreferrer nofollow\">MkDocs<\/a> \u043d\u0430 \u043d\u0435\u0433\u043e.<\/p>\n<p>\u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0442\u044c: \u0443\u043f\u0440\u0435\u0442\u0441\u044f \u043b\u0438 \u0432 \u043f\u043e\u0442\u043e\u043b\u043e\u043a \u043d\u0430\u043a\u043e\u043d\u0435\u0446-\u0442\u043e \u043c\u043e\u0439 VPS \u0441 2 \u0433\u0438\u0433\u0430\u0431\u0430\u0439\u0442\u0430\u043c\u0438 \u041e\u0417\u0423, \u0438\u043b\u0438 \u0436\u0435 \u043d\u0435\u0442? \u041d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u043e\u043e\u0431\u0449\u0435 Gitea \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u043e\u0434\u043d\u0438\u043c \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u043e\u043c \u0440\u0430\u043d\u043d\u0435\u0440\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0436\u043e\u0440\u043e\u043b\u0438\u0432\u044b\u043c?<\/p>\n<h3>\u041f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430<\/h3>\n<p>\u0417\u0430\u0434\u0430\u0447\u0430 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e CI\/CD \u0434\u043e \u043e\u0442\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0441\u0442\u0430 \u0438 \u0431\u0430\u043d\u0430\u043b\u044c\u043d\u0430:<\/p>\n<ul>\n<li>\n<p>\u0435\u0441\u0442\u044c \u0441\u0430\u0439\u0442, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 MkDocs, \u0438 \u0435\u0441\u0442\u044c python \u0441\u043a\u0440\u0438\u043f\u0442(\u044b), \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u044e\u0449\u0438\u0435 \u0447\u0430\u0441\u0442\u044c Markdown \u043a\u043e\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c;<\/p>\n<\/li>\n<li>\n<p>\u0441\u0430\u0439\u0442 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b <code>mkdocs build<\/code> \u0432 \u0441\u0442\u0430\u0442\u0438\u043a\u0443, \u0430\u043a\u043a\u0443\u0440\u0430\u0442\u043d\u043e \u0441\u043b\u043e\u0436\u0435\u043d\u043d\u0443\u044e \u0432 \u0441\u0443\u0431\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 <code>site<\/code>;<\/p>\n<\/li>\n<li>\n<p>\u0441\u0442\u0430\u0442\u0438\u043a\u0443 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043b\u0438\u0442\u044c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u0443\u044e \u043f\u0430\u043f\u043a\u0443 \u043f\u043e SSH, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f SCP \u0438\u043b\u0438 rsync.<\/p>\n<\/li>\n<\/ul>\n<p>\u0418 \u0412\u0441\u0435! \u0412\u043c\u0435\u0441\u0442\u043e MkDocs \u0437\u0434\u0435\u0441\u044c \u043c\u043e\u0433 \u0431\u044b \u0431\u044b\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 JS \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0432\u0440\u043e\u0434\u0435 React \u0438\u043b\u0438 Angular.<\/p>\n<h3>Gitea \u0438 Docker Compose<\/h3>\n<p>Gitea \u0431\u044b\u043b \u0441 \u0441\u0430\u043c\u043e\u0433\u043e \u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 Docker Compose \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 SSHing Shim (\u0441\u043c. <a href=\"https:\/\/docs.gitea.com\/next\/installation\/install-with-docker#sshing-shim-with-authorized_keys\" rel=\"noopener noreferrer nofollow\">\u0433\u0430\u0439\u0434<\/a>). \u041a\u043e\u043c\u043f\u043e\u0443\u0437 \u0434\u043e \u0431\u043e\u043b\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439:<\/p>\n<pre><code class=\"yaml\">version: '3.9'  services:   app:     container_name: gitea-app     restart: always     image: gitea\/gitea:1.20 # \u2265 1.19     volumes:       - .\/data\/gitea:\/data       - \/home\/git\/.ssh\/:\/data\/git\/.ssh       - \/etc\/timezone:\/etc\/timezone:ro       - \/etc\/localtime:\/etc\/localtime:ro     ports:       - \"127.0.0.1:2222:22\"       - \"127.0.0.1:3000:3000\"     environment:       - GITEA__repository__ENABLE_PUSH_CREATE_USER=true       - GITEA__repository__ENABLE_PUSH_CREATE_ORG=true       - GITEA__server__SSH_PORT=22       - GITEA__server__SSH_LISTEN_PORT=22       - VIRTUAL_HOST=https:\/\/git.mydomain.tld       - ROOT_URL=https:\/\/git.mydomain.tld       - USER_UID=1003       - USER_GID=1003     networks:       - gitea ... <\/code><\/pre>\n<p>\u041f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u043a \u043d\u0435\u043c\u0443 \u0440\u0430\u043d\u043d\u0435\u0440 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e:<\/p>\n<p>\u0412 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 Gitea \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u0440\u043e\u0447\u043a\u0443<\/p>\n<pre><code>[actions] ENABLED = true <\/code><\/pre>\n<p>\u0418 \u0432 \u043d\u0430\u0448 \u043a\u043e\u043c\u043f\u043e\u0443\u0437 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0448\u0430\u0431\u043b\u043e\u043d \u0438\u0437 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e <a href=\"https:\/\/docs.gitea.com\/usage\/actions\/act-runner#set-up-the-runner-using-docker-compose\" rel=\"noopener noreferrer nofollow\">\u0433\u0430\u0439\u0434\u0430<\/a>:<\/p>\n<pre><code class=\"yaml\">...   act-runner:     container_name: gitea-runner     restart: always     depends_on:       - app     image: gitea\/act_runner:latest # \u0438\u043b\u0438 nightly     volumes:       - \/var\/run\/docker.sock:\/var\/run\/docker.sock       - .\/runner-data:\/data     environment:       - GITEA_RUNNER_REGISTRATION_TOKEN=&lt;&lt;\u0422\u043e\u043a\u0435\u043d>>       - GITEA_INSTANCE_URL=https:\/\/git.mydomain.tld          # \u043c\u043e\u0436\u043d\u043e \u0438 http:\/\/192.x.x.x:3000, \u043d\u043e \u043d\u0435 \u0438\u043c\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u0430                                                           - GITEA_RUNNER_NAME=runner       networks:       - gitea ... <\/code><\/pre>\n<p>\u0422\u043e\u043a\u0435\u043d \u0431\u0435\u0440\u0435\u043c \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0442\u043e\u0433\u043e, \u0433\u0434\u0435 \u043c\u044b \u0445\u043e\u0442\u0438\u043c\u0438, \u0447\u0442\u043e\u0431\u044b runner \u0431\u044b\u043b \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d:<br \/> \u2014 <em>\u041d\u0430 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u043c \u0443\u0440\u043e\u0432\u043d\u0435<\/em>: Settings -> Site administration -> Actions -> Runners -> Create new Runner \u0438 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c <code>REGISTRATION TOKEN<\/code>;<br \/> \u2014 <em>\u041d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438<\/em>: \u0432\u043a\u043b\u0430\u0434\u043a\u0430 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 -> Settings -> Actions -> Runners -> Create new Runner \u0438 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c <code>REGISTRATION TOKEN<\/code>;<br \/> \u2014 <em>\u041d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/em>: \u0432\u043a\u043b\u0430\u0434\u043a\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f -> Settings -> Actions -> Runners -> Create new Runner \u0438 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c <code>REGISTRATION TOKEN<\/code>.<\/p>\n<p>\u0422\u043e\u043a\u0435\u043d \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e <code>GITEA_RUNNER_REGISTRATION_TOKEN<\/code> \u043d\u0430\u0448\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430 <code>act-runner<\/code>.<\/p>\n<p>\u041a\u043e\u0433\u0434\u0430 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u0440\u0430\u043d\u043d\u0435\u0440\u043e\u0432 \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u0441 \u043d\u043e\u0432\u044b\u043c \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u043e\u043c Act Runner, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0430\u0448 \u043f\u0435\u0440\u0432\u044b\u0439 Gitea Actions \u0441\u043a\u0440\u0438\u043f\u0442.<\/p>\n<h3>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c Actions<\/h3>\n<p>\u041d\u0435\u0434\u043e\u043b\u0433\u043e \u0434\u0443\u043c\u0430\u044f \u043f\u0440\u0438\u0448\u0435\u043b, \u0442\u043e \u0435\u0441\u0442\u044c \u043f\u044b\u0442\u0430\u044f\u0441\u044c \u0434\u043e\u043b\u0433\u043e \u043f\u043e\u0434\u043e\u0431\u0440\u0430\u0442\u044c \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u0441\u043a\u0440\u0438\u043f\u0442, \u044f \u043f\u0440\u0438\u0448\u0435\u043b \u043a \u043f\u0435\u0440\u0432\u043e\u043c\u0443 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0443:<\/p>\n<pre><code class=\"yaml\"># .gitea\/workflows\/publish.yml name: Publish site run-name: ${{ gitea.actor }} greets Habr! on: [push]  jobs:   build and deploy:     runs-on: ubuntu-latest     name: Build and deploy     steps:       - name: Checkout code         uses: actions\/checkout@v3       - name: Install Python         uses: actions\/setup-python@v4         with:           python-version: '3.9'             architecture: 'x64'       - name: Mkdocs build         run: |           pip install -r requirements.txt           python generate.py           mkdocs build       - name: Deploy to Server         uses: https:\/\/gitea.com\/aquelle1\/ssh-deploy@main         env:           SSH_PRIVATE_KEY: ${{ secrets.SSH_KEY }}           ARGS: \"-rlgoDzvc -i --delete\" # \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u043e, \u043a\u043e\u043f\u0438\u0440\u0443\u044f \u0441\u0438\u043c. \u0441\u0441\u044b\u043b\u043a\u0438, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044f \u0433\u0440\u0443\u043f\u043f\u044b \u0438 \u043e\u0443\u043d\u0435\u0440\u043e\u0432; \u0444\u0430\u0439\u043b\u044b \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u0436\u0438\u043c\u0430\u044f \u0444\u0430\u0439\u043b\u044b \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0435 \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044f \u0441\u043f\u0438\u0441\u043e\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u0443\u0434\u0430\u043b\u044f\u044f \u0444\u0430\u0439\u043b\u044b \u0438\u0437 \u0438\u0441\u043a\u043e\u043c\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438             SOURCE: \"site\/\"           REMOTE_HOST: ${{ secrets.SSH_HOST }}           REMOTE_USER: ${{ secrets.SSH_USER }}           TARGET: ${{ secrets.SSH_DIR }} <\/code><\/pre>\n<p>\u0414\u0430, Gitea \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0442\u043e\u0442 \u0436\u0435 \u0441\u0430\u043c\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442, \u0447\u0442\u043e \u0438 GitHub Actions. \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0433\u043e\u0432\u043e\u0440\u044f, \u044d\u0442\u043e \u043e\u043d \u0438 \u0435\u0441\u0442\u044c. \u0421\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 <code>secrets<\/code> \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u0432 \u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 -> Settings -> Actions -> Secrets. \u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e Gitea \u0431\u0435\u0440\u0435\u0442 \u0432\u0441\u0435 actions \u0438\u0437 \u0441\u0432\u043e\u0435\u0433\u043e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430 <a href=\"https:\/\/gitea.com\" rel=\"noopener noreferrer nofollow\">gitea.com<\/a>, \u043d\u043e \u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0439 \u0441\u0442\u0440\u0430\u0445 \u0438 \u0440\u0438\u0441\u043a actions \u0438\u0437 Github, \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0432  <code>\u043f\u0443\u0442\u044c \u043a \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044e@\u0432\u0435\u0442\u043a\u0430<\/code>.<\/p>\n<p>\u041f\u043e\u043f\u044b\u0442\u043a\u0430 \u2116 1 \u043f\u0440\u043e\u0432\u0430\u043b\u0438\u043b\u0430\u0441\u044c \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 Python3.9 \u0441 \u0442\u0430\u043a\u0438\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435\u043c:<\/p>\n<pre><code>::group::Installed versions Version 3.9 was not found in the local cache ::error::The version '3.9' with architecture 'x64' was not found for this operating system.%0AThe list of all available versions can be found here: https:\/\/raw.githubusercontent.com\/actions\/python-versions\/main\/versions-manifest.json <\/code><\/pre>\n<p>\u041c-\u0434\u0430, \u0438 \u0432\u0440\u043e\u0434\u0435 \u0431\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b \u0432\u0435\u0440\u0441\u0438\u044e ubuntu, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0443\u044e\u0441\u044f \u0440\u0430\u043d\u043d\u0435\u0440\u043e\u043c, \u043d\u043e \u0432\u0441\u044f\u043a\u0438\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0432\u0435\u0440\u0441\u0438\u044e \u043d\u0435 \u0443\u0432\u0435\u043d\u0447\u0430\u043b\u0438\u0441\u044c \u0443\u0441\u043f\u0435\u0445\u043e\u043c.<\/p>\n<h3>\u041c\u0435\u043d\u044f\u0435\u043c \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 Docker \u043e\u0431\u0440\u0430\u0437 \u0440\u0430\u043d\u043d\u0435\u0440\u0430<\/h3>\n<p>\u041e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u043a\u043e\u043c\u043f\u043e\u0443\u0437\u0435 \u0440\u0430\u043d\u043d\u0435\u0440\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e <code>GITEA_RUNNER_LABELS<\/code>, \u0442\u043e \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u0435\u0439\u0431\u043b <code>ubuntu-latest:docker:\/\/node:16-bullseye<\/code> (\u043e\u0431\u0440\u0430\u0437, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043d\u0435\u0442 Docker), \u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c Python \u043d\u0430 \u044d\u0442\u043e\u0442 \u043e\u0431\u0440\u0430\u0437 \u043d\u0438\u043a\u0430\u043a \u043d\u0435\u043b\u044c\u0437\u044f.<\/p>\n<p>\u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u043d\u0435 \u0432\u0441\u0435 \u0442\u0430\u043a \u043f\u043b\u043e\u0445\u043e. \u0415\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432.<\/p>\n<ol>\n<li>\n<p>\u041c\u043e\u0436\u043d\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 \u043b\u0435\u0439\u0431\u043b \u0434\u043b\u044f \u0440\u0430\u043d\u043d\u0435\u0440\u0430 \u0432 \u043f\u0430\u043d\u0435\u043b\u0438  Site administration -> Actions -> Runners -> Edit \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043b\u0435\u0439\u0431\u043b \u043d\u0430 \u043d\u043e\u0432\u044b\u0439. \u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u0443 \u043b\u0435\u0439\u0431\u043b\u043e\u0432 \u0442\u0430\u043a\u043e\u0439: <code>{\u0442\u0438\u043f \u0445\u043e\u0441\u0442\u043e\u0432\u043e\u0439 \u0412\u041c, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c\u0441\u044f \u0434\u0436\u043e\u0431\u0430}:{\u0438\u043c\u044f Docker \u043e\u0431\u0440\u0430\u0437\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d}<\/code>. \u0422\u0438\u043f \u0445\u043e\u0441\u0442\u043e\u0432\u043e\u0439 \u0412\u041c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c <code>ubuntu-latest<\/code>, <code>windows- latest<\/code> \u0438\u043b\u0438 <code>macOS-latest<\/code>. \u041b\u0435\u0439\u0431\u043b\u044b \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u044e\u0442\u0441\u044f \u0437\u0430\u043f\u044f\u0442\u044b\u043c\u0438.<\/p>\n<\/li>\n<li>\n<p>\u041c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u0440\u043e\u0447\u043a\u0443 <code>container<\/code> \u0432 \u043a\u043e\u043d\u0444\u0438\u0433 \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d\u0430. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<\/li>\n<\/ol>\n<pre><code>container:     image: catthehacker\/ubuntu:act-22.04 <\/code><\/pre>\n<p>\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043e\u0439 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u0430 \u0431\u044b\u043b <a href=\"https:\/\/hub.docker.com\/layers\/catthehacker\/ubuntu\/runner-22.04\/images\/sha256-cab392127f50b3106d85fdc5055c095e311bb5ceb32e0ce7eb4c6d420a94f917?context=explore\" rel=\"noopener noreferrer nofollow\">catthehacker\/ubuntu:runner-22.04<\/a> \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0439 Ubuntu 22.04. \u0412\u0435\u0441\u0438\u0442 \u043e\u043d 510 \u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442, \u0447\u0442\u043e \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u043e \u0442\u0435\u0440\u043f\u0438\u043c\u043e.<\/p>\n<p>\u041d\u0430 \u044d\u0442\u043e\u043c \u043e\u0431\u0440\u0430\u0437\u0435 Python \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f; \u0441\u0430\u0439\u0442 \u0441\u043e\u0431\u0440\u0430\u043b\u0441\u044f \u0438 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0443\u043b\u0435\u0442\u0435\u043b \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440. \u0423\u0440\u0430!<\/p>\n<h3>Enhancement &amp; Benchmarks<\/h3>\n<p>\u0414\u043e \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0441\u0447\u0430\u0441\u0442\u044c\u044f \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043f\u0430\u0440\u0443 \u0448\u0430\u0433\u043e\u0432.<\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u0441\u0442\u0430\u0434\u0438\u044e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 Python \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0430\u043c\u0438\u0445 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u043e\u0432 \u0438 pip \u043f\u0430\u043a\u0435\u0442\u043e\u0432:<\/p>\n<pre><code>      - name: Install Python         uses: actions\/setup-python@v4         with:           python-version: '3.9'             architecture: 'x64'           cache: 'pip' # \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0430\u043a\u0435\u0442\u043e\u0432         env:           AGENT_TOOLSDIRECTORY: \/opt\/hostedtoolcache # \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u043e\u0432 Python <\/code><\/pre>\n<p>\u0421 \u044d\u0442\u0438\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043b\u0441\u044f \u0437\u0430 10 \u043c\u0438\u043d\u0443\u0442 \u0438 31 \u0441\u0435\u043a\u0443\u043d\u0434\u0443. \u0412\u043e\u0442 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u043f\u043e Memory Usage (\u0432 \u043c\u0431):<\/p>\n<figure class=\"\">\n<div><figcaption>\u0413\u0440\u0430\u0444\u0438\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0430\u0439\u043f\u043b\u0430\u0439\u043d\u043e\u043c<\/figcaption><\/div>\n<\/figure>\n<p>310 \u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442 \u041e\u0417\u0423 \u043d\u0430 \u043f\u0438\u043a\u0435. \u0421\u043e\u0439\u0434\u0435\u0442!<\/p>\n<h3>\u0418\u0442\u043e\u0433\u0438<\/h3>\n<p>Gitea Actions \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0438 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043b\u0435\u0433\u043a\u043e\u0432\u0435\u0441\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 CI\/CD \u0443 \u0441\u0435\u0431\u044f \u0434\u043e\u043c\u0430.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/770448\/\"> https:\/\/habr.com\/ru\/articles\/770448\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-358710","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/358710","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=358710"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/358710\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=358710"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=358710"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=358710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}