Skip to content

Add golang source detector for new-app#12485

Merged
openshift-bot merged 1 commit intoopenshift:masterfrom
coreydaley:github_12417_go_detector
Jan 14, 2017
Merged

Add golang source detector for new-app#12485
openshift-bot merged 1 commit intoopenshift:masterfrom
coreydaley:github_12417_go_detector

Conversation

@coreydaley
Copy link

Adding golang source detector for oc new-app,
looks for main.go and Godeps

Fixes issue #12417

Adding golang source detector for oc new-app,
looks for main.go and Godeps

Fixes issue #12417
@coreydaley coreydaley requested a review from bparees January 13, 2017 20:05
@coreydaley
Copy link
Author

[test]

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 77b08ef

@bparees
Copy link
Contributor

bparees commented Jan 13, 2017

lgtm [merge]

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 77b08ef

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/12856/) (Base Commit: 398ca1a)

@openshift-bot
Copy link
Contributor

openshift-bot commented Jan 14, 2017

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/12877/) (Base Commit: 13074d4) (Image: devenv-rhel7_5679)

@openshift-bot openshift-bot merged commit e696f47 into openshift:master Jan 14, 2017
@coreydaley coreydaley deleted the github_12417_go_detector branch January 14, 2017 17:41

// DetectGolang detects Go source
func DetectGolang(dir string) *Info {
return detect("golang", dir, "main.go", "Godeps")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use *.go here, similar to *.csproj for .NET? At the moment s2i-go requires a main.go file, but I would like to fix that limitation eventually, to be able to run arbitrary programs (given a go install-style path)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, please submit a PR adding *.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants