How to create a new repository

You can create a repository in multiple ways:

Using the Telegram Chatbot

Here using the @moehaha-chatbot:

After clicking create specify a name for the new repository, and see the result:

Using the Cockpit Portal

See the Getting started with blueprints section.

Using the Cockpit API

In order to use the Cockpit API you first need to obtain an JWT, as documented in the section about how to get a JWT.

Once you got the JWT:

curl -H "Authorization: bearer JWT"  /
     -H "Content-Type: application/json" /
     -d '{"name":"test-repo", "git_url": "https://github.com/user/reponame"}'
     http://BASE_URL/ays/repository

In the API Console:

For more information about the API Console go to the section about the API Console.

At the CLI

@todo

results matching ""

    No results matching ""