Skip to content
729G87 - Interaction Programming
GitLab

Publishing web pages

Each group works in their own repository. To get access to your repository, create a group in webreg.

Because webreg is unreliable at the moment, please also use this link and choose an available groupname from the list.

Please enter your liu-ids in the member1 and member2 column.

The groups in gitlab are not created immediately, this can take several hours, be patient.

Once your group name shows up on the gitlab page, you can clone your repo (group names are A1, B1, C1).

The repositories are only necessary to submit your assignments, but you can start with the assignments right away.

All materials necessary are on the assignment1 page.

Once you have access to your repo, you can copy your existing code in the public/assignment1 folder, then add, commit and push it to gitlab.

Important! Assignments are automatically published when pushed to the correct repository.

The publication uses gitlab’s CI/CD pipeline. For this, a predefined repository should be cloned on gitlab. Clone the repository that matches your group name (e.g., A1).

On your gitlab-page, all your exercises should be available by following several links. This means once visiting your submission page in gitlab (Deploy -> Pages), all exercises (e.g., assignment 1) must be available through browser navigation.

Following the link to assignmen 1 should lead to a page with links to exercise 1, exercise 2, and exercise 3.

Gitlab groups

Each group (webreg) should have their own repository in gitlab. In the beginning, the repos might not be accessible since we need to create them based on your webreg groups. Once your group-repo is visible on gitlab, you can use it. In order to add you to the gitlab-repo, you need to log into gitlab at least once. It might be the case that only one of your group members can see the repo. In that case, adding your group member by yourself is possible. Go to manage (left)->members then invite member. Set the role to maintainer and search for the liu-id.

Case matters

Case matters. The LiU Linux filesystem is case-sensitive; i.e. the filename assignment1.html does not refer to the same file as the filename Assignment1.html. This is important to you because you will be publishing your assignments on servers using this filesystem.

To avoid future headaches, save your files using lower-case filenames without any spaces or non-ASCII characters.

  • Bad: Övning 1.html
  • Good: exercise1.html

CI/CD Pipeline

The CI/CD pipeline enables automatic publication of your project. All files in the /public directory are published automatically.

To check your current CI/CD status, open the course group in gitlab and open your repository. Then on the left side, go to Build -> Jobs.

The upper most status should state passed.

Go to Deploy -> Pages. Click on the link in Access pages.