Migrate charm to charmhub latest/edge track
Change-Id: I6043512d21b8d3425c5a621f71a722e6a7b9bf73
This commit is contained in:
committed by
Liam Young
parent
ea90657762
commit
84a3161425
13
charmcraft.yaml
Normal file
13
charmcraft.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
type: charm
|
||||||
|
|
||||||
|
parts:
|
||||||
|
charm:
|
||||||
|
source: src/
|
||||||
|
plugin: reactive
|
||||||
|
build-snaps: [charm]
|
||||||
|
|
||||||
|
bases:
|
||||||
|
- name: ubuntu
|
||||||
|
channel: "20.04"
|
||||||
|
architectures:
|
||||||
|
- amd64
|
||||||
1
metadata.yaml
Symbolic link
1
metadata.yaml
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
src/metadata.yaml
|
||||||
40
osci.yaml
40
osci.yaml
@@ -1,11 +1,10 @@
|
|||||||
- project:
|
- project:
|
||||||
templates:
|
templates:
|
||||||
- charm-yoga-unit-jobs
|
- charm-unit-jobs-py38
|
||||||
|
- charm-unit-jobs-py39
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- bionic-basic
|
|
||||||
- focal-basic
|
- focal-basic
|
||||||
- hirsute-basic
|
|
||||||
- impish-basic:
|
- impish-basic:
|
||||||
voting: false
|
voting: false
|
||||||
- jammy-basic:
|
- jammy-basic:
|
||||||
@@ -14,38 +13,33 @@
|
|||||||
needs_charm_build: true
|
needs_charm_build: true
|
||||||
charm_build_name: pacemaker-remote
|
charm_build_name: pacemaker-remote
|
||||||
|
|
||||||
- job:
|
|
||||||
name: bionic-basic
|
|
||||||
parent: func-target
|
|
||||||
dependencies:
|
|
||||||
- osci-lint
|
|
||||||
- tox-py36
|
|
||||||
- tox-py38
|
|
||||||
- tox-py39
|
|
||||||
vars:
|
|
||||||
tox_extra_args: bionic-basic
|
|
||||||
- job:
|
- job:
|
||||||
name: focal-basic
|
name: focal-basic
|
||||||
parent: func-target
|
parent: func-target
|
||||||
dependencies: &smoke-jobs
|
dependencies:
|
||||||
- bionic-basic
|
- osci-lint
|
||||||
|
- tox-py38
|
||||||
|
- tox-py39
|
||||||
|
- charm-build
|
||||||
vars:
|
vars:
|
||||||
tox_extra_args: focal-basic
|
tox_extra_args: focal-basic
|
||||||
- job:
|
|
||||||
name: hirsute-basic
|
|
||||||
parent: func-target
|
|
||||||
dependencies: *smoke-jobs
|
|
||||||
vars:
|
|
||||||
tox_extra_args: hirsute-basic
|
|
||||||
- job:
|
- job:
|
||||||
name: impish-basic
|
name: impish-basic
|
||||||
parent: func-target
|
parent: func-target
|
||||||
dependencies: *smoke-jobs
|
dependencies:
|
||||||
|
- osci-lint
|
||||||
|
- tox-py38
|
||||||
|
- tox-py39
|
||||||
|
- charm-build
|
||||||
vars:
|
vars:
|
||||||
tox_extra_args: impish-basic
|
tox_extra_args: impish-basic
|
||||||
- job:
|
- job:
|
||||||
name: jammy-basic
|
name: jammy-basic
|
||||||
parent: func-target
|
parent: func-target
|
||||||
dependencies: *smoke-jobs
|
dependencies:
|
||||||
|
- osci-lint
|
||||||
|
- tox-py38
|
||||||
|
- tox-py39
|
||||||
|
- charm-build
|
||||||
vars:
|
vars:
|
||||||
tox_extra_args: jammy-basic
|
tox_extra_args: jammy-basic
|
||||||
|
|||||||
@@ -7,10 +7,7 @@ description: |
|
|||||||
tags:
|
tags:
|
||||||
- openstack
|
- openstack
|
||||||
series:
|
series:
|
||||||
- bionic
|
|
||||||
- focal
|
- focal
|
||||||
- groovy
|
|
||||||
- hirsute
|
|
||||||
- impish
|
- impish
|
||||||
requires:
|
requires:
|
||||||
juju-info:
|
juju-info:
|
||||||
|
|||||||
@@ -8,15 +8,16 @@ relations:
|
|||||||
- pacemaker-remote:pacemaker-remote
|
- pacemaker-remote:pacemaker-remote
|
||||||
applications:
|
applications:
|
||||||
api:
|
api:
|
||||||
charm: cs:bionic/ubuntu
|
charm: ch:ubuntu
|
||||||
num_units: 3
|
num_units: 3
|
||||||
hacluster:
|
hacluster:
|
||||||
charm: cs:~openstack-charmers-next/hacluster
|
charm: ch:hacluster
|
||||||
options:
|
options:
|
||||||
corosync_transport: unicast
|
corosync_transport: unicast
|
||||||
cluster_count: 3
|
cluster_count: 3
|
||||||
|
channel: latest/edge
|
||||||
compute:
|
compute:
|
||||||
charm: cs:bionic/ubuntu
|
charm: ch:ubuntu
|
||||||
num_units: 1
|
num_units: 1
|
||||||
pacemaker-remote:
|
pacemaker-remote:
|
||||||
series: bionic
|
series: bionic
|
||||||
|
|||||||
@@ -3,17 +3,18 @@ series: focal
|
|||||||
applications:
|
applications:
|
||||||
|
|
||||||
api:
|
api:
|
||||||
charm: cs:focal/ubuntu
|
charm: ch:ubuntu
|
||||||
num_units: 3
|
num_units: 3
|
||||||
|
|
||||||
hacluster:
|
hacluster:
|
||||||
charm: cs:~openstack-charmers-next/hacluster
|
charm: ch:hacluster
|
||||||
options:
|
options:
|
||||||
corosync_transport: unicast
|
corosync_transport: unicast
|
||||||
cluster_count: 3
|
cluster_count: 3
|
||||||
|
channel: latest/edge
|
||||||
|
|
||||||
compute:
|
compute:
|
||||||
charm: cs:focal/ubuntu
|
charm: ch:ubuntu
|
||||||
num_units: 1
|
num_units: 1
|
||||||
|
|
||||||
pacemaker-remote:
|
pacemaker-remote:
|
||||||
|
|||||||
@@ -1,34 +0,0 @@
|
|||||||
series: hirsute
|
|
||||||
|
|
||||||
applications:
|
|
||||||
|
|
||||||
api:
|
|
||||||
charm: cs:ubuntu
|
|
||||||
num_units: 3
|
|
||||||
|
|
||||||
hacluster:
|
|
||||||
charm: cs:~openstack-charmers-next/hacluster
|
|
||||||
options:
|
|
||||||
corosync_transport: unicast
|
|
||||||
cluster_count: 3
|
|
||||||
|
|
||||||
compute:
|
|
||||||
charm: cs:ubuntu
|
|
||||||
num_units: 1
|
|
||||||
|
|
||||||
pacemaker-remote:
|
|
||||||
charm: pacemaker-remote
|
|
||||||
options:
|
|
||||||
enable-stonith: False
|
|
||||||
enable-resources: False
|
|
||||||
|
|
||||||
relations:
|
|
||||||
|
|
||||||
- - 'compute:juju-info'
|
|
||||||
- 'pacemaker-remote:juju-info'
|
|
||||||
|
|
||||||
- - 'api:juju-info'
|
|
||||||
- 'hacluster:juju-info'
|
|
||||||
|
|
||||||
- - 'hacluster:pacemaker-remote'
|
|
||||||
- 'pacemaker-remote:pacemaker-remote'
|
|
||||||
@@ -7,10 +7,11 @@ applications:
|
|||||||
num_units: 3
|
num_units: 3
|
||||||
|
|
||||||
hacluster:
|
hacluster:
|
||||||
charm: cs:~openstack-charmers-next/hacluster
|
charm: ch:hacluster
|
||||||
options:
|
options:
|
||||||
corosync_transport: unicast
|
corosync_transport: unicast
|
||||||
cluster_count: 3
|
cluster_count: 3
|
||||||
|
channel: latest/edge
|
||||||
|
|
||||||
compute:
|
compute:
|
||||||
charm: cs:ubuntu
|
charm: cs:ubuntu
|
||||||
|
|||||||
@@ -7,10 +7,11 @@ applications:
|
|||||||
num_units: 3
|
num_units: 3
|
||||||
|
|
||||||
hacluster:
|
hacluster:
|
||||||
charm: cs:~openstack-charmers-next/hacluster
|
charm: ch:hacluster
|
||||||
options:
|
options:
|
||||||
corosync_transport: unicast
|
corosync_transport: unicast
|
||||||
cluster_count: 3
|
cluster_count: 3
|
||||||
|
channel: latest/edge
|
||||||
|
|
||||||
compute:
|
compute:
|
||||||
charm: cs:ubuntu
|
charm: cs:ubuntu
|
||||||
|
|||||||
@@ -7,16 +7,13 @@ configure:
|
|||||||
- zaza.charm_tests.noop.setup.basic_setup
|
- zaza.charm_tests.noop.setup.basic_setup
|
||||||
|
|
||||||
gate_bundles:
|
gate_bundles:
|
||||||
- bionic-basic
|
|
||||||
- focal-basic
|
- focal-basic
|
||||||
- hirsute-basic
|
|
||||||
- impish-basic
|
- impish-basic
|
||||||
|
|
||||||
smoke_bundles:
|
smoke_bundles:
|
||||||
- focal-basic
|
- focal-basic
|
||||||
|
|
||||||
dev_bundles:
|
dev_bundles:
|
||||||
- hirsute-basic
|
|
||||||
- impish-basic
|
- impish-basic
|
||||||
- jammy-basic
|
- jammy-basic
|
||||||
|
|
||||||
@@ -33,6 +30,5 @@ tests_options:
|
|||||||
force_deploy:
|
force_deploy:
|
||||||
# NOTE(lourot): cs:ubuntu doesn't support hirsute+ officially in its
|
# NOTE(lourot): cs:ubuntu doesn't support hirsute+ officially in its
|
||||||
# metadata:
|
# metadata:
|
||||||
- hirsute-basic
|
|
||||||
- impish-basic
|
- impish-basic
|
||||||
- jammy-basic
|
- jammy-basic
|
||||||
|
|||||||
Reference in New Issue
Block a user