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 21:37
    ibnc synchronize #5756
  • Jan 31 20:02
    ibnc synchronize #5756
  • Jan 31 19:07
    arvindsv commented #3304
  • Jan 31 19:06
    arvindsv commented #3304
  • Jan 31 18:59
    varshavaradarajan synchronize #5791
  • Jan 31 18:24
    ibnc synchronize #5756
  • Jan 31 18:11
    mushycode commented #3304
  • Jan 31 17:29
    GaneshSPatil opened #5797
  • Jan 31 15:22
    arvindsv unpinned #5776
  • Jan 31 15:07
    arvindsv commented #3304
  • Jan 31 15:07
    arvindsv commented #3304
  • Jan 31 14:59
    arvindsv commented #5796
  • Jan 31 14:09
    akshaydewan commented #5796
  • Jan 31 13:21
    maheshp commented #5796
  • Jan 31 12:42
    ketan commented #5795
  • Jan 31 12:39
    ketan commented #5795
  • Jan 31 12:38
    JorritSalverda commented #5795
  • Jan 31 12:35
    JorritSalverda commented #5795
  • Jan 31 12:35
    JorritSalverda closed #5795
  • Jan 31 12:00
    mushycode commented #3304
Joachim Lusiardi
@jlusiardi
luckily it is all in docker ;)
sorry guys... the vault had a glitch
@ketan thanks for your help!
Ketan Padegaonkar
@ketan
:+1:
Joachim Lusiardi
@jlusiardi
asides from my fail: would it be an option to be able to compare to secret variables (via gui)? like selecting to secret variables A and B and just print out if they are equal or not?
Aravind SV
@arvindsv
Not really. That seems like a lot of work (I’m thinking about how the user experience for that would work, with a list of variables) for very little benefit. What you might want to consider is to use secrets management and externalize your secrets into some external file, so that you don’t even have to have it be part of the pipeline. https://docs.gocd.org/current/configuration/secrets_management.html
Kilian Holzinger
@nextl00p
is there a limit regarding artifact size in gocd?
it always complain it's to big. i have plenty of disk space
it's about 500MB
Kilian Holzinger
@nextl00p
it tells me [go] Artifact upload for file /var/lib/go-agent/pipelines/06dfe9efcda.tar.gz (Size: 540261315) was denied by the server. This usually happens when server runs out of disk space.
the actual filename is longer. could this be the reason?
this is the agent log
Kilian Holzinger
@nextl00p
./tmp is part of the / filesystem on that machine. and that one has about 70GB available
akshaydewan
@akshaydewan
@nextl00p Is that the full stacktrace? Seems like there should be more, probably a “caused by” section
Kilian Holzinger
@nextl00p
should I search in go-agent.log?
akshaydewan
@akshaydewan
If the error is originating on the server, then the server log should have more details. Wouldn’t hurt to take a look at the agent log too
Kilian Holzinger
@nextl00p
here is go-server.log during a failing build akshaydewan: https://gist.github.com/nextl00p/f5c993b3d28d5c632f3be56e5658c2b7
it just get's a HTTP 413 (payment too large)
*gets
Kilian Holzinger
@nextl00p
I have a similar pipeline running (on an older version of gocd) which uploads files of a bit less than 500MB
maybe there is a limit around 500MB somewhere?
Ketan Padegaonkar
@ketan
@nextl00p: are you using a reverse proxy? the gocd team uploads artifacts several GB each build, goes through.
Kilian Holzinger
@nextl00p
hm. yes nginx
that's the issue here probably. let me check
Aravind SV
@arvindsv
@nextl00p Might be worth setting up an agent local to the server (same node / machine / container) and uploading a large artifact through that. I don’t know of any such limit. That would rule out a problem with the reverse proxy.
Kilian Holzinger
@nextl00p
nginx was the issue. i increased the limit now and it works. thanks for the tip ketan
Ketan Padegaonkar
@ketan
@nextl00p :point_up:
Vaishno Chaitanya G
@gvaishno
Hi guys! Is it possible to fetch dependencies (packages) from "Sonatype Nexus Repository Manager 3" instead of downloading from Internet directly, when we trigger a build in GoCD .
Sonatype Nexus Repository Manager 3: https://www.sonatype.com/nexus-repository-sonatype
Kilian Holzinger
@nextl00p
Ketan Padegaonkar
@ketan
Thanks a bunch, perhaps update it in the existing snippet, instead of adding a new snippet?
maybe add a comment in the client_max_body_size directive, about why it's needed?
Also: if it's not too much to ask, mind checking the equivalent for apache?
Kilian Holzinger
@nextl00p
can do, later.
Ketan Padegaonkar
@ketan
thanks a bunch!
Kilian Holzinger
@nextl00p
i think apache does not have such a limit by default
you need a seperate module to add this functionality
Ketan Padegaonkar
@ketan
I'm sure that module will almost always be loaded by default, but thanks for taking a look. I'll try and setup an apache to reproduce this.
this is what i found
apache defaults to unlimited, nginx defaults to 1MB
Ketan Padegaonkar
@ketan
thanks for the links, will take a look when I can. For now I'll merge your PR
Shivani Shinde
@erIamshivani
Is there any built-in facility similar to git pre-commit or pre-push hook in gocd? I do not want to add pre-commit in git repo due to some project restrictions. Is this possible?
Kilian Holzinger
@nextl00p
waht do you want to achieve?
UCASzhangxiaofan
@UCASzhangxiaofan
does gocd support multiple servers to schedule jobs?
Aravind SV
@arvindsv
@UCASzhangxiaofan If you mean load-balancing using multiple servers, no it doesn't.
UCASzhangxiaofan
@UCASzhangxiaofan
thanks a lot