Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Nov 15 10:48
    ovh-cds commented #4754
  • Nov 15 10:48
    ovh-cds commented #4754
  • Nov 15 10:31
    sguiheux synchronize #4754
  • Nov 15 10:31

    sguiheux on ITMarathon

    fix: code review (compare)

  • Nov 15 10:31
    sguiheux review_requested #4754
  • Nov 15 10:26

    sguiheux on master

    test: refactor integration test… (compare)

  • Nov 15 10:26
    sguiheux closed #4663
  • Nov 15 10:21
    sguiheux review_requested #4767
  • Nov 15 10:21
    sguiheux review_requested #4767
  • Nov 15 10:21
    sguiheux opened #4767
  • Nov 15 10:21
    sguiheux review_requested #4767
  • Nov 15 10:21
    sguiheux review_requested #4767
  • Nov 15 10:20

    sguiheux on fixDeleteWorkflow

    fix(api): delete node trigger b… (compare)

  • Nov 15 09:30

    yesnault on master

    fix(api): manage workflow with … (compare)

  • Nov 15 09:30
    yesnault closed #4766
  • Nov 15 08:09
    ovh-cds commented #4556
  • Nov 15 07:47
    ovh-cds commented #4556
  • Nov 15 07:47
    ovh-cds commented #4556
  • Nov 15 07:14
    sguiheux synchronize #4766
  • Nov 15 07:14

    sguiheux on deleteWorkflow

    fix(vcs): skipped pipeline stat… fix(api): purge audit pipeline/… fix(plugin): increase timeout (… and 11 more (compare)

Yvonnick Esnault
@yesnault
@Smithx10 about TLS, it's on ovh/cds#4556 on "To Plan" for now
@Smithx10 about the ES Index "Event" data -> We'll start a engine start kpi this week, this will let user to configure a ES on a project, or administrator on a whole CDS. This will be develop as an "integration". The index "creation" will be documented with this new uservice. This new service let user (or CDS administrator of course) do some graphs with kibana, this will be much more useful than today.
@Smithx10 and about last question about run conditions -> you can add run conditions on a Stage or on a node of a workflow (pipeline, hook, etc...)
Yvonnick Esnault
@yesnault
@matspitz1 yes, you can use variable of type "password".
@matspitz1 about the job queued -> it can be many things, but some checks to do: do you have a worker model with "need registration=false"? If yes, do you have binary prerequisite on job, and theses binary are there available in the worker model? Do you have a default OS / Arch ? If yes, the hatchery launched runs workers with the same os /arch?
@matspitz1 and about Github. The 404 page is on GitHub on is it the callback on your CDS UI? I'm available in private if you want me to debug something (and probably improve some docs about that)
Mats
@matspitz1
Yes i am here
Mats
@matspitz1
What should these two values be:
    [vcs.api.grpc]
      # insecure = false
      url = "http://localhost:8082"

    [vcs.api.http]
      # insecure = false
      url = "http://localhost:8081"
i keep getting errors when adding my URL when running engine start vcs --config vcs-config.toml
Unable to register: Register: internal server error (caused by: Post http://localhost:8081/services/register: dial tcp [::1]:8081: connect: connection refused)
Service has been stopped: vcs Register: internal server error (caused by: Post http://localhost:8081/services/register: dial tcp [::1]:8081: connect: connection refused)
Yvonnick Esnault
@yesnault
@matspitz1 the vcs.api.http -> must be the url of the CDS API. Your CDS API is running and listening on http://localhost:8081 ?
Mats
@matspitz1
i am able to run jobs, now thanks Yvonnick!
however when i am running a step script with ssh, i am continuously running into issues when trying to install the key
i have added this to my step script
eval $(worker key install --env proj-mykey)
echo $PKEY # variable $PKEY will contains the path of the SSH private key
Mats
@matspitz1
I want to SSH into another server and execute commands on it.
Yvonnick Esnault
@yesnault
Before using the plugin, a ssh call after a worker install key is the best way to check if the pubkey is ok on the remote. Do you have an error in your job or some logs on remote?
Next step in private message for debugging
Louis GOUNOT
@louis-gounot
Hello
When I try to clone an environment (in UI) having "password" variables, I get an error "Bad request" "valeur du secret non spécifiée"
Does it mean I can't clone an environment that has password variables ?
Yvonnick Esnault
@yesnault
Hi @louis-gounot can you (re)set the value of the variable?
hum, sorry, I'd just understand the question
so, yes, it's can be cloned if there is some variable of type password
btw, you can export the evironment with cdsctl ( cdsctl environment export ...) then import with cdsctl too
ovh/cds#4626 created to track the issue
Louis GOUNOT
@louis-gounot
@yesnault thanks. Will use cdsctl for this
Yvonnick Esnault
@yesnault
@louis-gounot so that, in the data exported, you have to remove the variable of type "password" before re-import
Mats
@matspitz1
hello
how can i keep my $PATH & $HOME as normal? When i ssh in a script step, $PATH & $HOME are changed and i cant do a ruby 'bundle install'
Yvonnick Esnault
@yesnault
@matspitz1 $HOME is set with the value of {{.cds.workspace}}, $PATH has the value of the worker binary path
what's wrong with the bundle install command?
Mats
@matspitz1
i can't do bundle install , i get an error saying that it is using the wrong version of ruby from RVM. I have tried to select the RVM version but that also doesn't work because $PATH $HOME is changed
however it works if i make a cds.sh file and put bundle install & bundle exec cap test deploy in it
Yvonnick Esnault
@yesnault
export PATH and export HOME before bundle install should work too
Mats
@matspitz1
will try that thanks Yvonnick
Smithx10
@Smithx10
Is there a way to wait for user input in a workflow
for say promotions?
Another thing, Can I have 1 worker... using a Groups Token be shared to another group?
Yvonnick Esnault
@yesnault
@Smithx10 a worker model "shared.infra" can be used by every groups. For user input : yes, it can be a pipeline parameter. You can set the pipeline as "manual" in the workflow, so that, the user can enter value for the pipeline parameter (or a value in the payload). Something like that: https://ovh.github.io/cds/docs/tutorials/step_by_step_build_tag_release/#8-run-workflow
Smithx10
@Smithx10
Thanks @yesnault
@yesnault Did the LDAP refactor ever get merged in?
Smithx10
@Smithx10
@yesnault I used a token from my "test" group to add the worker, and then put that worker in the shared.infra group. Should that work? Or Do I need to use a token from the shared.infra group? Sorry for the lame questions :(
Yvonnick Esnault
@yesnault
The ldap refactor is on ovh/cds#4556, we hope release this version before the end of the year.
Yvonnick Esnault
@yesnault
@Smithx10 about the token for the worker: to well understand, you use a hatchery or only the worker binary to start the worker ?
Smithx10
@Smithx10
I'm using the SWARM hatchery
Smithx10
@Smithx10
@yesnault I'm really just looking for a "Promote" button or something... I'm messing around with cds.manual now
Yvonnick Esnault
@yesnault
@Smithx10 so, with cds.manual run conditions and a pipeline parameter, it's ok for you?
@Smithx10 about your hatchery. If run your hatchery with a shared.infra token, this hatchery can run a worker model attached to shared.infra group AND all others worker model, except the "restricted" worker model. A restricted worker model must be attached to a group and to use it, you have to run a hatchery with a token belonging to this group
Yvonnick Esnault
@yesnault

@all

CDS New Release - 0.42.0

  • Improved performance on UI.
  • New search component.
  • Team repository support for bitbucketcloud.
  • The UI is now served by cds-engine. Caddy is not used anymore and a unique docker image is available, instead of two before.
  • The local hatchery download worker's binary at startup. No need to put the worker in PATH anymore.
  • Run Condition available on a hook: this will avoid to instanciate a run number is the conditions are not ok.
  • RepositoryWebhook - event type filter. Example: you can choose to start a workflow on each comment in a pull request.
  • Workflow notifications - allow custom comments on pull request, see. https://ovh.github.io/cds/docs/concepts/workflow/notifications/

https://github.com/ovh/cds/releases/tag/0.42.0