GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Customize the working directory · Issue #149 · stackbuilders/hapistrano

Customize the working directory #149

New issue
Copy link
New issue
Copy link
Closed
Closed
Customize the working directory#149
Copy link
Labels
enhancementfeature

Description

@sestrella
sestrella
opened on Jan 18, 2021
Issue body actions

Having a way to customize the working directory is useful for scenarios where
different components of an app reside inside the same repository (monorepo),
many CI allows to customize the working directory before running a set of steps
making each line less verbose. Let's consider a repo with the following structure:

backend/
frontend/

Right now in order to run a task inside a specific folder is it necessary to
perform a cd before each command:

build_script:
  - cd backend && stack setup
  - cd backend && stack build

The previous configuration could be rewritten as follow by adding a
working_directory parameter in the configuration file:

...
working_directory: backend
build_script:
  - stack setup
  - stack build

Activity

  1. juanpaucar
    added
    enhancement
    feature
    on Jan 18, 2021
  2. juanpaucar
    added a commit that references this issue on Jun 11, 2021

    Merge pull request #155 from stackbuilders/add_working_directory

    ffbe5b6
  3. CristhianMotoche commented on Mar 22, 2022

    @CristhianMotoche
    CristhianMotoche
    on Mar 22, 2022
    Collaborator
    More actions

    Hey @sestrella Was this issue fixed successfully by #155 ?

  4. sestrella commented on Mar 23, 2022

    @sestrella
    sestrella
    on Mar 23, 2022
    ContributorAuthor
    More actions

    @CristhianMotoche yes, I think this issue is solved by #155

  5. sestrella
    closed this as completedon Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementfeature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.