Re: [go-cd] After upgraded to 20.10.0-12356 - No pipeline is visible

2021-07-08 Thread Chad Wilson
Apart from Ashwanth's suggestion, it occurs to me that in 20.4.0 the default pipeline group permissions were changed to secure by default, so if you are logging in as a non-admin user and you have not defined permissions against your pipeline groups, they will become invisible from the perspective

Re: [go-cd] Re: Mulltiple GoCD build agents on Windows?

2021-08-18 Thread Chad Wilson
I believe this should be possible when using agent auto-registration and *agent.auto.register.hostname*: https://docs.gocd.org/current/advanced_usage/agent_auto_register.html -Chad On Wed, Aug 18, 2021 at 7:07 PM Emil wrote: > Thanks for the notes - I had the same idea too and saved it for my

Re: [go-cd] GitHub deprecating password auth

2021-08-03 Thread Chad Wilson
Hi Mark If you are using HTTPS with user/pass currently you should be able to substitute a user account password in the dialog with a *personal access token* generated with appropriate access to your repos for GoCD to do its thing as before. Alternatively, you can generate an SSH keypair to

Re: [go-cd] YAML config repos and git credentials

2021-09-22 Thread Chad Wilson
Hi Mike One philosophy I've previously used was to consider GoCD itself as a system requiring an identity identity. Accordingly, we used SSH clones for all repos, and GoCD identified itself with an SSH key which was mounted into both server and agents with a regular Kubernetes volume mount, where

Re: [go-cd] error trying to execute a command [script-executor] Script completed with exit code: 127.

2021-12-03 Thread Chad Wilson
Hiya When you run Bash from tools like GoCD it runs non-interactive, non-login shells so my understanding is that no files such as .bashrc are automatically loaded. If you want to tell a task to load this automatically you could set BASH_ENV=/home/go/.bashrc (or to any other such init file) in

Re: [go-cd] GOCD-Sever cant able to restore the pipeline information from postgres database

2021-12-03 Thread Chad Wilson
Hi Vengatesan Just curious - how are you starting the GoCD server Docker image? Are you mounting a volume from the external environment into /godata as noted at https://hub.docker.com/r/gocd/gocd-server? Based on "COPY --chown=go:root ./db.properties ./godata/config/db.properties" I am inferring

Re: [go-cd] TFS integration

2021-12-27 Thread Chad Wilson
If you mean as a source control material, then yes it should - both TFVC and Git repositories. I'm not sure how actively used the TFS/TFVC integration is, but it is there. [image: image.png] -Chad On Mon, Dec 27, 2021 at 9:43 PM anuj Kumar dwivedi wrote: > Hi, > Is it possible to integrate

Re: [go-cd] Re: Elastic Agent Autoregistration failing v21.3.0

2021-11-09 Thread Chad Wilson
Thanks for sharing that you managed to get this fixed. I must admit I was scratching my head a bit thinking what the issue could have been :-) On Wed, Nov 10, 2021 at 5:00 AM Reza Etezal wrote: > I found out what we were doing wrong. > We build our own agent docker images. In the init script,

Re: [go-cd] Use Container Registry as Material?

2021-07-22 Thread Chad Wilson
Hi Jason Personally, I'm not aware of there being a way to do this within the material model of GoCD. >From a design perspective I think there would be some challenges to a general purpose approach here, since to my knowledge container registries don't typically have any way to link together

Re: [go-cd] Starting local HTTP server in background causes GoCD to be stuck

2022-01-16 Thread Chad Wilson
No problem Martin - appreciate the confirmation! On Sun, Jan 16, 2022 at 8:50 PM Martin Burger wrote: > Chad, thank you very much for your quick and competent help. Switching to > PM2 did the trick within minutes. Best wishes, Martin > > -- > You received this message because you are subscribed

Re: [go-cd] cruiser-config.xml exceeds size limit

2022-03-06 Thread Chad Wilson
Hi Hugo Can you please report the specific GoCD version you are using and the full stack trace of the error from the server logs? It's probably necessary to know the specific operation that failed and the version you are using to know what limits might be applying. It may also help to know what

Re: [go-cd] cruiser-config.xml exceeds size limit

2022-03-10 Thread Chad Wilson
we took this opportunity and split this Go Server to 2 > new instances on the 21.2.0 version and haven't had any major issues since > then. > > Cheers, > > A domingo, 6 de março de 2022 à(s) 08:57:38 UTC, Chad Wilson escreveu: > >> Hi Hugo >> >> Can you please repor

Re: [go-cd] best practices for maintaining go pipelines

2022-03-10 Thread Chad Wilson
Hi Pankaj How do you maintain the pipeline config now? Via the UI? Via API? Via one of the pipelines-as-code/confg repo plugins? In any case, I would say it depends a bit on - what the content of your pipelines are - how much variation there is between these pipelines - when you say

Re: [go-cd] Elastic Agents plugin (?) decrypts AWS keys in config

2022-02-12 Thread Chad Wilson
Hi Reza Thanks for reporting. No I don't think this is intentional. Not sure if this is due to the plugin or elastic agent cluster profiles in general at this stage, but will contact you off-list to get a bit more information, as need a bit more help tracking the trigger(s) down at this stage as

Re: [go-cd] Pipeline failing on git clone

2022-02-24 Thread Chad Wilson
Hiya For pipeline 1 in particular, did you set up/mount the `.git-credentials` in the kubernetes elastic agent profile (its podspec in particular) and test on an agent? If the pipeline triggers and shows the "changes" in the dropdown, your GoCD *Server* can clone repos to detect changes and

Re: [go-cd] How to set base path for gocd-server

2022-02-25 Thread Chad Wilson
Hi Carsten While there is a config system property setting that seems *at first glance* to support this, I don't think GoCD actually supports being run at arbitrary base paths, based on https://github.com/gocd/gocd/issues/7061 Would suggest either sticking to the default, or using

Re: [go-cd] Parameterized Test names in JUnit Jupiter

2022-03-01 Thread Chad Wilson
Hi Kenneth Which tool are you using to generate the "JUnit XML"? I don't believe there is actually a proper schema for JUnit XML, and that it is a de-facto "standard" that emerged from Ant originally, and then incorporated into Maven/Gradle etc in their own XML report outputs. I am aware of an

Re: [go-cd] Running a pipeline multiple times in parallel in not possible?

2022-03-01 Thread Chad Wilson
Hi Mario That GitHub ticket is specifically about the case where you want to be building in parallel based on different *material versions* i.e *inputs* to the pipeline. (e.g developer pushes to a git material 3x, say 30s apart - can all 3 builds start in parallel?) If you are *not* trying to

Re: [go-cd] Running a pipeline multiple times in parallel in not possible?

2022-03-02 Thread Chad Wilson
are launched, they fills agents, > I can scale horizontally. > So please tell me the right approach to do this. > Thanks, > Mario > > Il giorno martedì 1 marzo 2022 alle 16:26:54 UTC+1 Chad Wilson ha scritto: > >> Hi Mario >> >> That GitHub ticket is sp

Re: [go-cd] Cannot clone a Git repository on a branch other than master

2022-03-23 Thread Chad Wilson
Are you sure there isn't still a submodule reference on some branches, even if it has been removed off master? I imagine it must be getting "corbos-linux-tests" from somewhere, I guess we should work out where? If you can't figure it out, the error is happening on the agent rather than the

Re: [go-cd] GoCD polls for changes scenario.

2022-04-01 Thread Chad Wilson
Hiya I'm not sure exactly how you have GoCD set up, but I don't think GoCD has any way to be aware of custom git server-side policy constructs such as "blocking merges", merge policy or "protected branches". So I don't think it is possible for GoCD to behave differently based on whatever policy

Re: [go-cd] GoCD polls for changes scenario.

2022-04-05 Thread Chad Wilson
e are not using webhook integrations either. It did however pick up new > changes after a couple of hours. The logs had no errors, the server wasn't > out of space so it was very peculiar. > > [image: Screen Shot 2022-04-04 at 9.15.06 PM.png] > > On Saturday, April 2, 2022 at 1:

Re: [go-cd] Trying to use default kubernetes elastic agent profile (demo-app)

2022-03-20 Thread Chad Wilson
Hi Vijay That sounds odd. The demo-app profile isn't limited in any way I can think of. Specifying the Elastic Agent Profile ID is all you should have to do. What does the console say for the job while it is "waiting for an agent"? You should see it saying things like: [go] Waiting to create

Re: [go-cd] Latest git push on material not showing on manual trigger

2022-03-20 Thread Chad Wilson
Hi Joshua I'm not really sure what could be going on here - I believe triggering a manual run (**without* "trigger with options") *should* cause it to also check the material for the latest revision, so I think something else is possibly going on here with configuration or Bitbucket. Is this

[go-cd] Release announcement - 22.1.0

2022-03-22 Thread Chad Wilson
Hi all, A new release of GoCD (22.1.0) is out. This release mainly adds support for Java 16/17 (拾), and addresses a couple of security issues. To know more about the features and bug fixes in this release, see the release notes or head to the downloads page

Re: [go-cd] Agent failed to do git clone after upgrading gocd

2022-01-14 Thread Chad Wilson
Hi Sachin Can you share your custom Dockerfile (partially redacted if necessary), and any volume/bind mounts you might be using on your custom agent image? It's possible that something you have in your setup is not playing nicely with Alpine 3.15 or git 2.34.1, which the docker-dind images are

Re: [go-cd] Database migration dry run gone wrong

2022-01-19 Thread Chad Wilson
I think it's safe to say that your H2 DB file is corrupted since the NullPointerException is within internal H2 code while trying to just open the database file, not anything GoCD is specifically trying to do. *Generic error* General error: "java.lang.NullPointerException" [5-*168*] ^^ H2 DB

Re: [go-cd] Starting local HTTP server in background causes GoCD to be stuck

2022-01-14 Thread Chad Wilson
Are these individual steps in separate GoCD "command" tasks within a single job? Can you share what your job definition looks like? -Chad On Fri, Jan 14, 2022 at 3:33 AM Martin Burger wrote: > Hello: > > I am using GoCD for continuously deploying some websites and web > applications,

Re: [go-cd] Unable to run Microsoft Upgrade assistant

2023-09-15 Thread Chad Wilson
Which GoCD version are you using? Can you share a screenshot from your task configuration? e.g something like the below [image: image.png] Generally speaking you shouldn't need to do a "cmd /c" yourself, as GoCD does this implicitly and it's possible doing this might be causing something to go

Re: [go-cd] GoCD Agent in Arch Linux container - Can't start any job

2023-09-06 Thread Chad Wilson
Hi Jacques - that looks like a bug of some kind with the way the work for the agent to do is being serialized by the server back to the agent. Have never seen that before though. Could you report at https://github.com/gocd/gocd/issues along with the relevant versions of your server, agents, Java

Re: [go-cd] goCD Yaml plugin doesn't pick-up code

2023-10-26 Thread Chad Wilson
As the error mentions please "Check the 'Rules' of this config repository" - by default your config repo won't have rules/permissions to define pipelines in any pipeline groups, environments etc. It is "secure by default". You'll want to add a permission to do so. e.g a blanket permission to

Re: [go-cd] GoCD and private GitHub repo

2023-10-26 Thread Chad Wilson
oing wrong? May that be I have messed with permissions for *go > user*? > > > Vlad. > > On Thursday, October 26, 2023 at 8:41:33 PM UTC+13 Chad Wilson wrote: > >> To add on to Sriram's comments, the use of the >> github-oauth-authorization-plugin doesn't have any relat

Re: [go-cd] Kubernetes Elastic Agents - Pods can no longer be created

2023-10-27 Thread Chad Wilson
24 moves to >> containerd runtime images and we are still using DIND for our elastic >> agents. That seems like it could be the culprit. I'll do some testing and >> change our elastic agent images. Thanks for pointing that out. >> >> On Thu, Oct 26, 2023 at 10:46

[go-cd] Release Announcement - 23.4.0

2023-11-01 Thread Chad Wilson
Hello everyone, A new release of GoCD (23.4.0) is out. This release is mainly a maintenance release. As always, please remember to take a backup before upgrading. Special thanks to Victor Sollerhed (MPV) and k-c-p for helping us debug a (likely) rather

Re: [go-cd] Where can I find the end-of-support documentation for GoCD releases?

2023-11-07 Thread Chad Wilson
Other than Ram's (accurate) comments about non-use of semantic versioning, please see https://github.com/gocd/gocd/blob/master/SECURITY.md Upgrading from 22.3.0 through to 23.3.0 or 23.4.0 is likely to be very low risk/impact given the slow rate of change in GoCD over the last year. -Chad On

Re: [go-cd] GoCD and private GitHub repo

2023-10-26 Thread Chad Wilson
To add on to Sriram's comments, the use of the github-oauth-authorization-plugin doesn't have any relationship with access to repository content on GitHub - it simply allows people to log onto GoCD using their Github identity, and optionally to have access to GoCD pipeline groups mapped to GitHub

Re: [go-cd] Kubernetes Elastic Agents - Pods can no longer be created

2023-10-26 Thread Chad Wilson
Just curious - were the errors/stack traces on failure essentially identical before and after you upgraded your gocd and elastic agent plugin versions? On Thu, Oct 26, 2023 at 11:33 PM Kim Pham wrote: > Hi Ashwanth, > > I checked the clusterrole of the service account it's using and it >

Re: [go-cd] Kubernetes Elastic Agents - Pods can no longer be created

2023-10-26 Thread Chad Wilson
on the kubernetes side, or does it never get that far? -Chad On Thu, Oct 26, 2023 at 11:37 PM Chad Wilson wrote: > Just curious - were the errors/stack traces on failure essentially > identical before and after you upgraded your gocd and elastic agent plugin > versions? > > On Th

Re: [go-cd] Enterprise Support for GoCD

2023-09-30 Thread Chad Wilson
Thanks for the detail. >> >> >> Please write to me : sriramNRN at gmail >> >> >>> >>> On Monday, June 27, 2022 at 4:05:23 PM UTC+5:30 Chad Wilson wrote: >>> >>>> Hi there >>>> >>>> Thoughtworks no longer prov

Re: [go-cd] Enterprise Support for GoCD

2023-10-02 Thread Chad Wilson
wtham Ravipati > > On Saturday, September 30, 2023 at 3:38:58 AM UTC-6 Chad Wilson wrote: > >> Hi Gowtham - To my knowledge there has been no change in this situation. >> >> -Chad >> >> On Wed, 27 Sept 2023, 23:50 Gowtham Ravipati, >> wrote:

Re: [go-cd] Seeking clarification with GoCD Release Notes

2023-10-05 Thread Chad Wilson
Yeah, that's correct. Any particular question you're trying to answer? -Chad On Fri, 6 Oct 2023, 00:36 Cory McKelvey, wrote: > Does https://www.gocd.org/releases/ act as release notes for both > gocd-server and gocd-agents? > > -- > You received this message because you are subscribed to the

Re: [go-cd] Seeking clarification with GoCD Release Notes

2023-10-05 Thread Chad Wilson
ded > clarification for internal skeptics like me. > > On Thursday, October 5, 2023 at 12:48:23 PM UTC-4 Chad Wilson wrote: > >> Yeah, that's correct. >> >> Any particular question you're trying to answer? >> >> -Chad >> >> On Fri, 6 Oct 2023, 00:3

Re: [go-cd] POC setting up

2023-10-09 Thread Chad Wilson
Hiya Gowtham It looks like you downloaded and are trying to run the *x64 version* on an *Apple Silicon* mac which will likely give errors like that. You probably want the *aarch64* version from https://www.gocd.org/download/#osx As a side note, the easiest way to POC GoCD locally is probably via

Re: [go-cd] Config Repositories has always in fetch status

2023-08-15 Thread Chad Wilson
the current GoCD server (v22.1.0). > > So they are the same configuration but there are difference only GoCD > version and new GOCD server use only git over https. > > Best Regards, > Komgrit > > On Tuesday, August 8, 2023 at 11:23:25 PM UTC+7 Chad Wilson wrote: > &g

Re: [go-cd] GoCD Pipeline Views - Can they be copied across users?

2023-08-22 Thread Chad Wilson
Yeah, they are in the DB keyed to the user's id: https://github.com/gocd/gocd/blob/0f58107c851cf2df6ce7c6902eebde796dc1f742/db-support/db-migration/src/main/resources/db-migration-scripts/initial/create-schema.xml#L291-L303 While it comes with some risks, it probably wouldn't be super difficult

Re: [go-cd] Global Env variables using Pipelines as Code?

2022-04-24 Thread Chad Wilson
Have you tried having a file in the config repository which declares only top-level environments (with env vars), and then separate files inside the same confi repo which refer to those environments by name inside pipelines? if I recall correctly, the `n` YAML files discovered by the config repo

Re: [go-cd] Re: Issue with go-agent on Rocky 8

2022-04-06 Thread Chad Wilson
Hi Rasmus Thanks for the details. It's a little difficult to explain, but the agent code is actually "bootstrapped" from the server when it starts. Basically your "agent version" is actually just the version of a "bootstrapper" that talks to the server, downloads the agent code that matches the

Re: [go-cd] LDAP Group Authentication/Roles/Permissions

2023-11-08 Thread Chad Wilson
There are multiple LDAP plugins, so it depends which one you are referring to. Sounds like you might want to look at https://github.com/gocd/gocd-ldap-authorization-plugin rather than the bundled 'authentication-only' version? -Chad On Thu, 9 Nov 2023, 05:33 Funkycybermonk, wrote: > Hello! >

Re: [go-cd] GOCD Version Upgrade Issue - Windows Agents Failing to Execute 'git pull'

2023-11-09 Thread Chad Wilson
It's possibly a side effect of fixing issues with spaces in windows commands in GoCD 22.2.0: https://www.gocd.org/releases.html#22-2-0 It may be that some of your command tasks were *technically* incorrectly configured on earlier versions but worked as a side effect of these bugs in GoCD, and

Re: [go-cd] Redirect issues after upgrading to version 20.4 from 19.7

2022-05-19 Thread Chad Wilson
Hi Jon Are you able to see if there are any differences in the HTTP headers of the proxied requests from the F5 before and after the change? My educated guess (albeit possibly naive-to-GoCD-specifics) is that the URLs are being built from the incoming request, which inside GoCD is aware of

Re: [go-cd] H2 error: "Database may be already in use" after upgrade

2022-05-19 Thread Chad Wilson
Hi Julia This seems odd. My understanding is that by default the H2 database uses a file system based lock to get exclusive access to the file. The default mechanism did change between the H2 versions used by 21.4.0 and 21.5.0. - Does the server recover after some time, or you need to restart

Re: [go-cd] Redirect issues after upgrading to version 20.4 from 19.7

2022-05-19 Thread Chad Wilson
< Content-Length: 0 > < Set-Cookie: LB_GO=<***>; path=/; Httponly; Secure > < Strict-Transport-Security: max-age=31536000; includeSubDomains > < > * Connection #1 to host ci.example.com left intact > > * Issue another request to this URL: ' > https://ci.example.com

Re: [go-cd] Upgrading version of GoCD

2022-05-26 Thread Chad Wilson
Hi Tim On Thu, May 26, 2022 at 11:02 PM Tim Stevens wrote: > Hello, newbie here again. I have a couple of questions that I need help > with: > >1. Are the downloadable installers upgrade installers? Meaning I can >upgrade the existing instance of the product without issues, or well

Re: [go-cd] H2 Database Backup

2022-05-24 Thread Chad Wilson
Hi Tim Not sure if you are aware, but you can schedule GoCD's backup which will prevent interactions temporarily while it takes a database backup, so not sure you need to "schedule downtime" as much as schedule the backups in the middle of the morning and set user expectations if the server is

Re: [go-cd] Re: run bash as another user other than go

2022-06-23 Thread Chad Wilson
OK, good you have found a way forward - but just a note that you shouldn't *have* to ssh as the *go* user from the agent to another host just because the agent runs builds as a local *go* user. In fact I'd probably discourage things like this, and recommend you decouple what you run on your

Re: [go-cd] GoCD as an internal customized CI/CD platform

2022-07-05 Thread Chad Wilson
I think GoCD is better described now as a Java / TypeScript / MithrilJS project. [image: image.png] It still includes Rails, running on JRuby, but historically it was a JRuby -on-rails-with-jquery project. Subsequent to that, all of the APIs have

Re: [go-cd] Where is the jobs/pipelines information saved on the GoCD server ?

2022-07-07 Thread Chad Wilson
The configuration for the server, plugins, along with all your pipelines/jobs etc is stored in a single big config.xml (and versioned controlled internally) - see reference at https://docs.gocd.org/current/configuration/configuration_reference.html or you can view it as an admin at

Re: [go-cd] Enterprise Support for GoCD

2022-06-27 Thread Chad Wilson
Hi there Thoughtworks no longer provides commercial support or an enterprise offering around GoCD - this ended 18 months ago in December 2020 with the closure of Thoughtworks Studios, and the open sourcing of all the previously "commercial" add-ons/plugins for GoCD. See

Re: [go-cd] Configure "Elastic agents" on standalone Go server (v21.1.0)

2022-07-01 Thread Chad Wilson
Hi Satya If you are deploying GoCD into Kubernetes itself via the Helm chart into your cluster without overriding the plugin configuration the "Kubernetes elastic agents" plugin is installed out-of-the-box, if your intent is to run

Re: [go-cd] GoCD as an internal customized CI/CD platform

2022-07-06 Thread Chad Wilson
No problem. Ashwanth's opinion is valuable too. It is likely technically possible to run a standalone separate component that communicates over APIs (and GoCD has a great API platform from my perspective), but I imagine should be looked at carefully as likely not an easy undertaking depending on

Re: [go-cd] Showing status of GoCD downstream pipeline on GitHub PR

2022-06-16 Thread Chad Wilson
Hi Arpit Are you using the build status notifier plugin at https://github.com/gocd-contrib/gocd-build-status-notifier plugin to achieve the GitHub PR notifications? While I am not really familiar with the internals of that plugin, I have noticed that it only seems to notify and link to the PR if

Re: [go-cd] GoCD server crashes and won't start if use private Github repository

2022-06-16 Thread Chad Wilson
Hi Lawrence That sounds odd - but there isn't really enough information below to tell anything. Those errors aren't of concern, or related. - Can you check what is contained within other log files in your log dir (/go-working-dir/logs by default) and /go-working-dir/wrapper.log? - Can

Re: [go-cd] GoCD server crashes and won't start if use private Github repository

2022-06-16 Thread Chad Wilson
The LDAP plugin is bundled and it is just trying to initialise/load the plugin. The error can be ignored - as it says in the subsequent log line "Not all plugins are required to implement the request above. This error may be safe to ignore.". Unfortunately I'm not sure what to do about your

Re: [go-cd] Github PR Check on Downstream Pipeline

2022-06-19 Thread Chad Wilson
I think my reply on https://groups.google.com/g/go-cd/c/iKaEfamf3gM/m/9BcLnhQxBAAJ is relevant here - assuming you are using the build status plugin , if the downstream repos (e.g functional tests) don't have a direct link to a commit

Re: [go-cd] H2 database upgrades

2022-06-12 Thread Chad Wilson
I'm not sure I understand your question correctly, but GoCD manages its own database schema and will upgrade it automatically if necessary on first launch of any GoCD server version that has a schema change. These changes are supported across H2/Postgres/Mysql and are expressed in a DB-agnostic

Re: [go-cd] Manual approval step - message ambiguous

2022-06-20 Thread Chad Wilson
nstead, It would be expected to show "Waiting for XYZ user to approve" > > We are able to restrict permission to specific user to act on it which > disables the approval button for users with no permission. But the message > is not telling with whom it is pending. > > On

Re: [go-cd] Parameter/ Environment Variable - List of values support

2022-06-19 Thread Chad Wilson
I don't think there is a clean way to achieve this to my knowledge. The closest you could achieve that I can think of is some custom automation that - periodically queries your database to get the allowed values you are referring to - updates a pipeline's definition (via a configuration

Re: [go-cd] Manual approval step - message ambiguous

2022-06-19 Thread Chad Wilson
Are you able to clarify which "message" you are referring to wanting to "customize"? On Fri, Jun 17, 2022 at 8:55 PM 'Sarmistha Bhuyan' via go-cd < go-cd@googlegroups.com> wrote: > For manual approval step if any user logs in is it possible to know which > user it is pending with? Currently its

Re: [go-cd] Re: Stuck in 'Waiting for Agent' after updating agent from Ubuntu 20.04 to 22.04

2022-06-10 Thread Chad Wilson
Hi there Please take a look at https://groups.google.com/g/go-cd/c/5c1X3diKmag and/or https://github.com/gocd/gocd/issues/10265 In your case, the agent bootstrapper version is too new, and running with a Java version incompatible with the server. In your case I would suggest to either downgrade

Re: [go-cd] Create role based user Access

2022-06-10 Thread Chad Wilson
Hi! Within adding/editing role, you can add permissions for that role to access "admin" type of resources such as environments, config repos, elastic agent profiles etc as per https://docs.gocd.org/current/configuration/policy_in_gocd.html To control which *pipelines* a given user or role can

Re: [go-cd] running next stage despite previous stage failing

2022-05-24 Thread Chad Wilson
Another alternative you could consider is to create them as parallel jobs within a single stage, but define each job as requiring a *resource* (which are essentially just tags) there is only one of. This could be a single static agent which is tagged with a "resource", e.g "load-test-lock", or

Re: [go-cd] H2 error: "Database may be already in use" after upgrade

2022-05-20 Thread Chad Wilson
No problem! Perhaps what is happening is that after the OOM has occurred, it is being detected by the "wrapper" process shipped with GoCD with and the Java process is being restarted. If so, you should be able to see that auto-restart happening in the logs, including the go-server-wrapper.log.

Re: [go-cd] Agent Lost Contact - Unable to connect - SSL handshake error or connection reset

2022-05-02 Thread Chad Wilson
Hello This seems like an old GoCD version that you are running - are you able to report what version your server and agents are? It might be a bit difficult to provide great suggestions for these older versions, since the in-built TLS support for GoCD was replaced in GoCD 20.2.0

Re: [go-cd] iptable firewall rules for go.cd

2022-04-17 Thread Chad Wilson
Hi Pankaj For incoming connectivity from web clients and agents, GoCD only requires a port for HTTP access to be opened. Generally in order to secure a GoCD deployment (VPN or not) you first need to configure it for TLS; which means fronting it with a reverse proxy, TLS terminating load balancer

Re: [go-cd] GoServer Migration - Linux

2022-05-07 Thread Chad Wilson
Hi Nikita This is a very large upgrade distance, basically spanning the entire open source lifetime of GoCD :-) I imagine this might be challenging as this is over 8 years of change. Generally GoCD is designed to automatically upgrade its own database schemas and configurations between releases,

Re: [go-cd] showing my agent is unassigned.

2022-05-04 Thread Chad Wilson
Hi Rohan >From this part of your screenshot of the agent, it looks like your agent has been designated with the custom Environment "Default" and Resource "Windows". [image: image.png] Is the pipeline you are running part of an environment called "Default"? With this agent configuration, your

Re: [go-cd] Agent Lost Contact - Unable to connect - SSL handshake error or connection reset

2022-05-04 Thread Chad Wilson
different version and see how that goes >> >> >> On Monday, 2 May 2022 at 05:50:57 UTC-4 srir...@gmail.com wrote: >> >>> Replying here since I am unable to see the original mail in my mailbox: >>> >>> If you have renamed the agent.jks file and

Re: [go-cd] Script Executor wont save with #!/bin/bash #!/bin/sh

2022-05-10 Thread Chad Wilson
While the not-so-helpful error messages from GoCD aren't great - I'm not sure this is the root of your problem? The original error you said you were trying to fix is a pipeline failing with *'message': "Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.",

Re: [go-cd] Script Executor wont save with #!/bin/bash #!/bin/sh

2022-05-10 Thread Chad Wilson
'm not too > concerned because I call the same module to run against all of our PR's. > > Thanks again for your help! > On Tuesday, May 10, 2022 at 10:50:29 AM UTC-4 Chad Wilson wrote: > >> While the not-so-helpful error messages from GoCD aren't great - I'm not >> sure

Re: [go-cd] pipeline instance corrupted. Wont cancel

2022-05-11 Thread Chad Wilson
Broadly speaking this looks like a bug or race condition, although I have never come across such an error before and can't see how it could happen from the code. Unless we can find a way to replicate it, it might be difficult to fix. In terms of working around it - does it fix itself after a

Re: [go-cd] Port data from H2 to PostgreSQL

2022-08-26 Thread Chad Wilson
The main way to do this migration is using https://github.com/gocd/gocd-database-migrator after preparing an appropriate empty PostGres you want to populate. It *should* still be working up until GoCD 22.2.0 at time of writing (as there have been no db schema changes for a long time) but to my

Re: [go-cd] No elastic agents assigned to pipelines

2022-09-03 Thread Chad Wilson
Is this with Kubernetes elastic agents or docker elastic agents? On Fri, 2 Sep 2022, 13:52 Mohammad Umair, wrote: > Hello all, > I am new to GoCD. There is a problem with my gocd-server, i have created > an elastic agent profile by mounting the volume with host volume, whenever > i try to

Re: [go-cd] Port data from H2 to PostgreSQL

2022-09-06 Thread Chad Wilson
; This may sound odd but can you try replacing the single quotes with >> double quotes in the command you are executing in Windows. I think I >> remember having to do that for the migration tool to work on Windows. >> Thanks. >> >> Tsanko Stoev >> >> On Mon, Sep

Re: [go-cd] Port data from H2 to PostgreSQL

2022-09-05 Thread Chad Wilson
at >>>>> org.apache.commons.dbcp2.DriverFactory.createDriver(DriverFactory.java:49) >>>>> ... 6 more >>>>> >>>>> This is what I am using to run the tool from an elevated command >>>>> window: >>>>

Re: [go-cd] Port data from H2 to PostgreSQL

2022-08-28 Thread Chad Wilson
Tim had already asked about upgrades in https://groups.google.com/g/go-cd/c/ugTXHPOXNoQ/m/tQ8ovKq8AQAJ and https://groups.google.com/g/go-cd/c/EuIqzYsl7mU/m/kkj8b_L3AwAJ - in May they were on 20.4.0, and I had suggested the best time to do a DB switch is probably during the 20.4.0 -> 20.5.0

Re: [go-cd] Config Repos Master vs Main

2022-10-20 Thread Chad Wilson
That same view has a field the for the branch where you can set whatever you'd like. Sometimes it's collapsed into 'advanced settings' in some material setup places. So this should already be possible? -Chad On Fri, 21 Oct 2022, 07:32 Ross G, wrote: > I have created a new blank repo in Google

Re: [go-cd] Issues with GoCD db.properties file and LDAP after upgrade to 20.4.

2022-10-26 Thread Chad Wilson
Hiya On Thu, Oct 27, 2022 at 8:26 AM Funkycybermonk wrote: > Hello! > > I'm working on an upgrade path from 20.1 through 20.4 and a db migration > up to 22.2. A long path and a lot of complicated things changing. The > issues started with 20.4 and after a couple of hours of work I decided to >

Re: [go-cd] Issues with GoCD db.properties file and LDAP after upgrade to 20.4.

2022-10-27 Thread Chad Wilson
gt; strict option is disabled so any Auth is supposed to be accepted. > > Is there a way to increase logging or anything to provide more detail? > (Although I do have a good bit in logs already. > > Thanks! > > On Wed, Oct 26, 2022, 10:36 PM Chad Wilson wrote: > >> Hiya &

Re: [go-cd] GoCD Analytics Plugin for 20.5.0

2022-10-19 Thread Chad Wilson
Hiya As Github notes , that's an experimental version of the plugin, so aside from GoCD compatibility, probably not so wise to use for production. The "released" version at

Re: [go-cd] Job/task Success Status Recovery

2022-09-21 Thread Chad Wilson
I believe your understanding is correct - that you can't go back and change the earlier task to succeed. I would consider incorporating your retry/correction steps into the original task with wrapping source controlled scripting, or wrap it with some kind of build automation tooling/task runner

Re: [go-cd] How to prevent user using elastic profile which is not their own

2022-09-13 Thread Chad Wilson
I haven't thought this through in detail however it might be possible to use GoCD's 'environment' concept to achieve this if different teams have different config repositories they have permissions on. You can restrict which environments a given config repository has permissions to link pipelines

Re: [go-cd] Clickable Links in GoCD pipeline console logs?

2022-09-14 Thread Chad Wilson
le, but then I thought > about the drop-down arrows which expand and contract and wondered if there > was a hidden method. > > Cheers anyway :) > Chris > > > On Tuesday, September 13, 2022 at 4:23:11 PM UTC+1 Chad Wilson wrote: > >> Hi Chris >> >> It doesn't s

Re: [go-cd] goCD web ui modification

2022-09-07 Thread Chad Wilson
As a user/admin with an existing installation I don't believe that's practically possible. Or at least not easy, as assets are generally minified and packed together in a way they can be found and the installation is generally designed to run as an immutable package to being safety and

Re: [go-cd] Clickable Links in GoCD pipeline console logs?

2022-09-13 Thread Chad Wilson
Hi Chris It doesn't support that by default to my knowledge, i.e I don't believe there is any JavaScript magic running to detect and linkify URLs in the logs. As an alternative you could configure your pipeline to publish the dependency report as an artifact inside GoCD itself and any GoCD user

Re: [go-cd] Unable to run demo on Macbook Air M2

2022-10-04 Thread Chad Wilson
as so new it did > not even have rosetta installed. You can install it with > */usr/sbin/softwareupdate --install-rosetta* > > On Tuesday, October 4, 2022 at 3:53:00 PM UTC+11 Chad Wilson wrote: > >> Hmm I don't have an Apple Silicon machine to validate with, but there is >>

Re: [go-cd] goCD Native git materials plugin issue

2022-10-04 Thread Chad Wilson
Hi Kelly I'm not seeing how these identifiers are likely to cause an issue like this. They are just display names/aliases for a material. Is there a reason you think there is some correlation with these identifiers? Nevertheless, I think they can be whatever you want them to be. Having said all

Re: [go-cd] Unable to run demo on Macbook Air M2

2022-10-03 Thread Chad Wilson
Hmm I don't have an Apple Silicon machine to validate with, but there is probably some magic required to make sure Rosetta 2 can kick in? The test drive binary is not compiled for arm64 (and not packahed with arm64 JVM) so it'd rely on Rosetta to run as x64 for now. What if you prefix bash -s

Re: [go-cd] GoCD h2db migration to PostgresSQL

2022-10-06 Thread Chad Wilson
Hiya Please ignore anything at https://extensions-docs.gocd.org/ - we took the site down a few days ago because it is now causing confusion. This was the documentation for the old commercial add-ons and was left-up for the last 2 years

Re: [go-cd] GoCD Authorization

2022-10-08 Thread Chad Wilson
gt; I see it mentions in the GitHub repository. > *"It also supports authorization, which can be used by server admin to map > GoCD roles with GitLab projects or groups with access level.*" > > On Friday, October 7, 2022 at 5:24:45 PM UTC+7 srir...@gmail.com wrote: > >>

Re: [go-cd] Please Clarify Agent Auto Config Steps

2022-10-13 Thread Chad Wilson
Hi Ross The auto-registration key it refers to is automatically generated when your server first starts (if not present). It's persisted to the server config, stored at different locations depending on your installation type. For a container it's at https://hub.docker.com/r/gocd/gocd-server

  1   2   3   >