Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
add badges to README.md and CONTRIBUTING.md (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucabello authored Feb 7, 2023
1 parent 079ce21 commit 896a63a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
8 changes: 8 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# traefik-route-k8s-operator

![GitHub License](https://img.shields.io/github/license/canonical/traefik-route-k8s-operator)
![GitHub Commit Activity](https://img.shields.io/github/commit-activity/y/canonical/traefik-route-k8s-operator)
![GitHub Lines of Code](https://img.shields.io/tokei/lines/github/canonical/traefik-route-k8s-operator)
![GitHub Issues](https://img.shields.io/github/issues/canonical/traefik-route-k8s-operator)
![GitHub PRs](https://img.shields.io/github/issues-pr/canonical/traefik-route-k8s-operator)
![GitHub Contributors](https://img.shields.io/github/contributors/canonical/traefik-route-k8s-operator)
![GitHub Watchers](https://img.shields.io/github/watchers/canonical/traefik-route-k8s-operator?style=social)

## Developing

Create and activate a virtualenv with the development requirements:
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# traefik-route-k8s-operator

[![CharmHub Badge](https://charmhub.io/traefik-route-k8s/badge.svg)](https://charmhub.io/traefik-route-k8s)
[![Release Edge](https://github.com/canonical/traefik-route-k8s-operator/actions/workflows/release-edge.yaml/badge.svg)](https://github.com/canonical/traefik-route-k8s-operator/actions/workflows/release-edge.yaml)
[![Release Libraries](https://github.com/canonical/traefik-route-k8s-operator/actions/workflows/release-libs.yaml/badge.svg)](https://github.com/canonical/traefik-route-k8s-operator/actions/workflows/release-libs.yaml)
[![Discourse Status](https://img.shields.io/discourse/status?server=https%3A%2F%2Fdiscourse.charmhub.io&style=flat&label=CharmHub%20Discourse)](https://discourse.charmhub.io)

## Description

Traefik-route-k8s provides separation of concerns between the general needs of
Expand Down
5 changes: 1 addition & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,7 @@ deps =
commands =
charm: mypy {[vars]src_path} {posargs}
lib: mypy --python-version 3.8 {[vars]lib_path} {posargs}
lib: /usr/bin/env sh -c 'for m in $(git diff main --name-only {[vars]lib_path}); do \
lib: if ! git diff $m | grep -q "+LIBPATCH\|+LIBAPI"; then \
lib: echo "You forgot to bump the version on $m!"; exit 1; \
lib: fi; done'
lib: /usr/bin/env sh -c 'for m in $(git diff main --name-only {[vars]lib_path}); do if ! git diff $m | grep -q "+LIBPATCH\|+LIBAPI"; then echo "You forgot to bump the version on $m!"; exit 1; fi; done'
unit: mypy {[vars]tst_path}/unit {posargs}
integration: mypy {[vars]tst_path}/integration {posargs} \
--exclude {[vars]tst_path}/integration/ingress-requirer-mock
Expand Down

0 comments on commit 896a63a

Please sign in to comment.