GithubHelp home page GithubHelp logo

routing-ci's Introduction

routing-ci

Deprecation Notice

This repo is deprecated. If you use tasks or pipelines in this repo, please reach out to [email protected]


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

routing-ci's People

Contributors

aaronshurley avatar rosenhouse avatar nhsieh avatar nino-k avatar utako avatar charleshansen avatar flawedmatrix avatar tylerschultz avatar angelachin avatar ndhanushkodi avatar anonymouscommitter avatar shubhaat avatar njbennett avatar eleanorrigby avatar ameowlia avatar belinda-liu avatar bruce-ricard avatar christianang avatar jberkhahn avatar jpalermo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.