目录

routing-ci

Deprecation Notice

This repo is deprecated. If you use tasks or pipelines in this repo, please reach out to cf-networking@pivotal.io


Public configuration for the CF Routing team’s CI pipelines

CI Dashboard: dashboard.routing.cf-app.com

Dashboard config

DNS

  • cf-app.com base domain includes an NS record that delegates routing.cf-app.com to DNS Zone routing-team
  • CNAME record axxxxxxxl.routing.cf-app.com is required for domain verification. If you remove it, everything breaks!
  • Then dashboard.routing.cf-app.com is a CNAME for c.storage.googleapis.com in order to support GCP Static Website Hosting

Storage

  • There’s a GCP storage bucket for dashboard.routing.cf-app.com
  • It is configured to serve the contents of the index.html file in the storage bucket
  • That file defines a simple iframe that uses the htmlpreview.github.io
    curl dashboard.routing.cf-app.com
    ...
        <iframe src="http://htmlpreview.github.io/?https://github.com/cloudfoundry/routing-ci/blob/master/public-dashboard.html"></iframe>
  • the html preview is of the public-dashboard.html file in this repo
  • that file contains its own iframes to show various views from our Concourse server

Why use two layers of indirection?

We could put the Concourse iframes directly in the index.html file. But that file is difficult to update: you have to use the GCP console, or GCP API. This way, we can make changes to the dashboard layout with a simple git push to this repo.

Helper Scripts

There are a handful of helper scripts and functions in the /scripts directory. To use them, add the directory to your path and source the directory:

For cf_login and bosh_login to environments:

source ~/workspace/routing-ci/scripts/script_helpers.sh
cf_login <env_name>

For local bosh-lite management:

export PATH=$PATH:$(pwd)/scripts
local_bosh_lite_create
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号