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
nandhasa1986
@nandhasa1986
how do I check what is the error line number, any logs to look at?
4 replies
Ghost
@ghost~60867f946da03739847affeb
Hi, I'm new neighbor and I have some question over GO/CD
Does anyone know if GC/CD is working on the auto scaling?. To be able to put it in pre and production?. We are considering implementing this solution in our data centers, but that functionality is important.
5 replies
Ghost
@ghost~60867f946da03739847affeb
Thank you very much for the answers, of course everything you mention is important, but my question is related to the following article: https://docs.pingcap.com/tidb-in-kubernetes/stable/enable-tidb-cluster-auto-scaling
4 replies
nandhasa1986
@nandhasa1986
Hi, I am using gocd 21.2.0 and in the materials tab I could see the first 5 commits of git - which I was able to pick only within that. If I have to pick older commits the documentation says we can paste the commit in the text box, but when I do so it says "No revisions found matching"
10 replies
mmonteroq
@mmonteroq
Hi I'm trying Nexus plugin to download some artifacts, but package not found is allway displayed, any recomendation?
Hi, I'm trying to download artifacts from jenkins, but I'm getting "Material JenkinsABC checkout failed: java.lang.IllegalArgumentException: Illegal character in path at index 109: https://jenkins.abc/job/ABCService/job/DEVOPS-ARTIFSCTS/lastSuccessfulBuild/artifact/dist/bad data, check logs/"
1 reply
lolspider
@lolspider
Hi, i'm using gocd 20.7. But it is so instability. Most web page are slow and the web page of pipeline history is often blank. How do i solve the issue? Does it a performance issue? There are hundreds of pipelines. If i migrate the db from h2 to postgres, cloud it be better?
4 replies
Ashley Stovall
@plainsane
Question, im using gocd 20.2 and we generate pipelines using a few processes that commit to a yaml repo. I have noticed after upgrading that i need to assign every role the view permission. Can this be done with the yaml plugin? This is amazingly tedious if not
1 reply
Correction 21.2
amithalef
@amithalef
Hello Folks, Is it possible to configure the maximum number of artifacts a pipeline should store at any point in time? (I have setup artifact purging in the admin console and it is deleting the latest artifacts from pipelines. I want every pipeline preserve atleast 1 artifact build). Thanks :)
hokadiri
@hokadiri

Hello, GoCD newbie, i'm following the GoCD Kubernetes tutorial. https://docs.gocd.org/current/gocd_on_kubernetes/importing_a_sample_workflow.html

The Job is not running: it fails cos the gocd server url is http://gocd-server:8153/go but it needs to be https

[Mon May 03 21:47:02 GMT 2021] Starting process:
[Mon May 03 21:47:02 GMT 2021] Working directory : /go
[Mon May 03 21:47:02 GMT 2021] Application arguments: [-serverUrl, http://gocd-server:8153/go]
[Mon May 03 21:47:02 GMT 2021] GoCD Version: 18.3.0-6540

...
-serverUrl must be an HTTPS url and must begin with https://
Usage: java -jar agent-bootstrapper.jar [options]
Options:
-help
Print this help
-rootCertFile
The root certificate from the certificate chain of the GoCD server (in
PEM format)

  • -serverUrl
    The GoCD server URL. Must begin with https://, and end with /go
    -sslVerificationMode
    The SSL verification mode.
    Default: NONE
    Possible Values: [FULL, NONE, NO_VERIFY_HOST]
I used helm to install gocd on a docker desktop kubernetes cluster
hokadiri
@hokadiri

digging in, that value is coming from:
- name: GO_SERVER_URL value: 'http://gocd-server:8153/go'

Which is set by default in the helm template:
- name: GO_SERVER_URL {{- if .Values.agent.env.goServerUrl }} value: {{ .Values.agent.env.goServerUrl }} {{- else }} value: "http://{{ template "gocd.fullname" . }}-server:{{ .Values.server.service.httpPort }}/go" {{- end }}

Why is the helm template defaulting to http when the agent.jar does not accept it?
hokadiri
@hokadiri
Looks like someone already created an issue gocd/helm-chart#12
This seems like a very integral piece (master -> agent communication). The fact it's not working, i'm curios how folks are able to get around it? I'm assuming a lot of folks have elastic agents.
hokadiri
@hokadiri
Is this an active chat ? The "hello world" version of the product does not work doesn't look like i can get any help.

Looks like its been broken since gocd/gocd#7872 got shipped last year.
User created gocd/helm-chart#12
3 months ago but there's been no response.

is gocd still a thing?

marques-work
@marques-work

Yes, GoCD is still a thing. In personally don’t have experience with the helm chart so I may be of limited help.

The team is spread across time zones so not everyone is online at a given time.

FWIW, the agent should work with http URL. We use that in development and no longer bake in TLS termination on the server and leave that up to the user to set up with a reverse proxy.

hokadiri
@hokadiri
The agent doesn't work with http:
The GoCD server URL. Must begin with https://, and end with /go
that requirement is coming from the agent
What agent are you on?
marques-work
@marques-work

Latest agent 21.2.0. But this has been the case for some time.

Not sure how the helm chart is set up, but iirc it works with the vanilla packages

Even the test drive sets up an agent and server on your computer and it doesn’t use TLS
We removed the TLS termination many releases ago
hokadiri
@hokadiri
you mean gocd/gocd#7872 commit?
hokadiri
@hokadiri

The latest helm uses v21.2.0 agent which is where i'm seeing the issue

$ kubectl describe deployment/gocd-agent -n gocd | grep Image
Image: gocd/gocd-agent-alpine-3.12:v21.2.0

Something is amiss
hokadiri
@hokadiri

ok figured it out. the docker image for the agent in https://docs.gocd.org/current/gocd_on_kubernetes/importing_a_sample_workflow.html
gocddemo/gocd-agent-dind:webinar is running an old version 18.3.0-6540 of the gocd-agent

The tutorial needs to be updated.

marques-work
@marques-work

Good catch. Sorry I got pulled away with work.

@hokadiri if you haven’t yet done so already, could you raise an issue that the docs are wrong?

hokadiri
@hokadiri
Will do @marques-work
hokadiri
@hokadiri
Created gocd/gocd#9279
marques-work
@marques-work
👍🏼
Jonathan Block
@blockjon
Seems like GoCD has lots of UI interactions. Is there a way to manipulate and configure the server as code or am I forced to use the UI to customize things?
I'm interested in running GoCD ephemerally such that i launch a GoCD controller inside a pod for every single pipeline run using Kubernetes and then I run like 10-50k pipelines at the same time on kubernetes. Is this doable?
marques-work
@marques-work

The canonical config descriptor is <servers or>/config/cruise-config.xml

The UI is basically a frontend to modifying that file, so you could create a config that you’re satisfied with and deploy that (maybe templatize and render as needed) to your nodes.

Typo — meant <serverdir>/config/cruise-config.xml
Jonathan Block
@blockjon
I see.. thank you
Aravind SV
@arvindsv
Snahil Indoria
@snahil
Having some issue with GOCD , as when we are creating new branch in bitbucket , gocd is throwing some error
Modification check failed for material:
Hibernate operation: could not retrieve generated id after insert: [com.thoughtworks.go.domain.materials.git.GitMaterialInstance]; uncategorized SQLException for SQL [insert into materials (flyweightName, fingerprint, additionalData, url, username, branch, submoduleFolder, type) values (?, ?, ?, ?, ?, ?, ?, 'GitMaterial')]; SQL state [55000]; error code [0]; ERROR: currval of sequence "materials_id_seq" is not yet defined in this session; nested exception is org.postgresql.util.PSQLException: ERROR: currval of sequence "materials_id_seq" is not yet defined in this session.
goone
@goone:matrix.org
[m]
I use Gerrit Change Set plugin 1.4.0-RC4 and Gerrit Change Set status notifier 1.7.0-107. It works wonderful if someone pushes a change to gerrit, but the problem occurs if gerrit review is done and the change is merged. After this a pipeline runs with a gerrit revison idea which do not exist
Snahil Indoria
@snahil
@goone:matrix.org we have used gerrit-cs-poller-1.3.5 and gerrit-cs-status-1.6-73 but still the issue persists
1 reply
Javier Cienfuegos Jr
@cienfuegosj
Quick question, if I have the cipher.aes file in the GoCD Server, which contains the key, and I want to encrypt a value to send to GoCD API, how would I manage to create the IV? What other parameters do I need to set up when encrypting in AES?
nickwest238
@nickwest238
I currently have my GoCD Server behind a reverse proxy that uses https and my gocd agents are able to connect to it successfully. Does the server generate a secure connection with the agents or do I need to explicitly setup https on the agents as well?
marques-work
@marques-work

The server doesn’t reach out to the agents; the agents reach out to the server.

So if your agents are configured with the GoCD server url set to the https url, it should be secure.

Sreemaniteja Yellapragada
@sreemaniteja:matrix.org
[m]
hi I'm trying setup GoCD from scratch ..I got the agent configured well and I even configured the proxy URL in wrapper.properties but continously getting "Failed to run git clone command STDERR: fatal: unable to access 'http://xxxxx.git/': Could not resolve host: xxxxx; Unknown error"