Skip to content
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

Documentation on the CI build system. #152

Merged
merged 1 commit into from
Mar 27, 2018

Conversation

markmandel
Copy link
Collaborator

From #149 - realised we needed at least a note explaining how the build system works.

@markmandel markmandel added the kind/documentation Documentation for Agones label Mar 27, 2018
@markmandel
Copy link
Collaborator Author

/cc @pondohva I added some details on the current CI system, PTAL and see if anything else needs to be added.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 545d36fd-2631-4d6e-83c9-9aa8ca13716f

The following development artifacts have been built, and will exist for the next 30 days:

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: b88ca62e-4e8d-4dd8-87c1-eea07b2995c9

The following development artifacts have been built, and will exist for the next 30 days:

@agadelshin
Copy link

There is nice example we can adopt for helm chart https://github.com/kubernetes/charts/tree/master/test/circle

For helm we need to have a:

  1. CI system where we can run lint and package commands
  2. storage (I prefer google cloud storage for this, also we can use github pages or smth else)

Also, we can contribute to kubernetes/charts repo agones helm chart from #149. This repo is a common place to look for helm charts, they provide CI system and 2 repos: https://kubernetes-charts.storage.googleapis.com and https://kubernetes-charts-incubator.storage.googleapis.com

@@ -31,5 +31,16 @@ Participation in this project comes under the [Contributor Covenant Code of Cond
- Once review has occurred, please rebase your PR down to a single commit. This will ensure a nice clean Git history.
- Finally - *Thanks* for considering submitting code to Agones!

## Continuous Integration

Choose a reason for hiding this comment

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

nice!

@agadelshin
Copy link

We need to add go lint/go vet and tests for golang code also.

@markmandel
Copy link
Collaborator Author

@pondohva we run the go tests on every build, see here in the cloudbuild.yaml.

While gometalinter is part of the build image (and therefore shell), I'm reticent to make it part of the test/build pipeline, just because of the propensity for it to raise false positives, and also because it doesn't ignore generated files - of which there are quite a few in this project between gRPC and generated CRD apis. (Also see this issue).

That being said, if you feel that there are places in which we can do a more on the testing front - or feel you have a way to work around the above issues, definitely submit a PR to the cloudbuild.yaml and supporting test suite.

@cyriltovena
Copy link
Collaborator

cyriltovena commented Mar 27, 2018

I agree with @pondohva we should have a CI for the helm package when #149 is closed.

issue created #153

@markmandel
Copy link
Collaborator Author

Any reason I can't get an approval on this PR though, so I can get it merged? 😄

Copy link
Collaborator

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

LGTM

@cyriltovena cyriltovena merged commit 2bfabe4 into googleforgames:master Mar 27, 2018
@markmandel markmandel deleted the docs/ci-system branch March 27, 2018 22:27
@markmandel
Copy link
Collaborator Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Documentation for Agones
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants