Code Monkey home page Code Monkey logo

Comments (5)

cf-gitbot avatar cf-gitbot commented on August 31, 2024

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

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

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

from cf-deployment-concourse-tasks.

dsabeti avatar dsabeti commented on August 31, 2024

Hey @medvedzver, thanks for opening this issue.

I think it could make sense to create a new task, or extend the existing ones, to accommodate this workflow. I'm curious to see what else other teams need as they start to use these tasks, so I'll wait on this for a while to get more input.

from cf-deployment-concourse-tasks.

aashah avatar aashah commented on August 31, 2024

The CAPI team has a similar situation in that we make commits to cloud_controller_ng which is a submodule for our capi-release.

The way we solved this problem was to bosh create-release our capi-release from a separate task/job and upload the release on our own. We also created an ops-file to have cf-deployment use the latest version of the release that's been uploaded. We used the bosh-deploy task instead of bosh-deploy-with-created-release.

from cf-deployment-concourse-tasks.

dsabeti avatar dsabeti commented on August 31, 2024

Hey @medvedzver and @aashah.

I'm trying to think how this would be accommodated. The task interface might look like this:

inputs:
- name: bbl-state
- name: cf-deployment
- name: cf-deployment-concourse-tasks
- name: ops-files
- name: release
- name: vars-store

outputs:
- name: updated-vars-store

params:
  BBL_STATE_DIR:
  MANIFEST_FILE: cf-deployment.yml
  OPS_FILES:
  SYSTEM_DOMAIN:
  VARS_STORE_FILE: deployment-vars.yml
  REGENERATE_VARS_STORE: false

# ^^ Existing configuration

  BUMP_SUBMODULE: false
  SUBMODULE_PATH: ~
  SUBMODULE_TARGET_BRANCH: ~

This would be the default, which keep the existing behavior. If you wanted to bump a submodule, you'd update configure your pipeline:

BUMP_SUBMODULE: true
SUBMODULE_PATH: src/uaa
SUBMODULE_TARGET_BRANCH: develop

Before the bosh deploy actually happens, the task would do the equivalent of

pushd $SUBMODULE_PATH
  git co $SUBMODULE_TARGET_BRANCH
popd

Would that cover your use case?

(I realize that this looks like an implementation, but I'm actually trying to discover the desired behavior/interface here.)

from cf-deployment-concourse-tasks.

davewalter avatar davewalter commented on August 31, 2024

Closing due to inactivity.

from cf-deployment-concourse-tasks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.