Re: [go-cd] source code compile problem

2023-07-16 Thread Chad Wilson
Maybe, GoCD is built with Node 18 right now. It still uses Webpack 4, which might not work correctly with Node 20. -Chad On Mon, 17 Jul 2023, 09:59 jianhua guo, wrote: > After running the command "yarn cache clean" and "rm -rf > server/src/main/webapp/WEB-INF/rails/node_modules", I compile

Re: [go-cd] source code compile problem

2023-07-14 Thread Chad Wilson
The commit is still at https://github.com/dtabuenc/karma-html-reporter/commit/51ba3f91a6f19ef383c676431aa7f8c3fa73dab3 so it *should* work fine. Perhaps try yarn cache clean and rm -rf server/src/main/webapp/WEB-INF/rails/node_modules and try again? If that doesn't work, what's your Yarn

Re: [go-cd] Go-Agent || CVE-2022-42889

2023-07-10 Thread Chad Wilson
Hiya GoCD has been using commons-text 1.10 (with the issue you refer to fixed) since GoCD 22.3.0: https://github.com/gocd/gocd/commit/293022076385c48c9fb41485b5674fa2e69c29c1 The agent *bootstrapper* doesn't use commons-text at all, however the agent jar which is dynamically downloaded from the

Re: [go-cd] Postgres backup not working on gocd server pod

2023-06-20 Thread Chad Wilson
Hi Alex You would need to either - build your own custom child GoCD server image which contains the relevant postgres binaries for your Postgres version, push 8t to our own registry and then override the repository/image:tag when installing the Helm chart, or - use an additional docker entrypoint

Re: [go-cd] Config repository and github webhook

2023-06-15 Thread Chad Wilson
There might be some confusion here, triggering a config repo material update from a webhook is via webhooks such as https://gocd.somewhere.org/go/api/webhooks/github/config_repos/ I believe this has been available since GoCD 21.1.0 (it may work with regular

Re: [go-cd] Queries on Webhook

2023-06-14 Thread Chad Wilson
I'm not sure I understand the question or what you are trying to achieve, however. Webhooks notify the GoCD server of a change to *materials*. The GoCD server then finds the relevant material(s), and updates them from source to determine the changes. It then follows normal operations (as it

Re: [go-cd] Modify Fan in behaviour

2023-06-13 Thread Chad Wilson
rvice(aka upstreams). > And was able to simulate and see where the fan-in didn't happen when > upstreams do not share any of the materials. > > Thanks for prompt response, > Mani > > On Tue, Jun 13, 2023 at 8:43 AM Chad Wilson > wrote: > >> If it's "not monorepo&quo

Re: [go-cd] Modify Fan in behaviour

2023-06-12 Thread Chad Wilson
not monorepo. Is there any other alternative? > > On Tue, Jun 13, 2023, 07:18 Chad Wilson wrote: > >> Doing that means removing the guarantees fan-in offers you as to >> consistency of the material versions on upstream pipelines when triggering >> a downstream. >>

Re: [go-cd] Modify Fan in behaviour

2023-06-12 Thread Chad Wilson
Doing that means removing the guarantees fan-in offers you as to consistency of the material versions on upstream pipelines when triggering a downstream. It's possible to turn off fan-in globally (although I have never done so personally) but to my knowledge not for individual pipelines.

[jira] [Commented] (IO-791) Regression in FileUtils.touch - no longer creates parent directories

2023-05-23 Thread Chad Wilson (Jira)
[ https://issues.apache.org/jira/browse/IO-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17725422#comment-17725422 ] Chad Wilson commented on IO-791: Sure, its just an option for folks who may be looking for other fixes

[jira] [Commented] (IO-791) Regression in FileUtils.touch - no longer creates parent directories

2023-05-23 Thread Chad Wilson (Jira)
[ https://issues.apache.org/jira/browse/IO-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17725397#comment-17725397 ] Chad Wilson commented on IO-791: May or may not be acceptable for all users but the workaround is basically

Re: [go-cd] Optimizing Plugin Loading Time in GoCD Server

2023-05-22 Thread Chad Wilson
Yeah, I agree with Ashwanth. You'd need to share more details, like the logs during start-up, version number, nature of your deployment, list of the plugins etc and details of your analysis - and clarify whether you are talking about the server restart time or an agent. There's not enough

Re: [go-cd] Ansible + Mitogen Performanceproblem

2023-05-17 Thread Chad Wilson
don't > expect mitogen will get ever any bigger updates again. > Currently, we have 20 servers with 10 go-agent each. To be honest, I think > 10 agents are still to much and if all 10 are running mitogen will start > slowing down again. > > Next we will try to get the go-agent runni

[jira] [Commented] (IO-791) Regression in FileUtils.touch - no longer creates parent directories

2023-05-17 Thread Chad Wilson (Jira)
[ https://issues.apache.org/jira/browse/IO-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17723762#comment-17723762 ] Chad Wilson commented on IO-791: Thanks [~ggregory] ! > Regression in FileUtils.touch - no longer crea

[jira] [Created] (IO-791) Regression in FileUtils.touch - no longer creates parent directories

2023-05-17 Thread Chad Wilson (Jira)
Chad Wilson created IO-791: -- Summary: Regression in FileUtils.touch - no longer creates parent directories Key: IO-791 URL: https://issues.apache.org/jira/browse/IO-791 Project: Commons IO Issue

Re: [go-cd] Ansible + Mitogen Performanceproblem

2023-05-05 Thread Chad Wilson
What is a "workernode" in this context? This isn't GoCD terminology, so it's unclear what this means? GoCD agents simply fork processes to run your tasks within the 'go' user context of the agent process. IIRC the entire "wrapping" environment from the agent process should be propagated to the

Re: [go-cd] Get pipeline and stages values from a task plugin

2023-04-26 Thread Chad Wilson
As far as I >> know, notification plugins have "global" config and cannot be tweaked per >> pipeline. >> >> I guess I'll query web API to get all the information. >> On Friday, April 14, 2023 at 3:47:07 PM UTC+2 Chad Wilson wrote: >> >>> Plu

Re: [go-cd] Why pipelines defined in configuration repository can not be cloned?

2023-04-24 Thread Chad Wilson
I'm not one of the original authors, however I suspect that is because if you are using pipelines-as-code they generally expect folks to clone/copy the original pipeline yaml/json/groovy rather than use an alternate representation via the UI, so it possibly wasn't a priority. The Admin >

Re: [go-cd] Reuse blocks of Groovy configuration code

2023-04-24 Thread Chad Wilson
Sure! You can use addAll() to add an array/collection of Tasks, or add() to add a single Task. You can see check out https://github.com/gocd/codesigning/blob/5288187ad876d99221a7f0863d5be5fc45fa63be/.gocd/build.gocd.groovy#L108-L120 for examples which re-uses the tasks defined here

Re: [go-cd] Get pipeline and stages values from a task plugin

2023-04-14 Thread Chad Wilson
Plugins only receive certain data defined by the plugin APIs and relevant to that type of plugin. Conceptually you could query the web APIs from within any type of plugin, but that would probably make more sense from a

Re: [go-cd] email notification in code

2023-04-09 Thread Chad Wilson
It's not possible to configure notifications for a pipeline via "pipelines as code" - in GoCD's design this configuration is considered outside the pipeline configuration as the functionality comes from third party plugins such as https://github.com/gocd-contrib/email-notifier which have their own

Re: [go-cd] Agents going offline randomly on 22.3

2023-04-07 Thread Chad Wilson
have > quite a few resources to eyeball for comparisons. > > > > I’ll share back as soon as I find either more questions or a solution > someone else might find useful. > > > > Thanks! > > > > *From:* go-cd@googlegroups.com *On Behalf Of *Chad > Wilson &

Re: [go-cd] Agents going offline randomly on 22.3

2023-04-04 Thread Chad Wilson
Was the setup working at some point and then something changed? It sounds to me like you have some problem with - agents' identities getting confused with one another (shared GUIDs), or - accidentally sharing working folders between two agent processes (double-starting an agent

Re: [go-cd] Okta OAuth Authorization plugin issue

2023-04-03 Thread Chad Wilson
ization.okta/authenticate >- Initiate: https:///go/plugin/cd.go.authorization.okta/login > > > On Tuesday, March 28, 2023 at 6:56:01 PM UTC+2 Chad Wilson wrote: > >> Please check the plugin specific log file, and be a bit more specific >> about what you are populating and cli

Re: [go-cd] How to remove pipeline console log files 7 days old

2023-04-01 Thread Chad Wilson
There's nothing built-in to do this. There are a few separate tools around such as 'gocd-janitor' to try and implement configurable artifact deletion (and console logs are a special 'artifact' in GoCD) if you also want to delete the other artifacts and GoCDs simple artifact cleanup (due to nearly

Re: [go-cd] Okta OAuth Authorization plugin issue

2023-03-28 Thread Chad Wilson
Please check the plugin specific log file, and be a bit more specific about what you are populating and clicking, and the associated HTTP responses from the browser. If it's getting an empty response upon saving a new config it may just be a 401/403 because with the added configuration you are

Re: [go-cd] Changes are not picked up with autoUpdate=false and a timer trigger

2023-03-25 Thread Chad Wilson
thanks for > your help! > > четверг, 23 марта 2023 г. в 13:02:32 UTC+7, Chad Wilson: > >> If you turn material updates *off*, this is the expected behaviour >> because you've told the polling subsystem not to check this material for >> updates unless you manually "t

Re: [go-cd] Checkout sources into the root agent folder

2023-03-25 Thread Chad Wilson
No, it's not possible to change this location on agents. Re-using a working space like this sounds like a bad idea to me, and even if you can work around this with symlinks it still sounds like a bad idea and the wrong solution to the problem. It doesn't solve all the problems, but are your

Re: [go-cd] Changes are not picked up with autoUpdate=false and a timer trigger

2023-03-23 Thread Chad Wilson
If you turn material updates *off*, this is the expected behaviour because you've told the polling subsystem not to check this material for updates unless you manually "trigger with latest". You probably need to leave autoUpdate turned *on* for the material and make the *first* stage a manual

[go-cd] Release Announcement - 23.1.0

2023-03-10 Thread Chad Wilson
Hello everyone, A new release of GoCD (23.1.0) is out. This release improves dashboard personalization, agent startup and "time until work starts" speeds & introduces arm64/aarch64 support via container multi-arch container images - among other maintenance

Re: [go-cd] Maximum Backtracking limit reached error

2023-03-02 Thread Chad Wilson
You might want to have a read of https://github.com/gocd/gocd/issues/1583 I believe often this is a side-effect of having one upstream pipeline manually triggered (infrequently) which shares a material with another upstream pipeline which is auto-triggered on each commit - and sometimes due to

Re: [go-cd] Re: How to struct GO-CD in multi materials condition

2023-02-25 Thread Chad Wilson
Yeah, if using pipeline templates, you'd generally set the pipeline name in the fetch artifact task to a pipeline parameter such as #{upstream-pipeline-to-fetch-from} - or include a parameter for the part that

Re: [go-cd] Re: How to struct GO-CD in multi materials condition

2023-02-25 Thread Chad Wilson
If your pipelines are just straight through linear triggers like A -> B -> C you might want to consider whether A, B, C need to be different *pipelines*, or could just be *stages* within a single pipeline. Otherwise the number of pipelines shouldn't be a concern unless you have thousands. I'm not

Re: [go-cd] Re: How to struct GO-CD in multi materials condition

2023-02-24 Thread Chad Wilson
I think this is possibly a misunderstanding of the purpose of fan-in and pipeline/Value Stream design. In the diagram you shared, the intent is to take the sum/aggregation of the outputs from the 3 source code repos, and 4 builds and produce a single package, while ensuring that the "package"

Re: [go-cd] Gocd create ressources without Admin permission

2023-02-24 Thread Chad Wilson
Maybe? Can you look through the documentation at https://docs.gocd.org/current/configuration/managing_users.html and its sub-pages and ask more specific questions about what you're struggling with in the design? -Chad On Fri, Feb 24, 2023 at 11:55 PM arvan malian wrote: > Hi Everyone, > I'm

Re: [go-cd] How to get the repository URL from the StageStatusRequest in the notification plugin?

2023-02-19 Thread Chad Wilson
At least with the notification skeleton plugin the buildCause.material map is not typed , so Java at compile time doesn't know what types of things

Re: [go-cd] Agent showing Last Connection

2023-02-18 Thread Chad Wilson
What type of agents are you using (docker images? linux? windows?)? On which GoCD version? There should be *something* in the agent logs (especially go-agent.log), as the agent continually pings the server and should complain if it can't talk to the server, which would then report some kind of

Re: [go-cd] Plugins logs missing with logstash

2023-02-16 Thread Chad Wilson
I believe it's possible for plugins that properly use GoCD's logging support (i.e they direct their logs to the GoCD plugin subsystem, rather than using their own logging configuration) by defining configuration in your logback-include.xml like the below. >From what I can tell, you'd need

Re: [go-cd] Personal Access Token for API

2023-02-06 Thread Chad Wilson
Hiya Komgrit I believe the Gitlab plugin is supposed to support use of GoCD personal access tokens (at least there is code that handles it) or was at some point with some particular Gitlab version. Perhaps take a look at the plugin and server logs and see what specific error is being logged

Re: [go-cd] AgentNoCookieSetException RemotingClient Server responded to action `ping` with: status 422 Unprocessable Entity

2023-01-29 Thread Chad Wilson
eciate your time and inputs. Thanks ! > Veenu > > On Tuesday, January 3, 2023 at 8:28:04 PM UTC-6 Chad Wilson wrote: > >> Hi Veenu >> >> >>- What type of elastic agents are these? ECS? Kubernetes? Something >>else? >> - From

Re: [go-cd] Package Repositories webhook for maven-repo.

2023-01-26 Thread Chad Wilson
I don't believe there is webhook support for any package repository plugins. The language is generic on the UI independent of material type, which is why it mentions webhooks. I'm not really sure how such a webhook would be technically possible for package repositories, given the variation of

Re: [go-cd] unbale to upgrade the GoCD-server version from 21.3.0 to

2023-01-23 Thread Chad Wilson
use more than half your system memory. > #wrapper.java.additional.2=-Xmx8g > wrapper.java.additional.105=-Xmx8G > > > #wrapper.java.additional.100=-Xms4g > > go.config.repo.gc.periodic=true > go.config.repo.gc.cron=0 0 7 ? * SUN > > On Friday, January 20, 2023 at 5:29:21 PM UTC+5:

Re: [go-cd] Pipeline/ stage material

2023-01-22 Thread Chad Wilson
Sure - there's at least two ways to go about this with some pros and cons. 1. *Built-in*: use "allowlists " (aka "includes" in some config repo plugins

Re: [go-cd] Failed to parse pipeline -check; null

2023-01-21 Thread Chad Wilson
It sounds like a bug, or at least something that should be handled better, even if it's a configuration issue causing it. - What GoCD version are you using? - What configuration values have you set in your config repository and what error is displayed in the UI? - Please also include

Re: [go-cd] Error in VSM: Value Stream Map of pipeline 'PipelineName' with counter '1' can not be rendered

2023-01-20 Thread Chad Wilson
prints is the same error message with just > NullPointerException and no stack trace. > > On Fri, Jan 20, 2023 at 11:37 AM Chad Wilson > wrote: > >> Have you checked the server log for details? >> >> On Sat, Jan 21, 2023 at 1:00 AM Veenu Official < >> veenuofficia

Re: [go-cd] Error in VSM: Value Stream Map of pipeline 'PipelineName' with counter '1' can not be rendered

2023-01-20 Thread Chad Wilson
Have you checked the server log for details? On Sat, Jan 21, 2023 at 1:00 AM Veenu Official wrote: > Hello! > We have been getting the below error for a lot of our pipelines: > > Value Stream Map of pipeline 'PipelineName' with counter '1' can not be > rendered. Please check the server log for

Re: [go-cd] unbale to upgrade the GoCD-server version from 21.3.0 to

2023-01-20 Thread Chad Wilson
That error means you are running your server with Java 16+, not with Java 11. It's not possible to get that error on Java 11. The server is probably using the bundled Java version within the rpm, which is Java 17 - which is the default behaviour. Anyway, if you are getting that error, it's

Re: [go-cd] how to add disction for agent or enviroment

2023-01-20 Thread Chad Wilson
No, don't think there is. They are essentially just "tags" or labels with some variables and agent assignment rules associated with them. It doesn't help for the GoCD UI or pipeline design, but you could partially work around it by setting a description in an environment variable for each

Re: [go-cd] Issues with saving xml on secure url with reverse proxy

2023-01-17 Thread Chad Wilson
Hiya Not 100% sure if relevant, but is your Secure Site URL set correctly in Admin > Server Configuration? With that limited description it sounds like perhaps your browser is trying to make cross-origin requests, e.g sending a request to https:// from something on http:// (or vice versa) which

Re: [go-cd] i am getting error while taking backup

2023-01-13 Thread Chad Wilson
Also might want to check you have installed pg_dump and the postgres tools on the server and they are available on the PATH. GoCD does not package the required tools specific to your database choice. -Chad On Sat, 14 Jan 2023, 09:19 Sriram Narayanan, wrote: > Could you verify whether that path

Re: [go-cd] GoCD is slow, several git processes are running with high cpu usage

2023-01-11 Thread Chad Wilson
`git branch -r --contains ` commands. I > was able to copy one of these git repos and inspect it. Its size is 333M on > disk, and has about 13 commits. I confirmed that running `git branch -r > --contains ` with a recent commit id took about 30 seconds. Then I > tried `git gc`.

Re: [go-cd] GoCD is slow, several git processes are running with high cpu usage

2023-01-11 Thread Chad Wilson
Yeah, I would start by investigating what is different about raw git performance as Ashwanth alludes to. Just to clarify, you don't run agents on the same machine as the server, do you? These are forked processes from GoCD, and the speed at which a given git operation runs isn't really affected

Re: [go-cd] AgentNoCookieSetException RemotingClient Server responded to action `ping` with: status 422 Unprocessable Entity

2023-01-03 Thread Chad Wilson
l source though! >> I was trying to see if a Go Agent can load selective plugins instead of >> picking everything under the Go server folders /plugins/bundled and >> /plugins/external. >> >> Anyways, thanks for all your inputs. >> >> >> >> On

Re: [go-cd] Artifact permissions lost after fetch

2022-12-27 Thread Chad Wilson
mber 28, 2022 at 2:22:21 AM UTC+2 Chad Wilson wrote: > >> The GitHub issue refers to the workarounds - one for your case might be >> to tar up the files yourself and publish a file artifact for the tarball >> archive rather than a directory artifact, then untar it after fetch. &g

Re: [go-cd] Artifact permissions lost after fetch

2022-12-27 Thread Chad Wilson
The GitHub issue refers to the workarounds - one for your case might be to tar up the files yourself and publish a file artifact for the tarball archive rather than a directory artifact, then untar it after fetch. -Chad On Wed, 28 Dec 2022, 04:28 Rabea, wrote: > I have an issue when I publish

Re: [go-cd] Make an env variable from another env variable in a pipeline definition

2022-12-21 Thread Chad Wilson
I don't believe there is any interpolation support for environment variables. Normally I'd suggest that this type of logic is better to sit in a source controlled script than in ones pipeline configuration for ease of maintenance and to minimise coupling with the logic of your build tasks.

Re: [go-cd] AgentNoCookieSetException RemotingClient Server responded to action `ping` with: status 422 Unprocessable Entity

2022-12-20 Thread Chad Wilson
variable only affects the plugins that are > loaded by the agent. It does not affect the plugins that are available on > the Go CD server, or the plugins that are loaded by other agents. > > On Tuesday, December 20, 2022 at 9:00:32 AM UTC-6 Veenu Official wrote: > >> Thank you

Re: [go-cd] AgentNoCookieSetException RemotingClient Server responded to action `ping` with: status 422 Unprocessable Entity

2022-12-19 Thread Chad Wilson
cheduler-1] DefaultGoPublisher:94 - Agent > [3ba812767907, 172.17.0.2, d1330c5c-f60e-4de2-beca-bc21859ee99b] is > reporting build result [Passed] to Go Server for Build > [Q3UNIT-Infra-QA/9/GetNexusArtifact/37/GetNexusArtifact/142012] > 2022-12-19 19:03:57,153 INFO [scheduler-1] HttpService

Re: [go-cd] Docker Build issue with Dind - MTU size

2022-12-19 Thread Chad Wilson
The GoCD dind image is just an extension of the official Alpine-based Docker one at *docker:dind*: https://github.com/gocd/docker-gocd-agent-dind/blob/master/Dockerfile#L29 ... so anything you can do with dockerd or the regular dind image should be possible on GoCD. Unfortunately, it looks like

Re: [go-cd] AgentNoCookieSetException RemotingClient Server responded to action `ping` with: status 422 Unprocessable Entity

2022-12-17 Thread Chad Wilson
Hi I haven't looked into your specific case in detail (there's not enough logging here as it is), however the general challenge of "ensure elastic agent startup time is as optimal as possible" is one I am interested in improving, especially with some help from the community in figuring out what

Re: [go-cd] H2 error: The database has been closed

2022-12-05 Thread Chad Wilson
gt; change the config and now, well wait and see... > > As for your questions: > >- Our cruise.mv.db is 1.6Gb >- We're on GoD 22.2.0 > > Thanks a lot > > Le vendredi 2 décembre 2022 à 16:31:32 UTC+1, Chad Wilson a écrit : > >> You might want to check the full stack

Re: [go-cd] Agent Not picking up External Pipeline with Secrets

2022-12-03 Thread Chad Wilson
who misunderstood how the secrets management plugin worked, my >> file was invalid because I was using unencrypted values and it was throwing >> a bad cipher error, I generated the secrets file with the cli tool and now >> it works >> >> On Friday, December 2, 2022

Re: [go-cd] Agent Not picking up External Pipeline with Secrets

2022-12-02 Thread Chad Wilson
be better handled. On Sat, 3 Dec 2022, 12:01 Evan Tatay-Hinds, wrote: > It does not get assigned to an agent. I'll look into the logging next time > I boot it up > > On Friday, December 2, 2022 at 10:22:48 a.m. UTC-5 Chad Wilson wrote: > >> Could you take a look at the server l

Re: [go-cd] H2 error: The database has been closed

2022-12-02 Thread Chad Wilson
You might want to check the full stack trace for other errors that might be happening before this, which might indicate corruption, and share those too. Sometimes errors about the DB being closed are the end result another failure, but not the root cause. Other than that - What size is your

Re: [go-cd] Agent Not picking up External Pipeline with Secrets

2022-12-02 Thread Chad Wilson
Could you take a look at the server logs and/or the plugin-specific log and see if any errors are being reported there that aren't making their way to the UI? If not, you could try https://github.com/gocd/gocd-file-based-secrets-plugin#enable-debug-logs to get more detailed logging of what is

Re: [go-cd] Multiple builds in a single pipeline at the same time

2022-12-02 Thread Chad Wilson
No, it has not been implemented. On Fri, 2 Dec 2022, 23:03 Oszkar Nagy, wrote: > Hello all, > > I found this thread https://github.com/gocd/gocd/issues/2329. > > Has this been implemented. > > I have a use case for this for gocd github pull request builder. >

Re: [go-cd] Issues with Custom Command in version 22.3.0

2022-11-30 Thread Chad Wilson
iling spaces so that it's not so sensitive) >> >> For now we are aware of these nuances and have adjusted accordingly. >> Thanks. >> >> Tsanko >> >> On Mon, Nov 28, 2022 at 7:23 PM Chad Wilson >> wrote: >> >>> It's perhaps more accidentally pi

Re: [go-cd] Unable to use the grep -ivr command in Gocd shell script executor plugin

2022-11-29 Thread Chad Wilson
The command runs on your agent, with the tools (bash, grep etc) available to your specific agent type and its OS. You might want to first check if it runs as you'd expect on the specific agent type directly (via ssh or docker run or similar). If it works when run directly, perhaps the issue is

Re: [go-cd] Issues with Custom Command in version 22.3.0

2022-11-28 Thread Chad Wilson
It's perhaps more accidentally picky in some areas as a side effect of fixing a number of other bugs. See https://github.com/gocd/gocd/pull/10625 Windows cmd is a strange thing and GoCD has some old strange workarounds for args where spaces are detected in them. That older workaround might not be

Re: [go-cd] GoCD database connection properties question

2022-11-23 Thread Chad Wilson
gt;>>> HttpOnly >>>> X-XSS-Protection: 1; mode=block >>>> X-Content-Type-Options: nosniff >>>> X-Frame-Options: SAMEORIGIN >>>> X-UA-Compatible: chrome=1 >>>> X-Powered-By: ARR/3.0 >>>> X-Powered-By: ASP.NET >>>>

Re: [go-cd] GoCD database connection properties question

2022-11-22 Thread Chad Wilson
If seeking higher degrees of automation, I believe you can also use the API at https://api.gocd.org/current/#encrypt-a-plain-text-value for this, alongside a personal access token or another credential - but I haven't personally tried it for this purpose. I am sure Aravind can correct me if this

Re: [go-cd] go-agent fails to start due to Java Service Wrapper license key issue

2022-11-10 Thread Chad Wilson
It depends how and which platform you installed/upgraded your server or agent, but usually this happens when folks are overwriting the pre-packaged wrapper.conf with a version from an earlier release (or one they have customised) rather than including their customisations in the separate

Re: [go-cd] Re: GoCD 22.3 does not appear to allow windows file paths for git urls

2022-11-09 Thread Chad Wilson
I am curious, does a UNC path work with `git clone` on the command line? It's possible this happened as a side effect of strengthening the validation in 21.3.0 (https://www.gocd.org/releases/#21-3-0) due to https://github.com/gocd/gocd/security/advisories/GHSA-xx28-8pr9-6xqh On Thu, Nov 10, 2022

[go-cd] Release announcement - 22.3.0

2022-11-05 Thread Chad Wilson
Hello everyone, A new release of GoCD (22.3.0) is out. This release provides Mac Apple Silicon installers, bundles the latest Java 17, and is predominantly a maintenance release. To know more about the features and bug fixes in this release, see the release notes

Re: [go-cd] Issues with backups on Go 22.2 and PostgreSQL v12

2022-11-03 Thread Chad Wilson
you know an eta on the release version or is this the version that will > be rolled to release? I'm just weighing time vs using H2 until this is > released for my upgrade window. > > Thanks!! > > On Thursday, November 3, 2022 at 3:13:26 AM UTC-5 Chad Wilson wrote: > >> Great, t

Re: [go-cd] Issues with backups on Go 22.2 and PostgreSQL v12

2022-11-03 Thread Chad Wilson
so if you have an installer I can run or just > the files to replace and instructions on where they need to go I’m happy to > give it a run. > > > > Thanks! > > > > *From:* go-cd@googlegroups.com *On Behalf Of *Chad > Wilson > *Sent:* Wednesday, November 2, 2022

Re: [go-cd] Issues with backups on Go 22.2 and PostgreSQL v12

2022-11-02 Thread Chad Wilson
testing backups on your trial Windows setup you are working on. -Chad On Wed, Nov 2, 2022 at 11:13 PM Chad Wilson wrote: > Technically speaking, the docs say the dbname without --dbname= should be > the last argument after all connection options, which GoCD doesn't respect. > Possibl

Re: [go-cd] Issues with backups on Go 22.2 and PostgreSQL v12

2022-11-02 Thread Chad Wilson
Technically speaking, the docs say the dbname without --dbname= should be the last argument after all connection options, which GoCD doesn't respect. Possibly pg_dump is more flexible on other OSes than Windows? If you move "gocd" to the end of the command line you will probably find it works.

Re: [go-cd] Preventing manual progressing of failed stages

2022-11-01 Thread Chad Wilson
To my knowledge there's nothing that allows that override by an admin/user group, other than the admin or group admin or pipeline admin's implicit ability to edit the pipeline config and remove the requirement from the stage temporarily (if the pipeline is defined via UI/API rather than in an

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

2022-11-01 Thread Chad Wilson
o I'm not sure if > that's the core issue but the articles I've seen were suggesting those > errors should be warnings. It's those getting 500 errors from the api. * > > > > *I can post the debug part if the logs if that helps as well. I still > don't understand where it decides the pat

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] 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] 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] 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] Please Clarify Agent Auto Config Steps

2022-10-14 Thread Chad Wilson
1032 Oct 12 03:48 > logback-include.xml > > > > On Friday, October 14, 2022 at 4:22:16 PM UTC+11 Chad Wilson wrote: > >> Hi Ross >> >> The auto-registration key it refers to is automatically generated when >> your server first starts (if not present

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

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] GoCD Authorization

2022-10-07 Thread Chad Wilson
Hiya Localhost doesn't resolve within docker/containers like you're expecting there. From within a GoCD it will refer to the GoCD docker container not your wider host. You need to either use the container's IP on the internal docker network, OR use the gitlab container ID as hostname, OR override

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 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-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] 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] How to prevent user using elastic profile which is not their own

2022-09-29 Thread Chad Wilson
" or elastic_profile_id: > "$AGENT_NAME" or elastic_profile_id: "${AGENT_NAME}". > > Those always show an error in Config Repository page. By the way, it > stills can echo to get the agent name. > > On Wednesday, September 14, 2022 at 11:28:00 AM UTC+7 Chad Wilson wrote: &g

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] 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] 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-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] 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] 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: >>>>

<    1   2   3   4   5   >