Comments (3)
as a workaround, for bosh-releases dependency, you could define a dedicated alias in deployment-dependency, which can define a specific version in xxx-depls-versions
deployment-dependencies.yml
---
deployment:
ntp:
stemcells:
bosh-openstack-kvm-ubuntu-trusty-go_agent:
releases:
ntpv10_boshrelease:
base_location: https://bosh.io/d/github.com/
repository: cloudfoundry-community/ntp-release
xxx-depls-versions.yml
ntp_boshrelease-version: 4
ntpv10_boshrelease-version: 10
from cf-ops-automation.
Met the issue with the snyk deployment in master-depls which is requiring a pinned version of the xenial stemcell (version 60 w.r.t. latest which is 81)
We considered a workaround using ops file to modify the manifest. However, the concourse resource used by COA first interpolates manifest using the bosh director api call, and then modify the resulting manifest.
See https://github.com/cloudfoundry/bosh-deployment-resource#parameters-1
stemcells: Optional. An array of globs that should point to where the stemcells used in the deployment can be found. Stemcell entries in the manifest with version 'latest' will be updated to the actual provided stemcell versions.
See
https://github.com/cloudfoundry/bosh-deployment-resource/blob/master/out/out_command.go#L83-L86 and
https://github.com/cloudfoundry/bosh-deployment-resource/blob/9c70a78277a6681e728b12de265fe9400382eb0a/bosh/deployment_manifest.go#L42
We then tried to declare additional stemcells in the manifest file which do not specify the latest
version and should be ignored by the concourse resource
stemcells:
- alias: default
os: ubuntu-trusty
version: latest
- alias: xenial
os: ubuntu-xenial
version: 60
The xenial stemcell would be uploaded using the deploy.sh script using bosh upload-stemcell specifying sha1
from cf-ops-automation.
Moving back to be reviewed following version conflicts experienced in COAB:
- among dedicated service instances that may require different version of a given bosh release (e.g. cf-mysql-release)
- among bosh releases shared by multiple bosh releases, with incompatible versions (e.g. cf-routing-release or haproxy-release
from cf-ops-automation.
Related Issues (20)
- Replace deprecated docker images
- Leverage icons to ease resource identification
- Quick overview of bosh release versions used by a root deployment
- bump terraform flexible engine to version 1.11 HOT 1
- Improve secrets repository update robustness
- Tfstate changes not detected after tf apply
- CF7 & Cf app zero downtime deployment
- cloud-config and runtime-config credhub interpolation should not block
- Add support for bosh resurrection-config
- explicit concourse job failure when terraform plan exhibits discrepancy
- precompilation should manage per iaas-type bosh release
- Recreate WIP branch does not handle submodules properly HOT 1
- Use valid name in concourse pipelines
- Add rate limiting on bosh release precompilations
- Include git metadata in bosh manifest
- Contact SNCF HOT 1
- precompile pipeline manage bosh release defined in runtime config HOT 1
- Dependency Dashboard
- Properly detect errors in precompile pipelines HOT 1
- Precompile pipeline handle bosh error during push-bosh job in repackage-releases-fallback task
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cf-ops-automation.