Hide keyboard shortcuts

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

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

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')