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
cf-app.com
base domain includes an NS record that delegatesrouting.cf-app.com
to DNS Zonerouting-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 forc.storage.googleapis.com
in order to support GCP Static Website Hosting
- 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 thehtmlpreview.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
iframe
s to show various views from our Concourse server
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.
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