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
Raymond Barlow
@raymanoz
added this to the end of my Go agent's wrapper.conf:
set.AGENT_STARTUP_ARGS=-Dtoggle.agent.git.clean.keep.ignored.files=Y
mmonteroq
@mmonteroq
Hi all, I want to start with GoCD, my builds are in jenkins, could I integrate both tools?
4 replies
Slaus Blinnikov
@SlausB
Hello! Is it possible to specify [docker] host's folder as a material?
2 replies
Thomas Scully
@tscully49
Good morning! Yesterday, my team and I came across the announcement that GoCD would be community-driven as of 2021. We noticed the steering committee but haven't seen any updates as of August 2020. Is there any documentation or roadmap we are missing? We are wondering if the steering committee is taking over ownership or if there is any information around that. Thanks!
2 replies
nandhasa1986
@nandhasa1986

Hello, I am facing the below issue during downgrade of gocd from 17.5.0 to 16.1.0

04-20 04:44:42 jdbc[3]: exception
org.h2.jdbc.JdbcSQLException: Table "PIPELINES" not found; SQL statement:
SELECT name FROM pipelines WHERE locked = true [42102-168]

14 replies
todescur
@todescur

Hello, guys. We are using GoCD version 21.1.0 and when we checked the logs, we saw this error for each agent:

2021-04-22 07:41:43,409 WARN [qtp1740200769-58] AgentService:539 - Agent [Agent [ 0fdc505c-eda8-4d9c-a70b-f2cdf0dd7d99, null]] has no cookie set
2021-04-22 07:41:43,410 ERROR [qtp1740200769-58] BuildRepositoryRemoteImpl:59 - Error occurred in com.thoughtworks.go.server.service.AgentRuntimeInfo@767b3180[agentBootstrapperVersion=21.1.0-12439,agentVersion=21.1.0-0,buildingInfo=AgentBuildingInfo[, ],cookie=<null>,identifier=Agent [ 0fdc505c-eda8-4d9c-a70b-f2cdf0dd7d99],location=/var/lib/go-agent-3,operatingSystemName=CentOS Linux 7.9.2009 Core,runtimeStatus=Idle,usableSpace=21260271616] ping.
com.thoughtworks.go.server.service.AgentNoCookieSetException: Agent [Agent [0fdc505c-eda8-4d9c-a70b-f2cdf0dd7d99, null]] has no cookie set

This error appears only at restart, and in the end the cookie is assigned for each agent:
2021-04-22 07:41:44,788 INFO [qtp1740200769-211] BuildRepositoryRemoteImpl:127 - [Agent Cookie] Agent [Agent [0fdc505c-eda8-4d9c-a70b-f2cdf0dd7d99]] at location [/var/lib/go-agent-3] asked for a new cookie, assigned [33afe63e-2c18-41fa-97f5-8602e9f4c95a]

We have a lot of agents and logs are polluted with these errors. Do you have any idea how can I get rid of this error? Is any way to disable the log for com.thoughtworks.go.server.service.AgentRuntimeInfo/com.thoughtworks.go.server.service?

8 replies
nandhasa1986
@nandhasa1986
Hi, thanks in advance...
Facing an error duing config xml upload
Invalid content was found starting with element 'environmentvariables'. One of '{authorization, stage}' is expected.
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