Skip to content

Commit

Permalink
flow activated for update and maintain
Browse files Browse the repository at this point in the history
  • Loading branch information
clarsonneur committed Feb 2, 2018
1 parent 5d65f27 commit 606365a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions maintain.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ func (a *Forj) Maintain() error {

// Now, we are in the infra repo root directory and at least, the 1st commit exist.

if err := a.FlowInit(); err != nil {
return err
}
// Load drivers from forjj-options.yml
// loop from options/Repos and keep them in a.drivers

Expand Down
5 changes: 3 additions & 2 deletions update.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ func (a *Forj) Update() error {

// Now, we are in the infra repo root directory and at least, the 1st commit exist.

// TODO: flow_start to execute instructions before updating source code for existing apps in appropriate branch. Possible if a flow is already implemented otherwise git must stay in master branch
// flow_start()
if err := a.FlowInit(); err != nil {
return err
}

// Disabled as not ready.
//if err := a.MoveToFixBranch(*a.Actions["update"].argsv["branch"]) ; err != nil {
Expand Down

0 comments on commit 606365a

Please sign in to comment.