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]
Hi All,
I have a GoCD groovy file as above, and elasticProfileId doesn't take any effect in there.
I would appreciate any suggestions.
Satya Elipe
@selipe:matrix.org
[m]

:point_up: Edit: Hi All,
I have a GoCD groovy file as above, and elasticProfileId doesn't take any effect in there.
Per this https://github.com/gocd/pr-pipelines-workflow/blob/master/.gocd/build.gocd.groovy it should work.

Any inputs will be greatly appreciated. Many thanks.

1 reply
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?

12 replies