Code Monkey home page Code Monkey logo

Comments (8)

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/150113066

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

It looks like the critical line here is:

  export BBL_STATE_DIR=${root_dir}/bbl-state/${BBL_STATE_DIR}

Essentially, our Concourse task would allow users to set their BBL_STATE_DIR to be relative to the bbl-state input, but we'd expand the relative path to the full path (based on the root_dir of the concourse build).

In that case, what does bbl expect BBL_STATE_DIR to look like -- a relative path or an absolute one? In the workflow you described, where a user copies the variables in their pipeline yaml, would bbl still be able to respect the relative path defined there?

from cf-deployment-concourse-tasks.

dsabeti avatar dsabeti commented on August 31, 2024

@evanfarrar Hey, any updates on this?

from cf-deployment-concourse-tasks.

evanfarrar avatar evanfarrar commented on August 31, 2024

Hey, sorry I missed this:

The BBL_STATE_DIR in bbl is fine being relative or absolute, we only expand it in the concourse task to incorporate the "bbl-state" parent directory scheme that cf-deployment-concourse follows. It could be expanded less fully in the task, if you prefer.

from cf-deployment-concourse-tasks.

dsabeti avatar dsabeti commented on August 31, 2024

Hey @evanfarrar. This sounds reasonable. I've updated the story:

Title:
As a Concourse user, I want the bbl-up task to expand BBL_STATE_DIR to a full path so that, eventually, bbl can use the value natively.

Acceptance Criteria:

  • BBL_STATE_DIR should be converted into a full path early on in the script, a la BBL_STATE_DIR=${root_dir}/bbl-state/BBL_STATE_DIR
  • Subsequent uses of BBL_STATE_DIR should be not have the bbl-state namespace as in this line:
    pushd "bbl-state/${BBL_STATE_DIR}"

How does that look?

from cf-deployment-concourse-tasks.

evanfarrar avatar evanfarrar commented on August 31, 2024

I have not answered this in forever but, that looks great.

from cf-deployment-concourse-tasks.

dsabeti avatar dsabeti commented on August 31, 2024

Yo @evanfarrar, do we still need to do this since the release of bbl 5? If so, I'll prioritize it.

from cf-deployment-concourse-tasks.

dsabeti avatar dsabeti commented on August 31, 2024

Hey, I'm going to close this out since I don't think we need to do this after all. Feel free to re-open it if you think this would still be valuable.

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.