Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/herrjulz/cube-release-ci
https://github.com/herrjulz/cube-release-ci
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/herrjulz/cube-release-ci
- Owner: herrjulz
- Created: 2018-01-19T09:19:32.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-22T15:01:49.000Z (over 6 years ago)
- Last Synced: 2024-10-28T13:32:36.753Z (2 months ago)
- Language: Shell
- Size: 110 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Eirini CI
CI Resources for [cube-release](https://github.com/andrew-edgar/cube-release)
## Pipelines
- [Eirini-CI](https://flintstone.ci.cf-app.com/teams/cube/pipelines/eirini-release-ci)
- [Eirini-Dev](https://flintstone.ci.cf-app.com/teams/eirini/pipelines/eirini-dev)## Access
There are two ways to access our Concourse server:
1. GitHub OAuth
To be able to login via Github you will need to be member of the `cf-cube-ci/cube` team.
1. LastPass
- [LastPass](https://lastpass.com) account,
- install the [LastPass CLI](https://github.com/lastpass/lastpass-cli), and
- contact the cube development team to share the login with you.After you got all these things, run the following to login via `fly`:
```
fly -t login \
-c https://flintstone.ci.cf-app.com \
-u \
-p $(lpass show "" --password) \
--team-name
```## Development
### Prereqs
- Access to private repo, which contains environment specific vars
- Install [Aviator](https://github.com/JulzDiverse/aviator) (used to merge pipeline YAML files)### Fly `eirini-ci`/`eirini-dev`
1. export the `KUBECONFIG` environment variable and point it to corresponding kubernetes config file
1. Execute the provided `./fly.sh` script as follows:
```
$ ./fly.sh
```This will use aviator to spruce the required pipeline.yml and fly the pipeline to your concourse target.
### Create a full new Development pipeline
**Further Prereqs**
- Clone [1-click-pipeline](https://github.com/petergtz/1-click-bosh-lite-pipeline) to your local machine
- Make sure you have access to the Flintstone Softlayer account with rights to create VMs.**Fly**
1. Create the director manifest as described in the [1-click-pipeline](https://github.com/petergtz/1-click-bosh-lite-pipeline/#creating-a-bosh-lite-using-a-concourse-management-pipeline) README.
1. Create the `eirini-full.yml` file using aviator:
`$ ONE_CLICK= aviator -f aviator/eirini-full.yml`
1. In the `eirini-private-config` repo you can find a `eirini-full.yml` property file (located in the `concourse/env` dir). Copy the file and provide the necessary information.
1. export the `KUBECONFIG` environment variable and point it to corresponding kubernetes config file
1. Run fly as follows:
```
$ fly -t flintstone \
set-pipeline \
-p \
-c eirini-full.yml \
-v bosh-manifest="$(sed -e 's/((/_(_(/g' )" \
-l \
-l \
--var "kube_conf=$(kubectl config view --flatten)"
```