Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Create an account on GitLab if you do not already have one: https://gitlab.com/users/sign_up
  • In the top-right corner, you should see a + sign. From the dropdown, select "New project/repository".
    Image Added


  • From the new page, select "Create blank project". More documentation can be found here: https://docs.gitlab.com/user/project/
    Image Added
  • Choose a project-name, and a visibility level.
  • (select repority, enable push force)

Initial project configuration


The purpose of this part is to clone an existing project, and then merge this project into your project.

  • From a folder of your choice on your computer, clone Clone the project on your computer, either with command-line, or TortoiseGit. The repository URL is in the dropdown black "Code" button. If you do not have a ssh-key, or don't know what it is, select "Clone with https" 

Initial project configuration

The purpose of this part is to clone an existing project, and then merge this project into your project.

  • Image Added
  • In another directory, which is not a sub-directory of where you cloned the repository above, clone the project https://gitlab.com/nwn.ovh/nwn-gitlab-nwsync
  • Copy all the directory and sub directory contents from this new folder into the folder you cloned in the previous section. Keep the folder hierarchy. Ensure you copy correctly the .gitlab-ci.yml file which starts with a dot.
  • (git add / commit initial commit, and push)
  • (configure deploy/pages)

Caveats

  • 10go limitThere is a 10gb limit per repository on GitLab. For this reason, it's advised to always git amend your last commit in order to rewrite the history and not make the repository grow in size.