Re: [go-cd] Connecting Azure Repo to gocd version 19.8.0

2024-05-27 Thread Sriram Narayanan
You may find this approach convenient (not as convenient as a ready-made UI, but convenient all the same). 1. Create a Secured Environment variable in a pipeline and set the value to be the PAT 2. View the config.xml from the admin menu to get the encrypted token strong that will start with "AES:"

Re: [go-cd] How to Configure Redundant LDAP Authorization?

2024-05-21 Thread Sriram Narayanan
gt; > > Do you know how the plugin handles SSL negotiation? We considered DNS > round-robin but ruled it a non-starter, under the assumption that LDAPS > would require that the hostname and certificate name match. > > > > Regards, > > *Jason Smyth* > > > > *From

Re: [go-cd] How to Configure Redundant LDAP Authorization?

2024-05-17 Thread Sriram Narayanan
On Fri, 17 May 2024 at 10:53 PM, Jason Smyth wrote: > Hi everyone, > > We are looking to move from the bundled LDAP authentication plugin to the LDAP > authorization plugin > . > > For redundancy, our current setup uses 2 LDAP connectors,

Re: [go-cd] Mount .ssh from EFS to the container (from the image gocd/gocd-server:v22.3.0)

2024-05-07 Thread Sriram Narayanan
ere. There are use cases where the keys are made >> available via a different network share and not mixed with configurations >> that regular GoCD admins would have access to, and hence being able to >> mount from a separate place to ~/.ssh is helpful. You could always place >

Re: [go-cd] pipeline as code - stuck on waiting for agent

2024-05-03 Thread Sriram Narayanan
On Sat, May 4, 2024 at 1:10 AM 'pan...@mammoth.io' via go-cd < go-cd@googlegroups.com> wrote: > Hi, > > I am trying to use the feature of pipeline as a code. In the config > repository, I have configured an Allow rule for a specific environment. > There are agents assigned to this environment.

Re: [go-cd] Mount .ssh from EFS to the container (from the image gocd/gocd-server:v22.3.0)

2024-04-28 Thread Sriram Narayanan
o mount from a separate place to ~/.ssh is helpful. You could always place the .ssh directory along side other directories that would get to godata, while also explicitly specifying a mount to /home/go. At present, GoCD does not have a configuration option to point it to a private key at a path oth

Re: [go-cd] Mount .ssh from EFS to the container (from the image gocd/gocd-server:v22.3.0)

2024-04-25 Thread Sriram Narayanan
On Thu, Apr 25, 2024 at 10:16 PM Satya Elipe wrote: > Hi all > > Wonder, what's the way around to mount .ssh from EFS into the gocd base > container (from the image gocd/gocd-server:v22.3.0). > > > We have saved all our content into EFS under /godata and maps that into > the container as

Re: [go-cd] Elastic agents plugin usage

2024-04-25 Thread Sriram Narayanan
On Thu, Apr 25, 2024 at 10:01 PM Satya Elipe wrote: > Hi All > > I'm encountering some issues with the way Elastic agents are launched, > assigned, and terminated. Despite setting the maximum agent count to two, > both agents launch sequentially, with only the first being assigned to the > job.

Re: [go-cd] "/godata/db/h2db/cruise.mv.db" is locked

2024-04-25 Thread Sriram Narayanan
or do you have any suggestions for a > workaround? > > > Thanks in advance ! > > > > > On Tue, Apr 23, 2024 at 4:13 PM Sriram Narayanan > wrote: > >> >> >> On Tue, Apr 23, 2024 at 10:22 PM Satya Elipe >> wrote: >> >>> Hi All >

Re: [go-cd] "/godata/db/h2db/cruise.mv.db" is locked

2024-04-23 Thread Sriram Narayanan
On Tue, Apr 23, 2024 at 10:22 PM Satya Elipe wrote: > Hi All > > I'm dockerizing our static/standalone GoCD server. > > Hence copied the content from the static GoCD server to EFS and mounted > that EFS content into the container (GoCD server container). > > And with that, container starts and

Re: [go-cd] SCM VALIDATE FAILED

2024-03-19 Thread Sriram Narayanan
On Tue, 19 Mar 2024 at 5:29 PM, Chad Wilson wrote: > That looks normal to me. > > I don't know - my only other suggestions to narrow it down are the same as > earlier: > >- check the browser console for Javascript errors when loading these >pages >- check the browser debugger

Re: [go-cd] Is it possible for multiple GoCD servers to use the same database?

2024-03-07 Thread Sriram Narayanan
On Thu, Mar 7, 2024 at 10:21 PM Lance Nehring wrote: > I'm wanting to deploy a GoCD server into 2 different K8S clusters and have > them share a database. My goal is to be able performance maintenance on > one K8S cluster without impacting the developers. > > *SO* the question is: can

Re: [go-cd] Is possible to run task parallel

2024-01-04 Thread Sriram Narayanan
No On Thu, 4 Jan 2024 at 3:02 PM, Vijay A wrote: > > I have installed GoCD server. And Installed one GoCD Agent. > > Now i created a new pipeline : Pipeline1 > > Created one stage : Stage1 > > Now two jobs: Job1 and Job2 > > As i am having one GoAgent, does these two jobs will be executed >

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

2023-11-10 Thread Sriram Narayanan
o the pipeline? >> >> — Sriram >> >> On Sat, 11 Nov 2023 at 12:24 AM, Sriram Narayanan >> wrote: >> >>> Move that “pull” into an like here : >>> >>> https://docs.gocd.org/current/configuration/configuration_reference.html#ex

Re: [go-cd] issues loading cruise-config.xml on gocd version 23.4

2023-11-10 Thread Sriram Narayanan
On Sat, Nov 11, 2023 at 1:47 AM Sri Sai Sruthi JAGANNADDAM < sjagannad...@mdsol.com> wrote: > Hi team, > > We are facing an an issue upgrading to GOCD version 23.4 from 21.2, > On further investigation we found there is an issue with 3 plugins as > observed in logs, when we remove the 3 bundled

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

2023-11-10 Thread Sriram Narayanan
it pipelines to templates. > > On Friday, November 10, 2023 at 11:03:59 AM UTC-6 srir...@gmail.com wrote: > >> Btw, why exactly are you pulling a git repo? Have you considered adding >> it as a material to the pipeline? >> >> — Sriram >> >> On Sat, 11 No

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

2023-11-10 Thread Sriram Narayanan
Btw, why exactly are you pulling a git repo? Have you considered adding it as a material to the pipeline? — Sriram On Sat, 11 Nov 2023 at 12:24 AM, Sriram Narayanan wrote: > Move that “pull” into an like here : > > https://docs.gocd.org/current/configuration/configuration_reference.

Re: [go-cd] Agent docker image

2023-11-10 Thread Sriram Narayanan
On Sat, 11 Nov 2023 at 12:00 AM, Satya Elipe wrote: > Hi All > > Any recommendation for go-agent docker image like we have for go-server > (gocd/go-server:v22.3.0) ? > > We are dockerizing a stand-alone g-server runs as an ec2 at the moment but > would like to move it to ECS. > > any inputs will

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

2023-11-10 Thread Sriram Narayanan
Move that “pull” into an like here : https://docs.gocd.org/current/configuration/configuration_reference.html#exec If you edit this custom command in the UI, then keep only the git in the command, and move the pull into the arguments text area below. — Sriram On Fri, 10 Nov 2023 at 9:38 PM,

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

2023-11-09 Thread Sriram Narayanan
Looks like the git executable is not on the path for the service account used for the go-agent. Please compare the PATH settings between your 21.2 and 23.3 instances. -- Sriram On Fri, Nov 10, 2023 at 10:55 AM Sri Sai Sruthi JAGANNADDAM < sjagannad...@mdsol.com> wrote: > Could any one please

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

2023-11-07 Thread Sriram Narayanan
On Tue, Nov 7, 2023 at 7:50 PM Satya Elipe wrote: > Hi All > > We are currently on GoCD version 22.3.0 and wonder when is the right time > to upgrade, so the documentation for end-of-support dates would be a help > here, many thanks. > Note: I am not a developer of GoCD, I'm just a consultant

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

2023-10-26 Thread Sriram Narayanan
h material using the special secrets >> interpolation syntax: >> https://docs.gocd.org/current/configuration/secrets_management.html This >> will work with either manually defined pipelines/materials, or those >> defined externally in source control. >> >> -C

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

2023-10-26 Thread Sriram Narayanan
Please see: https://docs.github.com/en/authentication/connecting-to-github-with-ssh The gocd server runs as a particular user account. That user account needs access to the ssh private keys used to authenticate with GitHub. The go agent too needs the same access. Assuming you are on Linux and

Re: [go-cd] About multiple go agent

2023-09-07 Thread Sriram Narayanan
On Fri, 8 Sep 2023 at 12:58 AM, Vijay A wrote: > Hi Team, > > I am new here it is possible to have multiple go agent in same machine > using docker compose file.we have setup go and agent using docker-compose. > See:

Re: [go-cd] Rollback deployment method

2023-08-05 Thread Sriram Narayanan
On Fri, Aug 4, 2023 at 3:03 PM Vijayakumaran A. < vijayakumara...@praniontech.com> wrote: > hi Thanks for the reply,actually we are new to gocd and we have simple > two pipelines as of now. > > pipeline one for java application with two stages: > > Stage 1 : build stage using maven > Stage 2 :

Re: [go-cd] shouldn't required resources also be at the pipeline level?

2023-07-24 Thread Sriram Narayanan
On Mon, Jul 24, 2023 at 8:44 PM Joshua Franta wrote: > > chad thanks for your answer. > > i think the main source of confusion is that I thought parameters could > only be referred to in scripts! > I didn't know you could refer to them inside of other configuration > properties! > Is this

Re: [go-cd] shouldn't required resources also be at the pipeline level?

2023-07-23 Thread Sriram Narayanan
You would have agents on the various machines, tag the agents with specific resource tags, and tag specific jobs with those resource tags. — Sriram On Sun, 23 Jul 2023 at 8:21 PM, Joshua Franta wrote: > appreciate so many responses. i think we're a little apart so i'll take > the suggestion

Re: [go-cd] Release Announcement - 23.2.0

2023-07-22 Thread Sriram Narayanan
Thanks, Chad. — Sriram On Sat, 22 Jul 2023 at 4:39 PM, Chad Wilson wrote: > Hello everyone, > > A new release of GoCD (23.2.0) is > out. > > This release is mainly a minor maintenance release. As always, please > remember to take a backup before

Re: [go-cd] source code compile problem

2023-07-16 Thread Sriram Narayanan
I’ve got a patch for this error that I did not get around to pushing to Chad for a review. See if it works for you: diff --git a/server/src/main/webapp/WEB-INF/rails/package.json b/server/src/main/webapp/WEB-INF/rails/package.json index d1731eb250..a7df131eb8 100644 ---

Re: [go-cd] Prevent stage re-run / Force running full pipelines

2023-05-11 Thread Sriram Narayanan
Not possible in GoCD currently. I’ve catered to this in the past with a workaround - setting up a preceding pipeline that people can trigger which then leads to triggering this downstream pipeline. Just a workaround. — Sriram On Fri, 12 May 2023 at 12:56 AM, 'Matt Gaunt-Seo' via go-cd <

Re: [go-cd] Bignners on GoCD Tool

2023-03-11 Thread Sriram Narayanan
Hello Sunny, Have you had a look at the sample pipeline that you can see in the gocd dashboard ? Have a look at how GoCD itself used GoCD for its own build, test and release here: https://build.gocd.org/ ( click the guest login). Do you already have a CI setup for your software using some other

Re: [go-cd] Public non-sensitive non-login dashboard?

2023-01-22 Thread Sriram Narayanan
On Sun, Jan 22, 2023 at 1:17 PM Richard X wrote: > Hi. > > I would like to present a public dashboard where people can look at logs, > but not do anything (not even the possibility to try to log in). > > While another website (only accessible via the LAN) is where you can log > in and manipulate

Re: [go-cd] Move server from windows to linux server

2023-01-13 Thread Sriram Narayanan
On Fri, 13 Jan 2023 at 1:39 PM, Nayan Makwana wrote: > Dear folks > i am unable to get my all agent after moving my server from windows to > Linux on same IP so how to retrieve my all agents please help me out for > the same Do the logs on the agent reveal anything about the connection with

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

2023-01-13 Thread Sriram Narayanan
Could you verify whether that path in the —file parameter ( shown in the error message ) exists? — Sriram On Fri, 13 Jan 2023 at 4:18 PM, Nayan Makwana wrote: > [image: gocd.png] > I am getting error for while taking backup > > -- > You received this message because you are subscribed to the

Re: [go-cd] How to aggregate the artifacts of a build matrix

2023-01-07 Thread Sriram Narayanan
On Sat, 7 Jan 2023 at 10:44 AM, 'Alexey Savchkov' via go-cd < go-cd@googlegroups.com> wrote: > Thank you for the detailed response. > > > a test failure means the report would either be incomplete or not useful > isn't it? > No, by a test failure I mean the negative result of a test ("Test

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

2022-11-28 Thread Sriram Narayanan
As a temporary workaround, could you move that copy Command into a batch file and verify if that works? Many of us follow the habit of running commands via version-controlled shell scripts that are used as materials. This decouples the commands from the orchestration tool, provides version

Re: [go-cd] SSO login is not working between GitLaB and GOCD

2022-11-21 Thread Sriram Narayanan
On Tue, Nov 22, 2022 at 5:15 AM SATYA R wrote: > Hi Team, > > I am trying enable to SSO between GitLan and GoCD. > GoCD version: 22.3.0 > In GoCD, I configured the plugin with ApplicationId, ClientSecret and > AccessToken and the check connection is also successful. > In GitLab, I have provided

Re: [go-cd] gocd agent 18.10

2022-11-08 Thread Sriram Narayanan
On Tue, Nov 8, 2022 at 5:27 AM VIjay wrote: > Hi, > I have installed gocd-agent 18.10 on linux centos 7. > when i look for /usr/share/go-agent/wrapper-config/wrapper-properties.conf > file I am not seeing that. > > Where can i find this file? > Could you just create that directory and file and

Re: [go-cd] Release announcement - 22.3.0

2022-11-05 Thread Sriram Narayanan
On Sat, Nov 5, 2022 at 5:38 PM Chad Wilson wrote: > 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

Re: [go-cd] How to change user go to root

2022-10-20 Thread Sriram Narayanan
As an On Thu, Oct 20, 2022 at 2:57 PM Nayan Makwana wrote: > Hello Folks, > I am working on a plugin that can delete specific files from my Linux > agent but is asking me for authentication I have already given all kinds of > access to the go user but now I want to work with root rather than

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

2022-10-19 Thread Sriram Narayanan
On Thu, 20 Oct 2022 at 1:20 AM, 'Abdul Latif Siddiqui' via go-cd < go-cd@googlegroups.com> wrote: > Hi Chad, > > I was able to install the plugin, but it requires additional assets > > files, our current setup

Re: [go-cd] GoCD Authorization

2022-10-07 Thread Sriram Narayanan
On Fri, Oct 7, 2022 at 6:17 PM Chad Wilson wrote: > 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

Re: [go-cd] GoCD Authorization

2022-10-07 Thread Sriram Narayanan
On Fri, Oct 7, 2022 at 5:15 PM X-Cloud Lab wrote: > Thank you. I tested my first scenario. > > It seems the problem causes from domain name resolving. I'm using > localhost for a test gitlab and gocd with docker. > > GitLab:80 > GoCD:8153 > > jvm 1| 2022-10-07 09:07:02,534 ERROR

Re: [go-cd] GoCD Authorization

2022-10-06 Thread Sriram Narayanan
On Fri, 7 Oct 2022 at 11:36 AM, X-Cloud Lab wrote: > Hello All, > > Currently, I'm using GitLab authorization and it works perfectly but the > users in GitLab is local users. > > Now, I'm using AWS Identity Center (SSO). It provides SAML federation. > It can integrate with GitLab through AWS SSO

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

2022-10-06 Thread Sriram Narayanan
On Thu, Oct 6, 2022 at 9:00 PM 'Abdul Latif Siddiqui' via go-cd < go-cd@googlegroups.com> wrote: > Hello Team, > > We are using GOCD version 20.4.0 with h2db. > We are planning to migrate from h2 to Postgres by following the below > documents. > >

Re: [go-cd] Unable to Manage GoCD Server Process - go-server: unrecognized service

2022-08-27 Thread Sriram Narayanan
On Sun, 28 Aug 2022 at 8:22 AM, Jason Smyth wrote: > Hello everyone, > > We are running GoCD 19.8.0 on CentOS 6.10 (Final). > > On both the production and test server we are apparently unable to manage > the GoCD server process. The documentation >

Re: [go-cd] Clone a Template

2022-07-23 Thread Sriram Narayanan
On Sat, Jul 23, 2022 at 11:12 PM Sriram Narayanan wrote: > Hi, > > You can edit the config XML file, copy-paste the template spec you want > into another, and edit it to give it a unique name. > https://goserver:8153/go/admin/config_xml <http://localhost:8153/g

Re: [go-cd] Clone a Template

2022-07-23 Thread Sriram Narayanan
Hi, You can edit the config XML file, copy-paste the template spec you want into another, and edit it to give it a unique name. -- Sriram On Sat, Jul 23, 2022 at 1:42 AM Tim Stevens wrote: > Hello, we are using an older version of GO and I wanted to clone a > template today. I don't see of a

Re: [go-cd] It is possible to make user interactive pipeline

2022-07-13 Thread Sriram Narayanan
On Wed, 13 Jul 2022 at 8:17 PM, Nayan Makwana wrote: > I want to create one pipeline which can be user interactive so user can > decide while deploying for taking backup or not from the old build or data > base. > > If you use the “Trigger with Options” feature, you can provide a default that

Re: [go-cd] Re: how to use local repository as material

2022-07-07 Thread Sriram Narayanan
On Thu, 7 Jul 2022 at 11:12 PM, Lawrence wrote: > Just set the URL to file://C:/project/some.git. Think you can also just > use C:/project/some.git, but it's been a few years since I've used GoCD > this way. Most importantly, that local path needs to be a supported repository ( and not just a

Re: [go-cd] Enterprise Support for GoCD

2022-06-28 Thread Sriram Narayanan
On Tue, 28 Jun 2022 at 2:34 PM, 'Sarmistha Bhuyan' via go-cd < go-cd@googlegroups.com> wrote: > Hi, 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 provides

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

2022-06-18 Thread Sriram Narayanan
On Sat, 18 Jun 2022 at 3:43 PM, 'Ehtesham Kafeel' via go-cd < go-cd@googlegroups.com> wrote: > Hi, > > We run our functional tests as downstream pipeline that runs on completion > of multiple upstream pipelines with git as material, a GitHub Pr to be > precise. We obviously get the status checks

Re: [go-cd] H2 database upgrades

2022-06-12 Thread Sriram Narayanan
On Sun, Jun 12, 2022 at 10:44 PM Tim Stevens wrote: > Hi, we are considering migrating from the H2 database to another database > such as Postgresql. My question is once we do that, if there are schema > changes made to the H2 database, will there be sql scripts provided so that > we can update

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

2022-05-24 Thread Sriram Narayanan
On Tue, May 24, 2022 at 3:15 PM 'pan...@mammoth.io' via go-cd < go-cd@googlegroups.com> wrote: > We have a few stages in one go pipeline. We want to run the subsequent > stages even if the previous stage ends in failure. How do we do this? To clarify, a stage can have multiple jobs that run in

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

2022-05-09 Thread Sriram Narayanan
On Tue, May 10, 2022 at 1:40 PM Sifu Tian wrote: > > HI, > > Ive tried both. You can see the second screenshot is the custom command > method. > Ah indeed! Both ways don't allow you to save the task if you add #!/bin/sh to the > argument and throw and error. > Could you replace the

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

2022-05-09 Thread Sriram Narayanan
On Tue, May 10, 2022 at 11:45 AM Sifu Tian wrote: > Hi, > > I'm sure this is an old issue however I cant seem to find the resolution. > > I have a script executor with a job that is running a python module > defined for shellcheck linter. > Could you use the Custom Command to run a shell script

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

2022-05-02 Thread Sriram Narayanan
Replying here since I am unable to see the original mail in my mailbox: If you have renamed the agent.jks file and are able to re-establish contact (you've said the agent is idle for 10-15 minutes), then please try the following: 1. Disable the agent and then enable it again. 2. If removing it

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

2022-04-17 Thread Sriram Narayanan
On Sun, Apr 17, 2022 at 10:28 PM 'pan...@mammoth.io' via go-cd < go-cd@googlegroups.com> wrote: > Hi Chad, > > Thanks for these clarifications. I wanted to eliminate exactly these > possibilities. This is then something else with my machine configuration. I > am digging into it. As of now, I am

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

2022-04-02 Thread Sriram Narayanan
I haven't used any of these policies before, but I wonder if one of them prevents GoCD from seeing changes. https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches I am curious about the

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

2022-03-10 Thread Sriram Narayanan
There could also be other opportunities for improvement such as: - moving from individual pipelines to templates - organising tasks ( what is a job in Jenkins) into jobs that can run in parallel in a stage, and then sequencing stages that must run together into a pipeline. And of course, Chad has

Re: [go-cd] Re: GoCD keep spamming STDERR: fatal: repository not found

2022-03-10 Thread Sriram Narayanan
GoCD server polls the configured repositories at regular intervals. If a repository is not accessible for some reason ( unreachable on the network), then it’ll give this error. — Sriram On Thu, 10 Mar 2022 at 4:14 PM, Maxime Szwechowiez < szwechowiez.max...@gmail.com> wrote: > Up ? .. > > Le

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

2022-03-01 Thread Sriram Narayanan
On Tue, 1 Mar 2022 at 10:43 PM, Mario Giammarco wrote: > Sorry I need to change enviroment variables not parameters. > When I’ve needed to do this, I’ve loaded the required values into environment variables via a file ( eg the “source” command in a shell script) - the file is then delivered as

Re: [go-cd] Artifact fetch URL is broken

2022-02-08 Thread Sriram Narayanan
I’m on my phone and haven’t tried your snippet yet. Are you able to see the artifact foo.tar being generated and uploaded? Can you navigate to the artifacts tab and download this artifact Via your web browser? — Sriram On Wed, 9 Feb 2022 at 5:46 AM, Brian Kejser wrote: > I have two agents: one

Re: [go-cd] limit of the number of agents

2022-02-03 Thread Sriram Narayanan
On Fri, 4 Feb 2022 at 7:34 AM, f.fang wrote: > Hello, > > We need at least 500 agents to run distributed tests and are wondering if > a GoCD server can handle well. Does anyone have experience of running GoCD > at similar or larger scale? > Yes indeed. You will need to consider the CPU and

Re: [go-cd] ${COUNT} not resolve

2021-12-30 Thread Sriram Narayanan
You need a different environment variable. Please expand the second twisty from the top to see a list of the environment variables that GoCD sets for you. Perhaps you want: GO_PIPELINE_COUNTER -- Sriram On Thu, Dec 30, 2021 at 10:36 PM Damia Bisyri wrote: > Hi guys, > > I'm facing error when

Re: [go-cd] Re: Need help with Gauge framework

2021-11-07 Thread Sriram Narayanan
On Mon, Nov 8, 2021 at 2:53 PM Sunaina Awadhiya wrote: > Hi Jason, > > Thanks for response but i have tried adding "gauge_data_dir" in env > java.properties file but i am getting parse error. could you please help. > Could you see if the example give here is of help:

Re: [go-cd] Error while running "npm install" command

2021-06-03 Thread Sriram Narayanan
On Thu, Jun 3, 2021 at 8:57 PM Marques Lee wrote: > Hmm, that’s right npm really just wraps node. So you’ll have to change > your PATH to include /usr/local/bin > > You can do this in the wrapper properties for the agents. > > You should be able to add: > > set.PATH=/usr/local/bin:/usr/bin:... >

Re: [go-cd] GOCD Server 21.2.0 Java version and Agent version mismatch (RHEL 7.6)

2021-06-01 Thread Sriram Narayanan
On Wed, Jun 2, 2021 at 1:27 PM Prakash K wrote: > Hi Marques, > > I have changed set.JAVA_HOME in wrapper-config/wrapper-properties.conf to > use openjdk-11.0.5.10-0 and restarted the service. > Class version 57 requires JRE 13. See: https://en.wikipedia.org/wiki/Java_class_file Please start

Re: hRe: [go-cd] More complex git workflows

2021-05-10 Thread Sriram Narayanan
Is creating a new PV and provisioning that a feasible option? That's what I do on my Illumos build zones for some use cases - I use a ZFS snapshot, mount it into a Zone and run specific build experiments. It saves me a lot of time since I can avoid cloning gigabytes of code even from the same

Re: [go-cd] More complex git workflows

2021-05-10 Thread Sriram Narayanan
What does your reference repo contain? Is the content going to be used for the build? Ram On Tue, 11 May 2021 at 9:37 AM, HUSSEIN KADIRI wrote: > I have elastic agents so the cron route would not be feasible. > > I mount a reference repo as a K8s PVC. > > I want to do a git clone

Re: [go-cd] Re: Push based CI workflow pipeline material

2021-05-10 Thread Sriram Narayanan
You could create a dummy material repo, and either trigger the pipeline via an API call or via a commit to that repo or via a schedule. Ram On Tue, 11 May 2021 at 9:30 AM, HUSSEIN KADIRI wrote: > Hmm, > Yes the web hook would make it push based. But It still does not get me > past the material

Re: [go-cd] More complex git workflows

2021-05-10 Thread Sriram Narayanan
On Tue, 11 May 2021 at 9:31 AM, Marques Lee wrote: > Hmm. Well I suppose you could git clone —bare —mirror to a known location > and then: > > 1) create git materials with file system paths for the url instead of > http/ssh > 2) run a cron to keep the ref repo updated > > Would that work? >

Re: [go-cd] Create Pluggable SCM error?

2021-04-28 Thread Sriram Narayanan
On Wed, Apr 28, 2021 at 9:41 PM Sriram Narayanan wrote: > Great! > > May I request you to start a fresh thread on this second issue, please? > Context: This is a completely different plugin, and some of the active committers to the plugin are on this mailing list. A fresh email wit

Re: [go-cd] Create Pluggable SCM error?

2021-04-28 Thread Sriram Narayanan
s-remote failed* > [image: gocd-git-path-material-plugin-error.png] > > I can successfully run the git command on the GoCD server without error: > git ls-remote git@github:devops/dev-utils.git > > Any ideas how to solve this one, please? > > Thanks in advance > > On Tue

Re: [go-cd] Create Pluggable SCM error?

2021-04-27 Thread Sriram Narayanan
On Tue, Apr 27, 2021 at 11:40 PM Sriram Narayanan wrote: > > > On Tue, Apr 27, 2021 at 9:51 PM Emil wrote: > >> Ashwanth, >> >> I have copied the url (https://github/api/v3/repos/devops/python-build) >> from the 401 error message (reported in my earlier post)

Re: [go-cd] Create Pluggable SCM error?

2021-04-27 Thread Sriram Narayanan
On Tue, Apr 27, 2021 at 9:51 PM Emil wrote: > Ashwanth, > > I have copied the url (https://github/api/v3/repos/devops/python-build) > from the 401 error message (reported in my earlier post) and I have > *successfully > hit *the GitHub API >

Re: [go-cd] Create Pluggable SCM error?

2021-04-27 Thread Sriram Narayanan
Could you check what the Github Enterprise logs state when you try to connect via GoCD? -- Ram On Tue, Apr 27, 2021 at 11:09 PM Emil wrote: > I guess the only difference between the Enterprise setup and the public > GitHub is the difference in API url as described in the README: > >- for

Re: [go-cd] Create Pluggable SCM error?

2021-04-26 Thread Sriram Narayanan
On Mon, Apr 26, 2021 at 4:08 PM Emil wrote: > This is really odd if the connection is authenticated and it cannot find > the repo... > I have copied & pasted the URL from the actual repo. I am also using the > very same URL a material and I am puzzled what I might be doing wrong!? > It is

Re: [go-cd] Create Pluggable SCM error?

2021-04-22 Thread Sriram Narayanan
On Thu, Apr 22, 2021 at 9:33 PM Emil wrote: > Hi Folks, > > I am unable to *Create Pluggable SCM* with "Github Pull Requests Builder" > because of the following error: > Check connection failed. Reason(s): check connection failed. > {"message":"Not Found","documentation_url":" >

Re: [go-cd] Re: Git push at the end without run pipeline again

2021-04-22 Thread Sriram Narayanan
While there is a whitelisting/blacklisting of material paths, could you explain a bit on what you are trying to achieve here? My suggestion: Since the golang app, it's container image and it's Kustomize file are all related, you may want to consider: - creating these in consecutive stages within

[go-cd] Re: Automating Docker server accepting agents using API (and others)

2021-04-16 Thread Sriram Narayanan
On Thursday, April 15, 2021 at 9:45:54 PM UTC+8 niko...@gmail.com wrote: > Hi, > today I played a little bit with GoCD and ended up creating one Docker > compose with PostgreSql, GoCD server and two GoCD agents. > > Now I have couple of questions, but first I would like to know if it is >

[go-cd] Re: Feature Request: Regex Search

2021-04-13 Thread Sriram Narayanan
Meanwhile, have you considered creating views (the '+' at the top, below the main menu) to show specific pipeline groups? Also, and this is a bit off-topic perhaps, do you have stages and jobs in the pipelines for each of these components? Context - I've seen setups where teams come over from

[go-cd] Re: Error when creating elastic agent for Kubernetes

2021-04-13 Thread Sriram Narayanan
Per the code here: https://github.com/gocd/kubernetes-elastic-agents/blob/master/src/main/java/cd/go/contrib/elasticagent/utils/Size.java#L35 you should be providing the unit of measure (MB, KB, etc). -- Ram On Wednesday, April 7, 2021 at 9:50:14 PM UTC+8 Royal wrote: > When I try to add a

Re: [go-cd] Re: Using Multiple Repositories in a Pipeline

2021-04-06 Thread Sriram Narayanan
On Wed, Apr 7, 2021 at 12:22 AM Kadu Barral wrote: > There are any news about this in the last 6 years? > Same case here, we are working with golang microservices and pipelines are > about the same GENERATE PROTO (with make) > BUILD GO BINARY (make) > BUILD > DOCKER IMAGE > UNIT TEST (make) >

Re: [go-cd] Go-cd pipeline restore

2021-02-23 Thread Sriram Narayanan
On Tue, Feb 23, 2021 at 10:01 PM Uma Tiwari wrote: > Hi, > > As I said it was the secure variable, so in xml I cannot see the correct > vaule but AES encrypted value. > > How can I restore its actual value? > The actual value is encrypted and stored in the config XML. The config.xml git repo

Re: [go-cd] Go-cd pipeline restore

2021-02-23 Thread Sriram Narayanan
On Tue, Feb 23, 2021 at 9:53 PM Uma Tiwari wrote: > Hi, > I have deleted some of the secrete environment variables by mistake > yesterday. > How can I restore them back. > Please see if this helps: https://docs.gocd.org/current/faq/stage_old_config.html > > thanks, > Uma > > -- > You received

Re: [go-cd] Can someone please explain environmental variables work in GOCD?

2021-02-21 Thread Sriram Narayanan
On Mon, Feb 22, 2021 at 9:43 AM Gabriel Callaghan < gabr...@rubyplaynetwork.com> wrote: > I had a look at the permissions of the files used, and I get: > -rwxrwxrwx 1 jabes jabes 470 Feb 22 12:09 pushGames.sh > -rwxrwxrwx 1 jabes jabes 751 Feb 22 12:09 pushOneGame.sh > > which should mean it all

Re: [go-cd] Can someone please explain environmental variables work in GOCD?

2021-02-21 Thread Sriram Narayanan
Your pushOneGame.sh should be marked executable by the shell account running the script - most likely the “go” user. It currently isn’t. — Ram On Mon, 22 Feb 2021 at 7:26 AM, Gabriel Callaghan < gabr...@rubyplaynetwork.com> wrote: > [go] Task: /bin/sh -x ./gocd/game-deploy/pushGames.shtook:

Re: [go-cd] Can someone please explain environmental variables work in GOCD?

2021-02-21 Thread Sriram Narayanan
I the past, I've faced a similar issue where some special characters were escaped (or should have been escaped) and I faced such a mismatch. My solution at that time was to change the passphrase and use other special characters. Could you share the non-alphabetic non-numeric characters in the

Re: [go-cd] Agent "Lost Contact"

2021-02-07 Thread Sriram Narayanan
Are there any stacktraces or messages in the GoCD server logs when you approve the agents? What if you place an agent temporarily on the same OS as the GoCD server and try registering it? Could you consider upgrading to the latest GoCD Server (stop the earlier instance,, start the new instance)

Re: [go-cd] Agent "Lost Contact"

2021-02-06 Thread Sriram Narayanan
If all of the agents lost contact, this looks like a network-level drop. See: https://github.com/apache/httpcomponents-client/blob/3a68e74ec839263ae6c2cf770b6aa1e8f849ce19/httpclient/src/main/java/org/apache/http/impl/conn/DefaultHttpResponseParser.java#L141 which refers to apache

Re: [go-cd] Mark Ready for Release - Go Pipes

2021-01-17 Thread Sriram Narayanan
A pipeline should be associated with one environment (I'm not talking about GoCD's environments here). You may want to consider one of the following approaches: a. An environment's pipeline that is manually triggered, and which uses an earlier pipeline as it's material. (e.g. a Prod deploy

Re: [go-cd] Multi-Project Multi-Platform Multi-Compiler builds: Best practices

2020-12-01 Thread Sriram Narayanan
This is an interesting question about pipeline composition and organisation. I'm going to think about this a bit and respond. Thanks for asking this. -- Ram On Tue, Dec 1, 2020 at 2:31 AM Joel Bodenmann wrote: > I am setting up GoCD to build a number of different projects (about 10) > but all

Re: [go-cd] Cannot run agent in MSYS2

2020-11-28 Thread Sriram Narayanan
On Sat, Nov 28, 2020 at 6:54 PM Aravind SV wrote: > Hello, > > I completely agree with Jason about creating that boundary. > Indeed. It is better to move various tasks into a version-controlled shell script/ batch file and to then reference that as a material. This helps us try the script on a

Re: [go-cd] Elastic agent registration problem from Windows docker swarm plugin

2020-11-04 Thread Sriram Narayanan
On Wed, Nov 4, 2020 at 8:12 PM IXI wrote: > Yes we do. Is there a way to debug our situation? It seems like a windows > container problem. > If your containers are coming up and getting registered as static agents, then the agent startup is likely unable to locate autoregister.properties. At

Re: [go-cd] what are the tests needed after building a new rpm ?

2020-10-26 Thread Sriram Narayanan
You'd want to install the GoCD server and agent, and then run the Smoke and Regression Tests. See this https://build.gocd.org/go/pipelines/smoke/3800/Smoke/1/materials This repo has full instructions: https://github.com/gocd/ruby-functional-tests -- Ram On Mon, Oct 26, 2020 at 8:02 PM Soaad

Re: [go-cd] Spin up jails instead of containers for elastic agents in FreeBSD

2020-10-26 Thread Sriram Narayanan
For anyone browsing through the code and wanting to see a working example beyond the skeleton agent code: The gocd docker agent plugin makes use of Spotify's default Docker client (Java based wrapper) See:

Re: [go-cd] Delete pipelines

2020-10-08 Thread Sriram Narayanan
In the domains that I work in - primarily Government - deleting history would be seen as a no-no. Would it be possible to elaborate on the validation, or to redefine what is to be validated? E.g., when discussing with auditors (I am one too), I would draw attention to: - The VSM, what it

Re: [go-cd] Professional Support for GoCD?

2020-05-19 Thread Sriram Narayanan
On Wed, 20 May 2020 at 12:58 PM, Peter Birch wrote: > Hi, > > Do you know if any companies have stepped up and decided to offer > commercial support for GoCD? > Yes I know it's open source, but we are happy to pay good money to > companies like RedHat who support open source. > IMO this is a

Re: [go-cd] Integrate HPE SSC with GoCD

2017-04-26 Thread Sriram Narayanan
All the CI system "plugins" actually just accept various configurations and generate a command line that can be executed. You can either provide a GoCD "Custom Command", or trigger Fortify via the command line. Ideally, you should supply this shell script via a source repo (check out the repo as

  1   2   >