Coverage for reactive/gitlab_runner.py : 0%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
from lib_gitlab_runner import GitlabrunnerHelper from charmhelpers.core import hookenv from charms.reactive import set_flag, when_not
helper = GitlabrunnerHelper()
@when_not('gitlab-runner.installed') def install_gitlab_runner(): # Do your setup here. # # If your charm has other dependencies before it can install, # add those as @when() clauses above., or as additional @when() # decorated handlers below # # See the following for information about reactive charms: # # * https://jujucharms.com/docs/devel/developer-getting-started # * https://github.com/juju-solutions/layer-basic#overview # hookenv.status_set('active', '') set_flag('gitlab-runner.installed') |