Coder Social home page Coder Social logo

ovh / cds Goto Github PK

View Code? Open in Web Editor NEW
4.6K 90.0 419.0 219.27 MB

Enterprise-Grade Continuous Delivery & DevOps Automation Open Source Platform

Home Page: https://ovh.github.io/cds/

License: BSD 3-Clause "New" or "Revised" License

Go 75.15% PLpgSQL 0.35% Shell 0.14% JavaScript 0.18% HTML 5.52% TypeScript 16.71% Makefile 0.70% Dockerfile 0.01% SCSS 1.22% Less 0.01%
continuous-delivery continuous-integration continuous-deployment automation devops devops-workflow golang hacktoberfest

cds's People

Contributors

0rzech avatar alrs avatar antleblanc avatar bnjjj avatar codebfu avatar dependabot[bot] avatar fabienm avatar fsamin avatar gregoiremahe avatar gwleclerc avatar hugome avatar inozuma avatar jleveugle avatar jqueguiner avatar landru29 avatar maxatome avatar mdouchement avatar ncharaf avatar nicopennec avatar nledez avatar phsym avatar proullon avatar rayene avatar rclsilver avatar richardlt avatar sebgl avatar sfroment avatar sguiheux avatar svandecappelle avatar yesnault avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cds's Issues

Update variable name (type: password) doesn't work

In UI2 (/cds/ui2/project/{projectKey}/application/{appName}?tab=variables) when I want to update the name of a variable (type: password) it makes a PUT on /cds/ui2/cdsapi/project/UXRD/application/ovh-chatbot/variable/{newVariableName} and respond a 200 OK but nothing change.

Here is the request payload :

{
  "id": 49605,
  "name": "newVariableName",
  "value": "**********",
  "type": "password",
  "hasChanged": true,
  "updating": true
}

fix (cli): pipeline build

cds pipeline build => getBuildTestResultsHandler> Cannot load pipeline build: sql: no rows in result set
Tests are not mandatory, cmd must not failed

Worker won't register

I'm trying to setup a host worker. I've generated the token using the commandline

./cds generate token --group shared.infra --expiration persistent

And I launch Hatchery using

BASEDIR=/home/cds/cds ./workspace/src/github.com/ovh/cds/engine/hatchery/hatchery --token <token> --mode local --api=<myendpoint>

But I see in the API's logs:

2016/10/23 12:07:59 [WARNING]  registerHatchery: Invalid token> sql: no rows in result set 

And in the hatchery's logs:

2016/10/23 12:05:46 [NOTICE]   Disconnected from CDS engine, trying to register...
2016/10/23 12:05:46 [NOTICE]   Cannot register: HTTP 401

When I look in the database I see than my token actually exists

Also, not sure if it is related, when I create my database and import the FK file, this error pops up:

psql:engine/sql/create_foreign-key.sql:131: ERROR:  column "owner_id" referenced in foreign key constraint does not exist
CONTEXT:  SQL statement "alter table "hatchery" ADD CONSTRAINT FK_HATCHERY_OWNER_ID FOREIGN KEY(owner_id) REFERENCES "user"(id)"
PL/pgSQL function create_foreign_key(text,text,text,text,text) line 13 at EXECUTE statement
 create_foreign_key 

refactor: estimate worker model needs

Goal: linear calculation time

Hatchery:

  • get actions queue
  • take action, spawn worker
  • hatchery marathon: wait for deploy worker
  • callback api if err

Worker:

  • take action, callback api if er

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.