Skip to content

Commit

Permalink
Merge pull request #48 from dmcnaught/master
Browse files Browse the repository at this point in the history
fix(build): remove auto Procfile lookup for deis pull
  • Loading branch information
Cryptophobia authored Mar 4, 2020
2 parents 6846398 + 90bd541 commit 0b3ca9e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
9 changes: 0 additions & 9 deletions cmd/builds.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,6 @@ func (d *DeisCmd) BuildsCreate(appID, image, procfile string) error {
if procfileMap, err = parseProcfile([]byte(procfile)); err != nil {
return err
}
} else if _, err := os.Stat("Procfile"); err == nil {
contents, err := ioutil.ReadFile("Procfile")
if err != nil {
return err
}

if procfileMap, err = parseProcfile(contents); err != nil {
return err
}
}

d.Print("Creating build... ")
Expand Down
3 changes: 1 addition & 2 deletions parser/builds.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ Options:
func buildsCreate(argv []string, cmdr cmd.Commander) error {
usage := `
Creates a new build of an application. Imports an <image> and deploys it to Deis
as a new release. If a Procfile is present in the current directory, it will be used
as the default process types for this application.
as a new release.
Usage: deis builds:create <image> [options]
Expand Down

0 comments on commit 0b3ca9e

Please sign in to comment.