All Projects → jugatsu → Onec Cicd

jugatsu / Onec Cicd

😎 CI-стенд для 1С:Предприятие 8.3.

Programming Languages

groovy
2714 projects

Projects that are alternatives of or similar to Onec Cicd

Jenkins Bootstrap Shared
Jenkins as immutable infrastructure made easy. A repository of shared scripts meant to be used as a git submodule. Packing Jenkins, plugins, and scripts into immutable packages and images.
Stars: ✭ 270 (+743.75%)
Mutual labels:  jenkins, docker-compose
Lnmp
💻 🐳 🐘 🐬 🐧 🚀 Start Docker LNMP(LEMP) In less than 2 minutes Powered by Docker Compose. 让 PHP 开发者快速(一键)搭建基于容器技术(Docker、Kubernetes)的开发、测试、生产(CI/CD by Drone)环境.
Stars: ✭ 341 (+965.63%)
Mutual labels:  devops, docker-compose
Nvwa Io
Nvwa-io is a open source DevOps CI/CD auto-build and auto-deploy system(女娲 - 开源 DevOps CI/CD 自动构建和自动部署系统). http://nvwa-io.com
Stars: ✭ 283 (+784.38%)
Mutual labels:  devops, jenkins
Jenkins Rest
Java client, built on top of jclouds, for working with Jenkins REST API
Stars: ✭ 201 (+528.13%)
Mutual labels:  devops, jenkins
Dotci
DotCi Jenkins github integration, .ci.yml http://groupon.github.io/DotCi
Stars: ✭ 505 (+1478.13%)
Mutual labels:  jenkins, docker-compose
Devops Bash Tools
550+ DevOps Bash Scripts - AWS, GCP, Kubernetes, Kafka, Docker, APIs, Hadoop, SQL, PostgreSQL, MySQL, Hive, Impala, Travis CI, Jenkins, Concourse, GitHub, GitLab, BitBucket, Azure DevOps, TeamCity, Spotify, MP3, LDAP, Code/Build Linting, pkg mgmt for Linux, Mac, Python, Perl, Ruby, NodeJS, Golang, Advanced dotfiles: .bashrc, .vimrc, .gitconfig, .screenrc, .tmux.conf, .psqlrc ...
Stars: ✭ 226 (+606.25%)
Mutual labels:  devops, jenkins
Jenkins
Jenkins automation server
Stars: ✭ 18,225 (+56853.13%)
Mutual labels:  devops, jenkins
Maven Project
Source code for James Lee's Jenkins course
Stars: ✭ 158 (+393.75%)
Mutual labels:  devops, jenkins
Jx
Jenkins X provides automated CI+CD for Kubernetes with Preview Environments on Pull Requests using Cloud Native pipelines from Tekton
Stars: ✭ 4,041 (+12528.13%)
Mutual labels:  devops, jenkins
Threatmapper
Identify vulnerabilities in running containers, images, hosts and repositories
Stars: ✭ 361 (+1028.13%)
Mutual labels:  devops, jenkins
Jenkinsdocs
Jenkins实践文档 最新站点地址: http://www.idevops.site
Stars: ✭ 200 (+525%)
Mutual labels:  devops, jenkins
Spug
开源运维平台:面向中小型企业设计的轻量级无Agent的自动化运维平台,整合了主机管理、主机批量执行、主机在线终端、文件在线上传下载、应用发布部署、在线任务计划、配置中心、监控、报警等一系列功能。
Stars: ✭ 6,810 (+21181.25%)
Mutual labels:  devops, jenkins
Lumen Microservice
Lumen on Docker - Skeleton project with Nginx, MySQL & PHP 7 | Aws ECS, Google Kubernates, Azure Container Engine
Stars: ✭ 183 (+471.88%)
Mutual labels:  devops, docker-compose
Opendevops
CODO是一款为用户提供企业多混合云、一站式DevOps、自动化运维、完全开源的云管理平台、自动化运维平台
Stars: ✭ 2,990 (+9243.75%)
Mutual labels:  devops, docker-compose
Dockerspec
A small Ruby Gem to run RSpec and Serverspec, Infrataster and Capybara tests against Dockerfiles or Docker images easily.
Stars: ✭ 181 (+465.63%)
Mutual labels:  devops, docker-compose
Azure Devops Utils
Azure DevOps Utilities
Stars: ✭ 314 (+881.25%)
Mutual labels:  devops, jenkins
Inertia
✈️ Effortless, self-hosted continuous deployment for small teams and projects
Stars: ✭ 133 (+315.63%)
Mutual labels:  devops, docker-compose
Djangoweb
基于Django的运维平台
Stars: ✭ 137 (+328.13%)
Mutual labels:  devops, docker-compose
Devops Guide
DevOps Guide - Development to Production all configurations with basic notes to debug efficiently.
Stars: ✭ 4,119 (+12771.88%)
Mutual labels:  devops, jenkins
Kubesphere
The container platform tailored for Kubernetes multi-cloud, datacenter, and edge management ⎈ 🖥 ☁️
Stars: ✭ 8,315 (+25884.38%)
Mutual labels:  devops, jenkins

Описание

Данный проект представляет собой набор инструментов для локального развёртывания следующих продуктов:

  1. Jenkins
  2. Gitea
  3. Private Docker Registry
  4. gitsync
  5. Вспомогательные утилиты oscript

Данные продукты чаще всего используются для построения конвейера непрерывной поставки конфигурации 1C:Предприятия.

Развёртывание

☝️ Предварительно скорректируйте файл .env под своё окружение:

cp .env.example .env

Jenkins master

Первым делом необходимо развернуть Jenkins:

docker-compose -f infra/ci/docker-compose.ci.yml -p ci up -d jenkins

Дождаться пока Jenkins полностью будет готов к работе. Один из вариантов, посмотреть логи старта контейнера:

docker-compose -f infra/ci/docker-compose.ci.yml -p ci logs -f jenkins

при появлении надписи

INFO: Jenkins is fully up and running

Jenkins полностью готов к работе и доступен по адресу http://localhost:8080.

Jenkins slave

Далее следует получить секретный ключ для подключения slave к мастер-ноде Jenkins.

Запускаем:

docker run --rm --entrypoint=sh byrnedo/alpine-curl -c 'curl -L -s -X GET \
    http://host.docker.internal:8080/computer/slave/slave-agent.jnlp \
    | sed "s/.*<application-desc main-class=\"hudson.remoting.jnlp.Main\"><argument>\([a-z0-9]*\).*/\1/"'

полученный секретный ключ экспортруем в переменную JENKINS_SLAVE_SECRET, например:

export JENKINS_SLAVE_SECRET=2ff4a384d18a5f151d9fac4841414054bfd6450bef411d798ec71208e0afc1d9

Запускаем slave и остальные сервисы:

docker-compose -f infra/ci/docker-compose.ci.yml -p ci up -d

Git

Создадим учётную запись onec с паролем Shee5i:

docker-compose -f infra/ci/docker-compose.ci.yml -p ci exec -u git git \
 gitea admin create-user --name onec --email [email protected] --admin -password Shee5i

Сервер Git доступен по адресу http://localhost:3000. Для авторизации используйте следующие учётные данные:

  • Username: onec
  • Password: Shee5i

Private Docker Registry

Учётные данные для логина в приватный Docker Registry:

  • Username: john
  • Password: doe
echo 'doe' | docker login --username john --password-stdin localhost:5000

Отправка локальных образов в приватный Docker Registry:

docker push localhost:5000/onec-server
docker push localhost:5000/oscript-utils
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].