{"id":17877114,"url":"https://github.com/herrjulz/cube-release-ci","last_synced_at":"2025-04-03T00:43:09.402Z","repository":{"id":69923581,"uuid":"118104092","full_name":"herrjulz/cube-release-ci","owner":"herrjulz","description":null,"archived":false,"fork":false,"pushed_at":"2018-05-22T15:01:49.000Z","size":113,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-08T15:14:03.873Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/herrjulz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-19T09:19:32.000Z","updated_at":"2018-05-22T15:01:50.000Z","dependencies_parsed_at":"2023-03-11T07:34:11.729Z","dependency_job_id":null,"html_url":"https://github.com/herrjulz/cube-release-ci","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herrjulz%2Fcube-release-ci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herrjulz%2Fcube-release-ci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herrjulz%2Fcube-release-ci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herrjulz%2Fcube-release-ci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/herrjulz","download_url":"https://codeload.github.com/herrjulz/cube-release-ci/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246916743,"owners_count":20854511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-28T11:45:22.218Z","updated_at":"2025-04-03T00:43:09.381Z","avatar_url":"https://github.com/herrjulz.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Eirini CI\n\nCI Resources for [cube-release](https://github.com/andrew-edgar/cube-release)\n\n## Pipelines\n\n- [Eirini-CI](https://flintstone.ci.cf-app.com/teams/cube/pipelines/eirini-release-ci)\n- [Eirini-Dev](https://flintstone.ci.cf-app.com/teams/eirini/pipelines/eirini-dev)\n\n## Access \n\nThere are two ways to access our Concourse server:\n\n1. GitHub OAuth\n\nTo be able to login via Github you will need to be member of the `cf-cube-ci/cube` team. \n\n1. LastPass\n\n- [LastPass](https://lastpass.com) account,  \n- install the [LastPass CLI](https://github.com/lastpass/lastpass-cli), and \n- contact the cube development team to share the login with you.\n\nAfter you got all these things, run the following to login via `fly`:\n\n```\nfly -t \u003calias\u003e login \\\n   -c https://flintstone.ci.cf-app.com \\\n   -u \u003cuser-name\u003e \\\n   -p $(lpass show \"\u003ckey-name\u003e\" --password) \\\n   --team-name \u003cteam-name\u003e\n```\n\n## Development\n\n### Prereqs\n\n- Access to private repo, which contains environment specific vars\n- Install [Aviator](https://github.com/JulzDiverse/aviator) (used to merge pipeline YAML files)\n\n### Fly `eirini-ci`/`eirini-dev`\n\n1. export the `KUBECONFIG` environment variable and point it to corresponding kubernetes config file\n\n1. Execute the provided `./fly.sh` script as follows:\n\n```\n$ ./fly.sh \u003cCONCOURSE-ALIAS\u003e \u003ceirini-ci|eirini-dev\u003e \u003cPATH-TO-PRIVATE-REPO\u003e\n```\n\nThis will use aviator to spruce the required pipeline.yml and fly the pipeline to your concourse target.\n\n### Create a full new Development pipeline\n\n**Further Prereqs**\n\n- Clone [1-click-pipeline](https://github.com/petergtz/1-click-bosh-lite-pipeline) to your local machine\n- Make sure you have access to the Flintstone Softlayer account with rights to create VMs. \n\n**Fly**\n\n1. 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.\n\n1. Create the `eirini-full.yml` file using aviator:\n\n`$ ONE_CLICK=\u003cpath-to-1-click-pipeline\u003e aviator -f aviator/eirini-full.yml`\n\n\n1. 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. \n\n1. export the `KUBECONFIG` environment variable and point it to corresponding kubernetes config file\n\n1. Run fly as follows:\n\n```\n$ fly -t flintstone \\\n  set-pipeline \\\n    -p \u003cPIPELINE-NAME\u003e \\\n    -c eirini-full.yml \\\n    -v bosh-manifest=\"$(sed -e 's/((/_(_(/g' \u003cPATH-TO-DIRECTOR-MANIFEST\u003e )\" \\\n    -l \u003cPATH-TO-VARS-FILE\u003e \\\n    -l \u003cPATH-TO-COMMON-VARS-FILE\u003e \\\n    --var \"kube_conf=$(kubectl config view --flatten)\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherrjulz%2Fcube-release-ci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fherrjulz%2Fcube-release-ci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherrjulz%2Fcube-release-ci/lists"}