Migrate charm to charmhub latest/edge track
Change-Id: I6043512d21b8d3425c5a621f71a722e6a7b9bf73
This commit is contained in:
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:
|
||||
templates:
|
||||
- charm-yoga-unit-jobs
|
||||
- charm-unit-jobs-py38
|
||||
- charm-unit-jobs-py39
|
||||
check:
|
||||
jobs:
|
||||
- bionic-basic
|
||||
- focal-basic
|
||||
- hirsute-basic
|
||||
- impish-basic:
|
||||
voting: false
|
||||
- jammy-basic:
|
||||
@ -14,38 +13,33 @@
|
||||
needs_charm_build: true
|
||||
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:
|
||||
name: focal-basic
|
||||
parent: func-target
|
||||
dependencies: &smoke-jobs
|
||||
- bionic-basic
|
||||
dependencies:
|
||||
- osci-lint
|
||||
- tox-py38
|
||||
- tox-py39
|
||||
- charm-build
|
||||
vars:
|
||||
tox_extra_args: focal-basic
|
||||
- job:
|
||||
name: hirsute-basic
|
||||
parent: func-target
|
||||
dependencies: *smoke-jobs
|
||||
vars:
|
||||
tox_extra_args: hirsute-basic
|
||||
- job:
|
||||
name: impish-basic
|
||||
parent: func-target
|
||||
dependencies: *smoke-jobs
|
||||
dependencies:
|
||||
- osci-lint
|
||||
- tox-py38
|
||||
- tox-py39
|
||||
- charm-build
|
||||
vars:
|
||||
tox_extra_args: impish-basic
|
||||
- job:
|
||||
name: jammy-basic
|
||||
parent: func-target
|
||||
dependencies: *smoke-jobs
|
||||
dependencies:
|
||||
- osci-lint
|
||||
- tox-py38
|
||||
- tox-py39
|
||||
- charm-build
|
||||
vars:
|
||||
tox_extra_args: jammy-basic
|
||||
|
@ -7,10 +7,7 @@ description: |
|
||||
tags:
|
||||
- openstack
|
||||
series:
|
||||
- bionic
|
||||
- focal
|
||||
- groovy
|
||||
- hirsute
|
||||
- impish
|
||||
requires:
|
||||
juju-info:
|
||||
|
@ -8,15 +8,16 @@ relations:
|
||||
- pacemaker-remote:pacemaker-remote
|
||||
applications:
|
||||
api:
|
||||
charm: cs:bionic/ubuntu
|
||||
charm: ch:ubuntu
|
||||
num_units: 3
|
||||
hacluster:
|
||||
charm: cs:~openstack-charmers-next/hacluster
|
||||
charm: ch:hacluster
|
||||
options:
|
||||
corosync_transport: unicast
|
||||
cluster_count: 3
|
||||
channel: latest/edge
|
||||
compute:
|
||||
charm: cs:bionic/ubuntu
|
||||
charm: ch:ubuntu
|
||||
num_units: 1
|
||||
pacemaker-remote:
|
||||
series: bionic
|
||||
|
@ -3,17 +3,18 @@ series: focal
|
||||
applications:
|
||||
|
||||
api:
|
||||
charm: cs:focal/ubuntu
|
||||
charm: ch:ubuntu
|
||||
num_units: 3
|
||||
|
||||
hacluster:
|
||||
charm: cs:~openstack-charmers-next/hacluster
|
||||
charm: ch:hacluster
|
||||
options:
|
||||
corosync_transport: unicast
|
||||
cluster_count: 3
|
||||
channel: latest/edge
|
||||
|
||||
compute:
|
||||
charm: cs:focal/ubuntu
|
||||
charm: ch:ubuntu
|
||||
num_units: 1
|
||||
|
||||
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
|
||||
|
||||
hacluster:
|
||||
charm: cs:~openstack-charmers-next/hacluster
|
||||
charm: ch:hacluster
|
||||
options:
|
||||
corosync_transport: unicast
|
||||
cluster_count: 3
|
||||
channel: latest/edge
|
||||
|
||||
compute:
|
||||
charm: cs:ubuntu
|
||||
|
@ -7,10 +7,11 @@ applications:
|
||||
num_units: 3
|
||||
|
||||
hacluster:
|
||||
charm: cs:~openstack-charmers-next/hacluster
|
||||
charm: ch:hacluster
|
||||
options:
|
||||
corosync_transport: unicast
|
||||
cluster_count: 3
|
||||
channel: latest/edge
|
||||
|
||||
compute:
|
||||
charm: cs:ubuntu
|
||||
|
@ -7,16 +7,13 @@ configure:
|
||||
- zaza.charm_tests.noop.setup.basic_setup
|
||||
|
||||
gate_bundles:
|
||||
- bionic-basic
|
||||
- focal-basic
|
||||
- hirsute-basic
|
||||
- impish-basic
|
||||
|
||||
smoke_bundles:
|
||||
- focal-basic
|
||||
|
||||
dev_bundles:
|
||||
- hirsute-basic
|
||||
- impish-basic
|
||||
- jammy-basic
|
||||
|
||||
@ -33,6 +30,5 @@ tests_options:
|
||||
force_deploy:
|
||||
# NOTE(lourot): cs:ubuntu doesn't support hirsute+ officially in its
|
||||
# metadata:
|
||||
- hirsute-basic
|
||||
- impish-basic
|
||||
- jammy-basic
|
||||
|
Loading…
Reference in New Issue
Block a user