buq2 / minimal_ci_badges

Repo demonstrating CI integration for different collaboration platforms (github/gitlab/...)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Github badges Build-github License-github

GitLab badges Gitlab pipeline status

Kinda minimal CI demonstration for getting badges on your project page.

Usage

  1. Clone the repo
  2. Create new Github/GitLab repo page
  3. Change padge urls in readme.md to refer to your repo
  4. push the modified repo to Github
  5. When you go to the project page, you will have a badge. Cool points achieved.

Github

See it in its full glory at Github.

What/where?

Check .github/workflows/main.yml file which contains workflow definition for workflow that is run every time new push is made to the repo.

In the case of this repo, docker image is build and the image is run. If the container does not return error code, build badge is green, otherwise red (fail).

You can see actions which have been run in the actions tab of your repo page.

See Github documentation for more information about GitHub actions.

Gitlab

See it in its full glory at GitLab.

What/where?

Check .gitlab-ci.yml.

You can see pipelines which have been run in the pipelines tab/row of your repo page.

See GitLab documentation about pipelines.

Also check out GitLabs docs about Docker.

Shields.io

You might be interested in checking shields.io. You can search for different badges and then click them to get preview of that badge of your repo.

About

Repo demonstrating CI integration for different collaboration platforms (github/gitlab/...)

License:The Unlicense


Languages

Language:Dockerfile 100.0%