Get the App
SLTechnology News&Howtos  ›  Servers  › 

Drone-ci deployment

Shulou Source: shulou.com Published: 2022-06-03 09:32:34 09月21日 Update

Environment description:

[root@ops-drone-cicd-1 drone] # cat / etc/redhat-release

CentOS Linux release 7.4.1708 (Core)

[root@ops-drone-cicd-1 drone] # systemctl status firewalld.service

● firewalld.service-firewalld-dynamic firewall daemon

Loaded: loaded (/ usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)

Active: inactive (dead)

Docs: man:firewalld (1)

[root@ops-drone-cicd-1 drone] # getenforce

Disabled

Gitlab pre-configuration:

Install docker and docker-compose

#! / bin/sh

# install docker

Curl-fsSL https://get.docker.com | bash-s docker-- mirror Aliyun

# configure docker Image Accelerator

Mkdir-p / etc/docker

Tee / etc/docker/daemon.json

Tags: Configuration container image management three warehouse key accelerator graph bar official suggestion environment disk port path digital use proxy storage service private Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Xiaomi Linux Shulou Technology Microsoft