Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

bosh deploy manifest/cfcr.yml doesn't "just work" #279

Closed
drnic opened this issue Mar 15, 2018 · 8 comments
Closed

bosh deploy manifest/cfcr.yml doesn't "just work" #279

drnic opened this issue Mar 15, 2018 · 8 comments

Comments

@drnic
Copy link
Contributor

drnic commented Mar 15, 2018

As per manifests/README.md:

$ bosh deploy manifest/cfcr.yml
...
Task 6 | 00:55:19 | Preparing deployment: Preparing deployment (00:00:00)
                   L Error: Release 'kubo' doesn't exist

Can we please start automatically updating cfcr.yml with the latest kubo + other release versions?

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/155998950

The labels on this github issue will be updated when the story is started.

@cppforlife
Copy link
Contributor

+1000, i keep on having problem wiht this as well. preferable let's update with compiled releases.

@karampok karampok assigned glestaris and unassigned karampok Apr 4, 2018
@glestaris
Copy link
Contributor

Hey @drnic / @cppforlife, given that CFCR is still pre-1.0 and that things are still fairly fluid, the team discussed postponing making this commitment for a bit longer. I personally think this is a good pattern, but it could lead to several issues if enabled today.

An example of that is #287.

cc @karampok

@drnic
Copy link
Contributor Author

drnic commented Apr 6, 2018

At CF Summit I'm giving a talk based around the PR I did last year and the 'it just works' concept for BOSH operators. I understand that your priorities aren't my CF Summit talk :)

So, I spent yesterday + today and came up with CI pipeline to pre-compile everything (except bosh-dns 0.2.0 which fails) and reconstruct a new cfcr.yml - https://github.com/starkandwayne/cfcr-compiled-deployment

Give the following one-liner a go:

bosh -d cfcr deploy <(curl -L https://raw.githubusercontent.com/starkandwayne/cfcr-compiled-deployment/master/cfcr.yml)

@iainsproat iainsproat assigned mordebites and unassigned glestaris Jul 20, 2018
@giner
Copy link

giner commented Aug 1, 2018

There is no big difference between downloading / uploading a tarball and specifying URL to this tarball in manifest as under the hood bosh cli is doing the same thing. Can somebody clarify why cannot we just add the following to the manifest?

releases:
- name: kubo
  url: https://bosh.io/d/github.com/cloudfoundry-incubator/kubo-release?v=0.19.0
  sha1: 03a540bbe32e074abd9eb41503b9e39d29a1321d
  version: 0.19.0

@drnic
Copy link
Contributor Author

drnic commented Aug 1, 2018

All that is required is a step in CI to update cfcr.yml

Some sample scripts to do this are in https://github.com/starkandwayne/pipeline-templates/tree/master/boshrelease

@alex-slynko
Copy link
Member

Starting from now on, master branch will be always deployable 🎉

@drnic
Copy link
Contributor Author

drnic commented Sep 28, 2018

releases:
- name: kubo
sha1: e4b157aee849be24062d5255607b5696ef2ab524
url: https://github.com/cloudfoundry-incubator/kubo-release/releases/download/v0.22.0/kubo-release-0.22.0.tgz
version: 0.22.0

Great work!

lubronzhan pushed a commit to vmware-archive/pks-kubo-deployment that referenced this issue Apr 18, 2019
…cubator#279)

* Enable encryption config yaml file

* Making encryption-config optional
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants