Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 18:53
    yesnault commented #4997
  • 18:47
    ovh-cds commented #4997
  • 18:32
    yesnault edited #4997
  • 18:32
    yesnault edited #4997
  • 18:31
    yesnault commented #4997
  • 18:31
    yesnault commented #4997
  • 18:31
    yesnault synchronize #4997
  • 18:31

    yesnault on ye-vscode

    style: imports Signed-off-by: … feat: status bar Signed-off-by… (compare)

  • 17:19
    ovh-cds commented #4997
  • 17:04
    yesnault synchronize #4997
  • 17:04

    yesnault on ye-vscode

    feat: manage current context S… (compare)

  • 16:15
    ovh-cds commented #4998
  • 15:48
    codebfu synchronize #4998
  • 15:28
    sguiheux review_requested #4999
  • 15:28
    sguiheux review_requested #4999
  • 15:28
    sguiheux review_requested #4999
  • 15:28
    sguiheux review_requested #4999
  • 15:28
    sguiheux opened #4999
  • 15:27
    ovh-cds commented #4998
  • 15:27

    sguiheux on fixArtifactDownloadRestartFaildJob

    fix(api): list artifact when re… (compare)

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

Louis GOUNOT
@louis-gounot
Hello
Is there any reason the plugin plugin-kubernetes-deployment is not published with CDS releases on GitHub ?
I think there is an issue in https://github.com/ovh/cds/blob/master/contrib/integrations/kubernetes/plugin-kubernetes/Makefile#L49-L51 where there is an unecessary "" just after sed -i
Can make a PR if you want
Yvonnick Esnault
@yesnault
Hi @louis-gounot , no reason. Issue created: ovh/cds#4775 About quote, you've got an error with that?
Louis GOUNOT
@louis-gounot
Yes, I wasn't able to build with extraneous "" whereas it works well without
By the way, don't understand what it would be in sedcommand
Yvonnick Esnault
@yesnault
@louis-gounot hum, it's a sed syntax for osx, issue created: ovh/cds#4778
Louis GOUNOT
@louis-gounot
@yesnault : I'm on Linux on my side, so won't be able to test it
@yesnault should work with gnu-sed (brew install gnu-sed)
Louis GOUNOT
@louis-gounot
test "${OSTYPE}" == "darwin" && SED='sed -i ""' || SED='sed -i'should do the trick also
Louis GOUNOT
@louis-gounot
@yesnault Just issued a PR for #4778, if you can confirm it works on OSX
Yvonnick Esnault
@yesnault
@louis-gounot thank you! we will check that
Yvonnick Esnault
@yesnault

CDS New Release 0.43.1

https://github.com/ovh/cds/releases/tag/0.43.1
This version is the latest version before the new authentication system available in the next release.

Happy new year!

Stijn Tintel
@stintel
Hi there! I've been using CDS for some time, on ppc64el, which is not supported. Would you consider accepting a PR that adds support for this architecture?
Yvonnick Esnault
@yesnault
Hi @stintel It's probably the first time that a user ask us to add ppc64 :) You can create an issue, we will consider it if it's possible to compile this arch. The next release won't be available before some weeks, as there is the new authentication system (oauth2) on master now, but you can try run make build OS="linux" ARCH="ppc64" (on root or in the packages engine and contrib if you don't want to compile everything) on master branch
Stijn Tintel
@stintel
@yesnault well I got my hands on a 2nd hand power8 machine with 10c/80t and 128GB RAM, I've been running all CDS components including workers on it, and I am using it to autobuild OpenWrt images for all my OpenWrt devices. I had to make some changes to be able to build it for ppc64el. would be cool if I don't have to maintain these changes. I don't recall if I tried building ppc64el binaries on an amd64 host, I'll try that and add this info to the ticket. I can also submit a PR with the changes I have, and address any remarks you have on it ...
but most of all good to know you would consider it, thanks!
Yvonnick Esnault
@yesnault
I'd just make a build with ARCH=ppc64, it's ok without changes. What kind of changes did you have to do ? It's perhaps already fixed on master branch :)
Stijn Tintel
@stintel
stijn@power8 ~/build/cds $ make build OS="linux" ARCH="ppc64"
Building CDS Components for linux - ppc64
#make build -C ui
make build -C engine OS="linux" ARCH="ppc64"
make[1]: Entering directory '/home/staff/stijn/build/cds/engine'
make lint -C sql
make[2]: Entering directory '/home/staff/stijn/build/cds/engine/sql'
make[2]: Leaving directory '/home/staff/stijn/build/cds/engine/sql'
make build -C sql
make[2]: Entering directory '/home/staff/stijn/build/cds/engine/sql'
make[2]: Leaving directory '/home/staff/stijn/build/cds/engine/sql'
Compiling ./dist/cds-engine-linux-ppc64 snapshot
make build -C worker
make[2]: Entering directory '/home/staff/stijn/build/cds/engine/worker'
create ./dist directory
Compiling ./dist/cds-worker-linux-ppc64 snapshot
make[2]: Leaving directory '/home/staff/stijn/build/cds/engine/worker'
make[1]: Leaving directory '/home/staff/stijn/build/cds/engine'
make build -C engine/worker OS="linux" ARCH="ppc64"
make[1]: Entering directory '/home/staff/stijn/build/cds/engine/worker'
Compiling ./dist/cds-worker-linux-ppc64 snapshot
make[1]: Leaving directory '/home/staff/stijn/build/cds/engine/worker'
make build -C cli/cdsctl OS="linux/%" ARCH="%/ppc64"
make[1]: Entering directory '/home/staff/stijn/build/cds/cli/cdsctl'
create ./dist directory
*** building binary dist/cdsctl-linux-ppc64
... OS:linux ARCH:ppc64 -> dist/cdsctl-linux-ppc64
# github.com/ovh/cds/cli/cdsctl/internal
internal/cdsctx.go:38:9: undefined: keychainEnabled
internal/cdsctx.go:128:12: undefined: storeTokens
internal/cdsctx.go:149:7: undefined: keychainEnabled
internal/cdsctx.go:233:5: undefined: keychainEnabled
internal/cdsctx.go:234:28: cdsContext.getTokens undefined (type CDSContext has no field or method getTokens)
make[2]: *** [Makefile:70: gobuild] Error 2
make[1]: *** [Makefile:62: dist/cdsctl-linux-ppc64] Error 2
make[1]: Leaving directory '/home/staff/stijn/build/cds/cli/cdsctl'
make: *** [Makefile:55: build] Error 2
commented out $(MAKE) build -C ui as I don't have npm installed
Yvonnick Esnault
@yesnault
with cds.manual = true in run condition, user have a modal box to enter pipeline parameter before running a pipeline
@stintel ok thank you, PR to fix that is now here: ovh/cds#4869
Stijn Tintel
@stintel
@yesnault that seems to fix building for ARCH=ppc64. with ARCH=ppc64el I get another error
many cmd/go: unsupported GOOS/GOARCH pair linux/ppc64el ... too long to post in full here
oops, it should be ARCH=ppc64le
Stijn Tintel
@stintel
ok, my bad. with your change it builds find for both ARCH=ppc64 and ARCH=ppc64le
Yvonnick Esnault
@yesnault
@stintel which arch do you use? ppc64 or ppc64le?
Stijn Tintel
@stintel
@yesnault I'm using ppc64le
Yvonnick Esnault
@yesnault

New Release - 0.44.0

@/all
It's now possible to authenticate users with oauth2 GitHub & GitLab, and of course with Ldap.

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

SignIn.png
Louis GOUNOT
@louis-gounot
Hello,
Do you have any plan to move from Native Doc Types (_type) in ElasticSearch to applicative (~ field) type ?
Right now, I have to deploy ElasticSearch in 5.x then upgrade to 6.x in order to have it work.
See https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html
Related to #4528