Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 21:37
    ibnc synchronize #5756
  • Jan 31 2019 20:02
    ibnc synchronize #5756
  • Jan 31 2019 19:07
    arvindsv commented #3304
  • Jan 31 2019 19:06
    arvindsv commented #3304
  • Jan 31 2019 18:59
    varshavaradarajan synchronize #5791
  • Jan 31 2019 18:24
    ibnc synchronize #5756
  • Jan 31 2019 18:11
    mushycode commented #3304
  • Jan 31 2019 17:29
    GaneshSPatil opened #5797
  • Jan 31 2019 15:22
    arvindsv unpinned #5776
  • Jan 31 2019 15:07
    arvindsv commented #3304
  • Jan 31 2019 15:07
    arvindsv commented #3304
  • Jan 31 2019 14:59
    arvindsv commented #5796
  • Jan 31 2019 14:09
    akshaydewan commented #5796
  • Jan 31 2019 13:21
    maheshp commented #5796
  • Jan 31 2019 12:42
    ketan commented #5795
  • Jan 31 2019 12:39
    ketan commented #5795
  • Jan 31 2019 12:38
    JorritSalverda commented #5795
  • Jan 31 2019 12:35
    JorritSalverda commented #5795
  • Jan 31 2019 12:35
    JorritSalverda closed #5795
  • Jan 31 2019 12:00
    mushycode commented #3304
Satya Elipe
@selipe:matrix.org
[m]
@chadlwilson: thanks.
thats ☝️my elastic profile id, and it works in yaml files and this is the very first time im trying with goovy files.
Chad Wilson
@chadlwilson
I'm not sure. Do other changes/edits to the groovy config get picked up? What appears in the Job Settings when viewed in the UI?
Satya Elipe
@selipe:matrix.org
[m]
You think this could be a side effect of that ?
I dont think but I think need to wait until thos away to check Job Settings.
Chad Wilson
@chadlwilson
I'm not sure what you mean. You said earlier it didn't "take any effect", not that your pipelines weren't loading. :-) But you probably should take a look at what the reason for that error is.
Satya Elipe
@selipe:matrix.org
[m]
I see this pipeline fetching issue for all the pipelines so thats not related to that ...
Chad Wilson
@chadlwilson
Let's say the pipeline fetching issue is due to some config loading problem from disk. If you have such a problem it also might explain a config repo change not taking effect.
Satya Elipe
@selipe:matrix.org
[m]
Hmm, I think I see this pipelines fetching issue way after my tests are done.
Also, my commit with elasticProfileId change triggered the job, but was just waiting for the agent to be launched.
Chad Wilson
@chadlwilson
image.png
Please look at the job settings in the UI to see whether the correct elastic profile ID is reflected for the job. e.g
Satya Elipe
@selipe:matrix.org
[m]
I think I had another try introducing the elastic profile and that caused the go service to stuck hence I think my later try (right way ) did not picked up
That was the server log at the moment
Chad Wilson
@chadlwilson
You should be seeing that error on the Config Repositories page for the Groovy repo and also probably flagged as an error on the dashboard header as well.
Satya Elipe
@selipe:matrix.org
[m]
But wondering why should a wrong parameter cause an exception and stopped server itself ?

You should be seeing that error on the Config Repositories page for the Groovy repo and also probably flagged as an error on the dashboard header as well.

Yes, Im see that error on the UI but was thinking it was old and not refreshed.

but rather server was stuck and thrown an exception with wrong param
Chad Wilson
@chadlwilson

Sorry, you're not really describing a problem I can comment on. It looked like your server was running just fine, it just won't process the update to your Groovy configuration repo until you fix the errors in it, and will keep the previous configuration.

Better to understand and fix errors that are displayed rather than assume they are unrelated, especially when reported against the thing you are looking into (your Groovy config repo)

Satya Elipe
@selipe:matrix.org
[m]

Hi @chadlwilson Thank you for your time today; its actually working;
As I said, I introduced it in a wrong way to begin with and server thrown an error; I have committed another change (that supposed to be the right way) but server keeps mentioning about the error with the first change and did not proceed to my second change; after I fixed the error server proceeded further with my second change and it worked;

Sure, will keep an eye on the UI errors (which I think am discarding until now)

Thanks again
Good weekend.

Satya Elipe
@selipe:matrix.org
[m]

:point_up: Edit: Hi @chadlwilson Thank you for your time today;
As I said, I introduced it in a wrong way to begin with and server thrown an error; I have committed another change (that supposed to be the right way) but server keeps mentioning about the error with the first change and did not proceed to my second change; after I fixed the error server proceeded further with my second change and it worked;

Sure, will keep an eye on the UI errors (which I think am discarding until now)

Thanks again
Good weekend.

:point_up: Edit: Hi @chadlwilson Thank you for your time today;
As I said, I introduced it in a wrong way to begin with and server thrown an error; I have committed another change (that supposed to be the right way) but server keeps mentioning about the error with the first change and did not proceed to my second change; after I fixed the error server proceeded further with my second change and it worked;

Sure, will keep an eye on the UI errors (which I think am discarding ...)

Thanks again
Good weekend.

Sumit Kumar
@kumarsumit98

Hi Team,

Wondering if someone has already solved this behaviour -

During the build process, it pulls and downloads the image each-time (screenshot attached). Since the image size is huge, this process takes up around 3-4 minutes. Is there a way avoid this process on every build? Or any other way to speed up the build process?

3 replies
Screenshot 2022-08-15 at 5.58.01 PM.png
Mr Nathan C Stott
@WebLeash
Hello, POC gocd in K8s. Question. Has anyone managed to get it so the worker agents (pods) can be launched/spawned in another namespace and not the gocd namespace?
matthew zeier
@mzeier
Wondering if anyone here has configured auth with Okta of with Okta-LDAP. The Okta OAuth plugin hasn't been touched since 2020 and I'm not clear if that means it's not maintained or just works. Could just do the LDAP plugin but if someone has a config file I can use, that'd make it easier.
1 reply
Christian Butcher
@chrisb2244
Is there a good/simple way to acquire/release a mutex/locking mechanism during part of a pipeline?
In my current specific case, I'm publishing artifacts and found that the package list is corrupted by presumably multiple containers publishing artifacts at the same time, and mangling the repository (which is a shared resource).
If there's no mechanism in GoCD, I can probably implement something directly in the publish method of the plugin, and acquire/release some server-side locking token, but I figured there might be something built-in? Or a common way to handle this.
2 replies
Kevin Yang
@g0194776
Hello? anybody here?
1 reply
I would like to know that does the gocd has supported Gitlab webhook to trigger a pipeline running?
vijay
@vijay9991

Hi,
I am trying to perform gocd-server backup.
My gocd-server version is - 18.10.0

when hit perform back up I am seeing below error-
Failed to perform backup. Reason: Could not create the backup directory.

when i run below command on server -
ls ${ARTIFACT_REPOSITORY_LOCATION}
I can see serverBackups directory exists but shows in red.

Any idea how can we fix this?

3 replies
Dost
@onlinego
is there any option to use GitOps to deploy on EKS cluster via GoCD please?
2 replies
syamim-crane
@syamim-crane
Hello everyone.
Have a question here.
Is there any docker-compose example to refer from?
1 reply
Laz M
@leprechaun

Can someone confirm my understanding of config-repo rules? I'm interpolating the doco, the unit tests, and my own testing.

1) Pipelines defined in the same config repo can refer to each-other without restriction.
2) When allowing a config-repo to "refer" to a pipeline group, that just means it can create/change pipelines within that pipeline group. It does NOT allow for a pipeline in the config repo to depend on the specified pipeline group.
3) To allow one pipeline to depend on another, you must allow it to refer to the specific pipeline.

I recently upgraded, and the config-repos which define pipelines with non-trivial visual-stream-maps all broke. Specifyng they can refer to the other pipeline-group didn't fix it, I have to be explicit about the pipeline.

Does that sounds about right?

19 replies
Matt Gaunt-Seo @ Sentry.io
@mattgauntseo-sentry

Hi All,

I'm trying to come up with a notification plugin that will call a webhook with enough information to determine if a pipeline is queued, in_progress or complete.

The https://github.com/digitalocean/gocd-webhook-notification-plugin plugin is close but the stage updates are for individual stages and don't include enough information to determine if the pipeline is complete or not without knowing the pipeline on the receiving side.

Am I holding this wrong? I was looking into creating my plugin for this, but looking at the docs it seems like plugins don't have access to the gocd API, is that correct or am I missing something?

1 reply
Sergei Valevka
@svalevka
Are there any plans to support SAML Authentication so Azure AD can be used as an authentication backend? I can see only a single that supports SAML https://github.com/SonicDrivein/gocd-saml-plugin . The last update for this plugin was released 5 years ago and I am not ready to use a tool in production that has not been updated in such a long time. I find it quite puzzling though that there are no other plugins that support this functionality.
21 replies
Laz M
@leprechaun

How do people do pipelines on branches? Different pipeline all together? git-fb-poller plugin with branch filters?

I've gone w/ the poller plugin, on master + $PATTERN ... and my last stage of each test pipeline is cancelling the pipeline, as to not trigger the next pipeline (build). (because running tests and things on a branch is really convenient, but I don't want to promote building or deploying a branch ... or even assign a build number for that matter).

Probably sub-optimal ... just curious.

3 replies
Ganesh Patil
@ganeshpatil386386
Hey Gocd Community,
I am Ganesh and I work as a full-time community person at Aviyel. I just discovered GOCD on github and thought I'd come around and be a part of the discussions while I am exploring it. Meanwhile, if there's anything I could help with on the non-code side (I do have some ideas in mind) to spread the word, I'd be happy to volunteer.
Let me know your thoughts would be happy to discuss them.
2 replies
Rams kumar
@karthick.kb:matrix.org
[m]
Hi to All, I am new to GoCD .How to create remote agent in GO Pipeline? and How to communicate with EC2?
1 reply
Tobias Hochgürtel
@tobiashochguertel
I'm new to GoCD, can I run GoCD as Containers?
1 reply
I see https://www.gocd.org/download/#docker that this looks like it, but when I start the server as Container on docker I get "drone-server_1 | exec /docker-entrypoint.sh: exec format error" as log messages
version: '3'
services:
drone-server:
image: gocd/gocd-server:v22.2.0
restart: always
ports:
  - "8153:8153"
Hans Dushanthakumar
@hdushan
Hi, Is there a feature in GoCD that disallows force-manual-progress of a failed stage, for certain groups of users? (I can see that there is this allowOnlyOnSuccess for approval at stage level, but is there a way to configure this so that say an Admin can in an exceptional situation manually override this)
1 reply
bukzor-sentryio
@bukzor-sentryio

We're using gocd under the GCP IAP proxy. As such, users are already authenticated and authorized by the time there is any connection to the GoCD server. The user identity is forwarded in a X-Goog-Authenticated-User-Email header. Is there any way I can make use of that to identify users? The provided google-oauth-authorization-plugin is similar to what I need, but actually does too much work -- the users has already been authenticated. It's not clear to me how to amend the plugin for my use, or if it's possible under the current auth-plugin api.

Some background information: https://cloud.google.com/iap/docs/identity-howto

Yuri Lukyanov
@lukyanov

Hi! My GoCD server (v22.2.0) apparently ceased to start with this error:

jvm 1    | 2022-11-21 09:25:48,488 ERROR [WrapperJarAppMain] ContextLoader:350 - Context initialization failed
jvm 1    | org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'internalAgentControllerV1' defined in URL [jar:file:/go-working-dir/work/jetty-0_0_0_0-8153-cruise_war-_go-any-/webapp/WEB-INF/lib/api-internal-agent-v1-22.2.0-14697.jar!/com/thoughtworks/go/apiv1/internalagent/InternalAgentControllerV1.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sqlSessionFactoryBean' defined in file [/go-working-dir/work/jetty-0_0_0_0-8153-cruise_war-_go-any-/webapp/WEB-INF/classes/com/thoughtworks/go/server/database/SqlSessionFactoryBean.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'goDataSource' defined in com.thoughtworks.go.server.database.Database: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.commons.dbcp2.BasicDataSource]: Factory method 'getDataSource' threw exception; nested exception is java.sql.SQLException: Cannot create PoolableConnectionFactory (General error: "java.lang.IllegalStateException: Chunk 480268 not found [1.4.200/9]" [50000-200])

I suppose the H2 database is corrupted. Could you help me to understand if there is a way to recover it?

1 reply
Steve Howe
@darynsteelsword
Hi all.. quick q pls - has anyone come across any kind of plugin/technique that blocks entropic strings (ie api keys) from being dumped out in gocd's pipeline execution output please?
1 reply
nickwest238
@nickwest238
Does anyone know if it's possible to run a gocd agent running in a Kubernetes cluster and connect to a gocd server outside the cluster? I tried this setup on my own and the agent connects but it constantly loses the connection when trying to run, potentially due to the fact the agent registers the gocd agent under an ip address that isn't accessible from an external server
1 reply