Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/gocd] Easier GoCD agent-only (no server). #7332

Merged
merged 4 commits into from
Aug 29, 2018

Conversation

MPV
Copy link
Contributor

@MPV MPV commented Aug 24, 2018

What this PR does / why we need it:
This change can be helpful if you'd like to use this chart for "agent only" deployment.

For example if you'd like to reuse long-running GoCD agents instead of letting the Elastic Agents plugin create a new agent for each job, as per gocd/kubernetes-elastic-agents#53.

To disable the GoCD server of this chart, this is what you needed to do before this change:

server:
  enabled: false
  ingress:
    enabled: false
  persistence:
    enabled: false

...and after:

server:
  enabled: false

Special notes for your reviewer:
Open to feedback if you think this makes sense.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Aug 24, 2018
@MPV
Copy link
Contributor Author

MPV commented Aug 24, 2018

(I haven't updated the CHANGELOG.md or bumped the chart version yet, but I'll do that if you think this change makes sense in general)

@MPV
Copy link
Contributor Author

MPV commented Aug 24, 2018

/assign @varshavaradarajan

@GaneshSPatil
Copy link
Collaborator

@MPV -- Thanks for the PR. I understand your point.
Agent Only deployment should be implicit and should not create any server related k8s resources if server.enabled is false. Rather than setting multiple flags for no-server deployment, it should use just one server.enabled flag.

@GaneshSPatil
Copy link
Collaborator

@MPV - The lint is failing for bump-up chart version.
can you bump up the chart version and update the changelog?

Copy link
Collaborator

@GaneshSPatil GaneshSPatil left a comment

Choose a reason for hiding this comment

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

can you bump up the chart version and update the changelog?

@mattfarina mattfarina added the Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). label Aug 27, 2018
@MPV
Copy link
Contributor Author

MPV commented Aug 28, 2018

@GaneshSPatil Chart version and changelog bumped.

I don't see the changes in the pull request yet though, but maybe it'll arrive soon, as I see them in my fork branch: master...MPV:gocd-server-enabled

Signed-off-by: Victor Sollerhed <victor.sollerhed@pagero.com>
Signed-off-by: Victor Sollerhed <victor.sollerhed@pagero.com>
@ey-bot ey-bot added the Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). label Aug 28, 2018
@MPV
Copy link
Contributor Author

MPV commented Aug 29, 2018

/retest

@k8s-ci-robot
Copy link
Contributor

@MPV: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@MPV
Copy link
Contributor Author

MPV commented Aug 29, 2018

Would you like to trigger tests @GaneshSPatil ? 😊

@GaneshSPatil
Copy link
Collaborator

@MPV -- The circleci lint is failing for bump up chart version. I can see that you've updated changelog file, but I don't see any changes in the Chart.yaml file.
Would you mind bumping up the chart version in Chart.yaml too ?

@GaneshSPatil
Copy link
Collaborator

/assign @maheshp

@k8s-ci-robot
Copy link
Contributor

@GaneshSPatil: GitHub didn't allow me to assign the following users: maheshp.

Note that only helm members and repo collaborators can be assigned.
For more information please see the contributor guide

In response to this:

/assign @maheshp

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Signed-off-by: Victor Sollerhed <victor.sollerhed@pagero.com>
@ey-bot ey-bot added the Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). label Aug 29, 2018
@MPV
Copy link
Contributor Author

MPV commented Aug 29, 2018

@GaneshSPatil @maheshp Mea culpa. Now the Chart.yaml is bumped too. ✅
It got lost in the merge before, but it's added again now.

@GaneshSPatil
Copy link
Collaborator

/ok-to-test

@k8s-ci-robot k8s-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 29, 2018
@MPV
Copy link
Contributor Author

MPV commented Aug 29, 2018

Tests green ✅

Just needs LGTM / approved labels, if you agree @GaneshSPatil @varshavaradarajan ?

@davidkarlsen
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 29, 2018
@davidkarlsen
Copy link
Member

/approve

@GaneshSPatil
Copy link
Collaborator

/approve /lgtm

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: davidkarlsen, GaneshSPatil, MPV

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 29, 2018
@k8s-ci-robot k8s-ci-robot merged commit b59c7c9 into helm:master Aug 29, 2018
@ey-bot ey-bot added the Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). label Aug 29, 2018
@GaneshSPatil
Copy link
Collaborator

@MPV -- Thanks again for the contribution!

@MPV MPV deleted the gocd-server-enabled branch August 30, 2018 14:14
@MPV
Copy link
Contributor Author

MPV commented Aug 30, 2018

Thanks all involved for your help. ❤️

ishabalin pushed a commit to NinthDecimal/charts that referenced this pull request Sep 3, 2018
* [stable/gocd] Easier GoCD agent-only (no server).

Signed-off-by: Victor Sollerhed <victor.sollerhed@pagero.com>

* [stable/gocd] Bump Chart+Changelog for 1.3.3, agent-only deployment

Signed-off-by: Victor Sollerhed <victor.sollerhed@pagero.com>

* [stable/gocd] Bump chart version to 1.3.4

Signed-off-by: Victor Sollerhed <victor.sollerhed@pagero.com>
Signed-off-by: ishabalin <ishabalin@ninthdecimal.com>
marekaf pushed a commit to marekaf/charts that referenced this pull request Sep 4, 2018
* [stable/gocd] Easier GoCD agent-only (no server).

Signed-off-by: Victor Sollerhed <victor.sollerhed@pagero.com>

* [stable/gocd] Bump Chart+Changelog for 1.3.3, agent-only deployment

Signed-off-by: Victor Sollerhed <victor.sollerhed@pagero.com>

* [stable/gocd] Bump chart version to 1.3.4

Signed-off-by: Victor Sollerhed <victor.sollerhed@pagero.com>
Signed-off-by: Marek Bartik <mab@revolgy.com>
Signed-off-by: Marek Bartik <bartimar6@gmail.com>
jicowan pushed a commit to jicowan/charts that referenced this pull request Oct 2, 2018
* [stable/gocd] Easier GoCD agent-only (no server).

Signed-off-by: Victor Sollerhed <victor.sollerhed@pagero.com>

* [stable/gocd] Bump Chart+Changelog for 1.3.3, agent-only deployment

Signed-off-by: Victor Sollerhed <victor.sollerhed@pagero.com>

* [stable/gocd] Bump chart version to 1.3.4

Signed-off-by: Victor Sollerhed <victor.sollerhed@pagero.com>
Signed-off-by: jenkin-x <jicowan@hotmail.com>
Jnig pushed a commit to Jnig/charts that referenced this pull request Nov 13, 2018
* [stable/gocd] Easier GoCD agent-only (no server).

Signed-off-by: Victor Sollerhed <victor.sollerhed@pagero.com>

* [stable/gocd] Bump Chart+Changelog for 1.3.3, agent-only deployment

Signed-off-by: Victor Sollerhed <victor.sollerhed@pagero.com>

* [stable/gocd] Bump chart version to 1.3.4

Signed-off-by: Victor Sollerhed <victor.sollerhed@pagero.com>
Signed-off-by: Jakob Niggel <info@jakobniggel.de>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants