-
Notifications
You must be signed in to change notification settings - Fork 580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial golang tasks #43
Conversation
This adds initial golang tasks : build (`golang-build`), tests (`golang-tests`) and linting (`golangci-lint`, using golangci-lint). Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vdemeester The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
targetPath: src/${inputs.params.package} | ||
steps: | ||
- name: lint | ||
image: golangci/golangci-lint:${inputs.params.version} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think there's any benefit in having the default include the :
, which would allow users to request a version by digest (version: @sha256:...
) or specify ""
to get :latest
(less useful)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, very good point ! I think it make sense indeed 👼
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping, still see version
's default without the :
This'll also need an update to _default:_s in README.md
(I've removed |
/lgtm |
/test pull-tekton-catalog-integration-tests |
Changes
Related to tektoncd/pipeline#954 and tektoncd/pipeline#949, this provides initial Tasks for Golang.
This adds initial golang tasks : build (
golang-build
), tests (golang-tests
) and linting (golangci-lint
, using golangci-lint).Improvements (todos):
Output
Resources: either of typegit
orstorage
?Closes tektoncd/pipeline#532
Closes tektoncd/pipeline#558
/cc @chmouel @bobcatfish
Signed-off-by: Vincent Demeester vdemeest@redhat.com
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide
for more details.