Estimated Reading Time: 4 mins
This article will teach you how to create and delete a project as well as give some further information on specific questions.
The screenshot below shows the initial dashboard after logging in to Codeship for the first time.
In the next step, you can choose whether you want to import from a GitHub, GitLab, or Bitbucket repository by providing the repository link as shown in the examples.
To get started with a Codeship project, you will want to have a few resources available:
A Github, Bitbucket or Gitlab account with admin permissions for a repo or organization
A Codeship account, either using your email or using source control authentication
A code base with either setup or test commands (or both) that you need to automate
You need to have project ownership for deleting a project. Once you click the delete button, you will have to confirm the deletion once more. A project can be deleted by going to:
Project Settings > General > Delete project
All your builds will be deleted as well. Make sure that you really don’t need this project anymore. It cannot be recovered once deleted.
You can transfer your project to another account by navigating to:
Project Settings > General
A user with appropriate permission for the target account needs to confirm the transfer if you do not have project creation rights in the target account. When confirming the transfer, the user can choose which of the current team members to keep and which to remove.
If you want to bulk transfer projects, please reach out to our support via helpdesk.codeship.com.
Use Case Examples
We don’t have a feature to limit which branches can be built.
We build your project on every push (that is, we run your setup and test commands) to let you know as soon as possible if something is broken. We will only ever run a deployment for the specific branch it is configured on and only after all setup and test commands executed successfully. Before deployment, every push to your repository should be tested.
If you wish to skip a build, please refer to the article about skipping builds.
Codeship does not support testing pull requests from forked repositories at the moment. You’d need to configure the forked repository separately on Codeship or push the branch to the already configured repository instead.
Once you’ve created your project, you can invite colleagues members to give them access.
Under Project Settings > Team members, simply add their email address to send them an invite.
You can enable access for those ranges on your own server’s firewall settings.
Another option, while not fully supported, would be to set up and run your own bastion host. This would allow yu to route all Codeship calls through your bastion host and white list only this host.
If your build can’t locate a configuration file which you ignored in your repository, via
.gitignore, create a
your_config.yml.example with data that works for your tests an add it to your repository. Then add the following command to your setup commands so the YAML file is properly set up.
# project settings > test settings > setup commands cp your_config.yml.example your_config.yml
You should also check that you are not coming from a case-insensitive operating system where you may not have noticed that the file name is different, i.e.
File.yml compared to