Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 15:26
    ovh-cds commented #5577
  • 15:04
    sguiheux review_requested #5577
  • 15:04
    sguiheux review_requested #5577
  • 15:04
    sguiheux review_requested #5577
  • 15:04
    sguiheux opened #5577
  • 15:03

    sguiheux on fixUpdateWorker

    fix(api): do not erase worker p… (compare)

  • 13:34

    sguiheux on master

    feat(ui): migrate to angular 11… (compare)

  • 13:34
    sguiheux closed #5576
  • 13:13
    sonarcloud[bot] commented #5576
  • 11:14
    ovh-cds commented #5576
  • 11:02
    sonarcloud[bot] commented #5576
  • 11:02
    sonarcloud[bot] commented #5576
  • 10:42
    sguiheux synchronize #5576
  • 10:42

    sguiheux on ng11

    refactor(cdn): clean buffer do … chore(test): use venom 1.0.0 (#… feat(cdsctl): pipeline import -… and 2 more (compare)

  • Dec 02 22:31

    yesnault on ye-import-force-all

    feat: detach fromRepository wit… (compare)

  • Dec 02 17:14
    ovh-cds commented #5576
  • Dec 02 16:59
    sonarcloud[bot] commented #5576
  • Dec 02 16:59
    sonarcloud[bot] commented #5576
  • Dec 02 16:46
    yesnault closed #4536
  • Dec 02 16:46
    yesnault commented #4536
Yvonnick Esnault
@yesnault
when you run the cdsctl signup verify command, cdsctl should ask you the context name where to store your configuration
Brandon Nason
@bnason
Ok, it worked that time. ¯\_(ツ)_/¯
Yvonnick Esnault
@yesnault
cool :)
Brandon Nason
@bnason
thanks
sumanthk9
@sumanthk9
image.png
can someone tell me how can i point github extension toward our enterprise github from public github.?
Evgenii Shapovalov
@shapovalovdev
Hello! Can somebody direct me to docs or articles with k8s deployment of CDS success stories?
Evgenii Shapovalov
@shapovalovdev
Is there some inconsistencies with Bitbucket integration with 7 version?
Yvonnick Esnault
@yesnault
Hi @shapovalovdev I check with you directly
Gergely Brautigam
@Skarlso
Hey everyone. Hi from a Gaia maintainer. This is an incredibly awesome project. Looking at the plugins, this is doing the same thing what we achieved to do. :D Kudos to you all. :)
Yvonnick Esnault
@yesnault
@Skarlso Thank you!
Gergely Brautigam
@Skarlso
You're welcome! :)
ebiggela
@ebiggela

good morning! I'm looking into CDS as a replacement for our current CI tool (Bamboo).
On my local machine, I can get it up and running fine using either binaries or the compose method.
On RHEL, however, no such luck. The UI only shows the "CDS is loading" page.

Are you aware of any constraints or requirements that would cause this?

Yvonnick Esnault
@yesnault
Hi @ebiggela , did you register a new user with the INIT_TOKEN well set, following this documentation https://ovh.github.io/cds/hosting/ready-to-run/from-binaries/ ?
ebiggela
@ebiggela
hey @yesnault , I did. Running ./cdsctl user me does return the admin account information
api / ui logs do show health checks going back and forth, communication seems to be working
following the compose quick start works on my local ubuntu, but it doesn't on the rhel vm
Yvonnick Esnault
@yesnault
@ebiggela you have ring ADMIN on output of cdsctl user me?
ebiggela
@ebiggela
yes
image.png
Yvonnick Esnault
@yesnault
do you have some log on api and on ui ? (output of engine start ui, and engine start api)
and with csdctl admin service status , do you have some line about the ui service ?
ebiggela
@ebiggela
admin service status: Global/ui status is OK
one moment, might have found something..
ebiggela
@ebiggela
cds-api logs show one error, cds-vcs service is unreachable. But that wasn't started yet. And I didn't need it to get a working UI locally either
are you looking specifically for errors, or?
Yvonnick Esnault
@yesnault
PM for the next
YLQZ
@YLQZ
image.png
YLQZ
@YLQZ
Is there a Chinese doc, and introduce the configuration file in detail
I couldn't boot up in win10 using binaries. Like above
Yvonnick Esnault
@yesnault
Hi @YLQZ sorry, no Chinese documentation. About your screenshot, did you manage to run cdsctl signup, then signup verify with the INIT_TOKEN ? If not, ui service can't start, cf. https://ovh.github.io/cds/hosting/ready-to-run/from-binaries/#launch-signup-cds-ui
Evgenii Shapovalov
@shapovalovdev
Reading configuration file @ config.toml
Starting service api
2020-10-23 19:44:53 [INFO] Directory /var/lib/cds-engine has been created
2020-10-23 19:44:53 [INFO] Directory /var/lib/cds-engine/artifacts has been created
2020-10-23 19:44:53 [INFO] api> cds-api-laughing_hawking configuration applied
2020-10-23 19:44:53 [INFO] observability> initializing observability for api/cds-api-laughing_hawking
2020-10-23 19:44:53 [INFO] Registing service api(*service.Common) cds-api-laughing_hawking
2020-10-23 19:44:53 [INFO] api> Service registered
2020-10-23 19:44:54 [INFO] Starting CDS API Server 0.47.0+cds.13856
2020-10-23 19:44:54 [ERROR] engine is unavailable for download, this may lead to a poor user experience. Please check your configuration file or the /var/lib/cds-engine directory
2020-10-23 19:44:54 [ERROR] cdsctl is unavailable for download, this may lead to a poor user experience. Please check your configuration file or the /var/lib/cds-engine directory
2020-10-23 19:44:54 [ERROR] worker is unavailable for download. Please check your configuration file or the /var/lib/cds-engine directory
2020-10-23 19:44:54 [ERROR] api> Serve: worker binary unavailable
Hello guys, did someone face this? It is strange because I w/a it with "cds-engine download workers" that was working
Evgenii Shapovalov
@shapovalovdev
Hello, is it possible to separate config file? If i start api, hooks, ui etc in distinct containers, can i start the service with Only necessary config parts? For instance, api service with [api] config?
It will be easier to maintain this parts...
Yvonnick Esnault
@yesnault
Hi @shapovalovdev First issue: [ERROR] api> Serve: worker binary unavailable -> did you follow this: https://ovh.github.io/cds/hosting/ready-to-run/from-binaries/, and run this command: ./cds-engine download workers --config conf.toml The worker binaries are mandatory for running the cds engine.
About configuration: yes, it's possible to use dedicated config file per service. Example: engine config new api > api.toml && engine --config ./api.toml start api. ./engine config new -h to see all options;
1 reply
Evgenii Shapovalov
@shapovalovdev

Hi @shapovalovdev First issue: [ERROR] api> Serve: worker binary unavailable -> did you follow this: https://ovh.github.io/cds/hosting/ready-to-run/from-binaries/, and run this command: ./cds-engine download workers --config conf.toml The worker binaries are mandatory for running the cds engine.

the problem was with incorrect download folder parameter. I had the binaries but cds could not find them and start to download again

Evgenii Shapovalov
@shapovalovdev
Hello, i manage to start the api server, but there some issue with authentication in logs : 2020-10-27 07:49:22 [INFO] pprofLabel>compress>setRequestID>recoverWrap>handle>postAuthBuiltinSigninHandler>AuthDriver>CheckSigninConsumerToken>parseSigninConsumerToken>VerifyJWS>Verify: wrong request (from: invalid signin token) (caused by: square/go-jose: compact JWS format must have three parts) request_id=3cd62f7b-9b5b-49b0-84a8-612166a62954 stack_trace=square/go-jose: compact JWS format must have three parts
is it possible to generate the jwt token again?
Evgenii Shapovalov
@shapovalovdev
I guess i found what the problem. I am using the env variables like CDS_API_SHARED_TOKEN that is generated as 64 bit string and there are tokens in config that were generated during the init stage when the config were created. When i stop use shared token the api could not find the tokens at all and when i am using the token in variables it sayes that the token format is wrong... So how should i resolve this issue?
Evgenii Shapovalov
@shapovalovdev
guys, can you please explain, how can i generate and store api keys and tokens? Do they generates on every start of api? because i don't get how to handle the problem with access to my service in distributed system...
Yvonnick Esnault
@yesnault
Hi @shapovalovdev where do you see the CDS_API_SHARED_TOKEN? About the 'tokens' that you can see in you [ui.api] section for example (for the service ui), it's a token that you have to create one time if you want to run the ui service.
you don't need to re-create the token each time you restart the api, but if you start an api with a fresh api, you have to create a new token yes.
but
if you run ./cds-engine config new > conf.toml, you can use tokens generated and validate them on the first login with the INIT_TOKEN variables, as described in https://ovh.github.io/cds/hosting/ready-to-run/from-binaries/.
manu
@emmanuelpommier
Hi, any planified date for 0.48 release ?
Yvonnick Esnault
@yesnault
@hi @emmanuelpommier not yet. The release 0.48.0 will contain a new service name 'cdn', it's a refactoring of backend storage for logs (logs on swift or fs, encryption, streaming). We will release it when we will consider it stable and safe to deploy and migrate.
Steve
@nevetS
how do I configure the max upload size of an artifact? I'm seeing 413 messages on upload artifact. I don't see a conf file entry that controls it.
1 reply
Steve
@nevetS
Does anyone have thoughts on how to create bitbucket PR comments from cds? I want to add a note to the PR if there are linting issues.
Yvonnick Esnault
@yesnault
you can add a VCS notifications on your workflow, and customize the PR comment using a CDS variable. This variable can be 'prepared' in your job with worker export feature
VCS Notification doc: https://ovh.github.io/cds/docs/concepts/workflow/notifications/#vcs-notifications
worker export doc: https://ovh.github.io/cds/docs/components/worker/export/
The use used to send comment have to be defined in vcs uservice configuration ([vcs.servers.bitbucket.bitbucket] -> token attribute)