• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

ipfs-inactive/jenkins: [ARCHIVED] Configuration for IPFS's build system

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

ipfs-inactive/jenkins

开源软件地址:

https://github.com/ipfs-inactive/jenkins

开源编程语言:

HCL 74.5%

开源软件介绍:

This repository has been archived!

This IPFS-related repository has been archived, and all issues are therefore frozen. If you want to ask a question or open/continue a discussion related to this repo, please visit the official IPFS forums.

We archive repos for one or more of the following reasons:

  • Code or content is unmaintained, and therefore might be broken
  • Content is outdated, and therefore may mislead readers
  • Code or content evolved into something else and/or has lived on in a different place
  • The repository or project is not active in general

Please note that in order to keep the primary IPFS GitHub org tidy, most archived repos are moved into the ipfs-inactive org.

If you feel this repo should not be archived (or portions of it should be moved to a non-archived repo), please reach out and let us know. Archiving can always be reversed if needed.

jenkins

Configuration for IPFS's build system

WIP: In the process of being setup

You can get an overview of our progress at https://waffle.io/ipfs/jenkins

Development Environment Setup

Requirements

  • Docker

Instructions

username: admin
password: admin

Production Deploy

  • Run ./build-prod.sh on machine with access to our Quay registry
  • Run ./provsn exec jenkins "runuser -l jenkins -c 'cd jenkins/ && ./start-prod.sh $VERSION'" from ipfs/infrastructure replace $VERSION with which commit you want to deploy

Setting up new host

New hosts need:

  • Docker installed
  • Docker Login generated for Quay read-only access
  • User jenkins on host for file permissions in running container
  • Initial clone of ipfs/jenkins to home directory of jenkins user

Setting up new worker

Worker setup

Clone this repository to the worker and run ./worker/{debian,osx}-setup.sh, depending on what OS your worker is using.

Also, once docker is installed, make sure you login to Quay so images can be pushed to quay. You can find the details about this by clicking on the "ipfs+deployer" robot account over here: https://quay.io/organization/ipfs?tab=robots

Connecting to jenkins

Create a new entry by copying to already existing config/nodes/linux-01 to a new directory, replacing the values in config.xml of the node.

Once created, submit the changes and make a deploy of new jenkins. Once it's deployed, jenkins should automatically start the worker on your node.

Notes

Secrets are only valid for dev-environment. Make sure to only run jenkins in dev listening to 127.0.0.1 and not 0.0.0.0. Secrets are replaced when jenkins is deployed

When running in production, start-prod.sh require access to protocol/jenkins-secrets to be able to decrypt and apply production patch.

Running dev-environment

  • Have Github OAuth application setup
  • Replace SecretID and ClientID in config with dev tokens
  • Setup ngrok to redirect jenkins traffic
  • Change Github OAuth application to redirect to ngrok url



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
binstd/IPFS: IPFS中文文档发布时间:2022-06-23
下一篇:
AlgoveraAI/ipfspy: A python library by Algovera to interact with IPFS and IPFS e ...发布时间:2022-06-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap