keptn create project

keptn create project

Creates a new project

Synopsis

Creates a new project with the provided name and shipyard file. The shipyard file describes the used stages. These stages are defined by name, deployment-, test-, and remediation strategy.

By executing the create project command, Keptn initializes an internal Git repository that is used to maintain all project-related resources. To upstream this internal Git repository to a remote repository, the Git user (–git-user), an access token (–git-token), and the remote URL (–git-remote-url) are required.

For more information about Shipyard files, creating projects or upstream repositories visit https://keptn.sh/docs/develop/manage/project/ .

keptn create project PROJECTNAME --shipyard=FILEPATH [flags]

Examples

keptn create project PROJECTNAME --shipyard=FILEPATH
keptn create project PROJECTNAME --shipyard=FILEPATH --git-user=GIT_USER --git-token=GIT_TOKEN --git-remote-url=GIT_REMOTE_URL

Options

  -r, --git-remote-url string   The remote url of the upstream target
  -t, --git-token string        The git token of the git user
  -u, --git-user string         The git user of the upstream target
  -h, --help                    help for project
  -s, --shipyard string         The shiypard file specifying the environment

Options inherited from parent commands

      --mock                 mocking of server communication - ATTENTION: your commands will not be sent to the keptn server
  -q, --quiet                suppress debug and info output
      --suppress-websocket   disables websocket communication - use the ID of Keptn context (if provided) for checking the result of your command
  -v, --verbose              verbose logging

SEE ALSO

Auto generated by spf13/cobra on 29-Apr-2020