Skip to content

Commit

Permalink
Add support for Dalmatian Rocks
Browse files Browse the repository at this point in the history
openstack: 2024.1 -> 2024.2
ovn: 24.03 -> 24.09

Use Dalmatian Cloud Archive pockets.

Add dalmatian to push and publish-branch workflow.

Use 2024.1 tempest snap until a newer one exists.
  • Loading branch information
javacruft committed Oct 18, 2024
1 parent 42b9d97 commit 497b87c
Show file tree
Hide file tree
Showing 125 changed files with 632 additions and 320 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish_branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- main
- stable/2023.1
- stable/2023.2
- dalmatian
filter:
description: Build/publish only matching ROCKs
required: false
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- main
- stable/2023.1
- stable/2023.2
- dalmatian

jobs:
modified_rocks:
Expand Down
8 changes: 4 additions & 4 deletions cookiecutter_code/rock/{{cookiecutter.rock_name}}/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ it will help ensure that all layers of the image are imported
into docker (this is just the top layer).

```bash
> skopeo --insecure-policy copy oci-archive:{{ cookiecutter.rock_name }}_2024.1_amd64.rock docker-daemon:{{ cookiecutter.rock_name }}:2024.1
> skopeo --insecure-policy copy oci-archive:{{ cookiecutter.rock_name }}_2024.2_amd64.rock docker-daemon:{{ cookiecutter.rock_name }}:2024.2
```

If you are interested in giving it a go in Microk8s, you can
export the image from your docker registry and then into the
microk8s registry:

```bash
> docker save {{ cookiecutter.rock_name }}:2024.1 > ./{{ cookiecutter.rock_name }}_2024.1.tar
> microk8s ctr image import ./{{ cookiecutter.rock_name }}_2024.1.tar
> docker save {{ cookiecutter.rock_name }}:2024.2 > ./{{ cookiecutter.rock_name }}_2024.2.tar
> microk8s ctr image import ./{{ cookiecutter.rock_name }}_2024.2.tar
# Try with sunbeam
> juju attach-resource {{ cookiecutter.rock_name }} {{ cookiecutter.rock_name }}-image={{ cookiecutter.rock_name }}:2024.1
> juju attach-resource {{ cookiecutter.rock_name }} {{ cookiecutter.rock_name }}-image={{ cookiecutter.rock_name }}:2024.2
```
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ summary: Openstack {{ cookiecutter.rock_name }}
license: Apache-2.0
description: |
Ubuntu distribution of OpenStack {{ cookiecutter.rock_name }}
version: "2024.1"
version: "2024.2"
# renovate: base: ubuntu:24.04@sha256:b359f1067efa76f37863778f7b6d0e8d911e3ee8efa807ad01fbf5dc1ef9006b
base: [email protected]
platforms:
amd64:

package-repositories:
- type: apt
cloud: dalmatian
priority: always

services:
wsgi-{{ cookiecutter.rock_name }}:
override: replace
Expand Down
8 changes: 4 additions & 4 deletions rocks/aodh-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ it will help ensure that all layers of the image are imported
into docker (this is just the top layer).

```bash
> skopeo --insecure-policy copy oci-archive:aodh-api_2024.1_amd64.rock docker-daemon:aodh-api:2024.1
> skopeo --insecure-policy copy oci-archive:aodh-api_2024.2_amd64.rock docker-daemon:aodh-api:2024.2
```

If you are interested in giving it a go in Microk8s, you can
export the image from your docker registry and then into the
microk8s registry:

```bash
> docker save aodh-api:2024.1 > ./aodh-api_2024.1.tar
> microk8s ctr image import ./aodh-api_2024.1.tar
> docker save aodh-api:2024.2 > ./aodh-api_2024.2.tar
> microk8s ctr image import ./aodh-api_2024.2.tar
# Try with sunbeam
> juju attach-resource aodh-k8s aodh-api-image=aodh-api:2024.1
> juju attach-resource aodh-k8s aodh-api-image=aodh-api:2024.2
```
7 changes: 6 additions & 1 deletion rocks/aodh-api/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ summary: Openstack aodh-api
license: Apache-2.0
description: |
Ubuntu distribution of OpenStack aodh-api
version: "2024.1"
version: "2024.2"
# renovate: base: ubuntu:24.04@sha256:b359f1067efa76f37863778f7b6d0e8d911e3ee8efa807ad01fbf5dc1ef9006b
base: [email protected]
platforms:
amd64:

package-repositories:
- type: apt
cloud: dalmatian
priority: always

services:
wsgi-aodh-api:
override: replace
Expand Down
14 changes: 7 additions & 7 deletions rocks/aodh-consolidated/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ it will help ensure that all layers of the image are imported
into docker (this is just the top layer).

```bash
> skopeo --insecure-policy copy oci-archive:aodh-consolidated_2024.1_amd64.rock docker-daemon:aodh-consolidated:2024.1
> skopeo --insecure-policy copy oci-archive:aodh-consolidated_2024.2_amd64.rock docker-daemon:aodh-consolidated:2024.2
```

If you are interested in giving it a go in Microk8s, you can
export the image from your docker registry and then into the
microk8s registry:

```bash
> docker save aodh-consolidated:2024.1 > ./aodh-consolidated_2024.1.tar
> microk8s ctr image import ./aodh-consolidated_2024.1.tar
> docker save aodh-consolidated:2024.2 > ./aodh-consolidated_2024.2.tar
> microk8s ctr image import ./aodh-consolidated_2024.2.tar
# Try with sunbeam
> juju attach-resource aodh-k8s aodh-api-image=aodh-consolidated:2024.1
> juju attach-resource aodh-k8s aodh-evaluator-image=aodh-consolidated:2024.1
> juju attach-resource aodh-k8s aodh-notifier-image=aodh-consolidated:2024.1
> juju attach-resource aodh-k8s aodh-listener-image=aodh-consolidated:2024.1
> juju attach-resource aodh-k8s aodh-api-image=aodh-consolidated:2024.2
> juju attach-resource aodh-k8s aodh-evaluator-image=aodh-consolidated:2024.2
> juju attach-resource aodh-k8s aodh-notifier-image=aodh-consolidated:2024.2
> juju attach-resource aodh-k8s aodh-listener-image=aodh-consolidated:2024.2
```
7 changes: 6 additions & 1 deletion rocks/aodh-consolidated/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ summary: Openstack aodh-consolidated
license: Apache-2.0
description: |
Ubuntu distribution of AODH which can be used for all AODH services
version: "2024.1"
version: "2024.2"
# renovate: base: ubuntu:24.04@sha256:b359f1067efa76f37863778f7b6d0e8d911e3ee8efa807ad01fbf5dc1ef9006b
base: [email protected]
platforms:
amd64:

package-repositories:
- type: apt
cloud: dalmatian
priority: always

parts:
aodh-user:
plugin: nil
Expand Down
8 changes: 4 additions & 4 deletions rocks/aodh-evaluator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ it will help ensure that all layers of the image are imported
into docker (this is just the top layer).

```bash
> skopeo --insecure-policy copy oci-archive:aodh-evaluator_2024.1_amd64.rock docker-daemon:aodh-evaluator:2024.1
> skopeo --insecure-policy copy oci-archive:aodh-evaluator_2024.2_amd64.rock docker-daemon:aodh-evaluator:2024.2
```

If you are interested in giving it a go in Microk8s, you can
export the image from your docker registry and then into the
microk8s registry:

```bash
> docker save aodh-evaluator:2024.1 > ./aodh-evaluator_2024.1.tar
> microk8s ctr image import ./aodh-evaluator_2024.1.tar
> docker save aodh-evaluator:2024.2 > ./aodh-evaluator_2024.2.tar
> microk8s ctr image import ./aodh-evaluator_2024.2.tar
# Try with sunbeam
> juju attach-resource aodh-k8s aodh-evaluator-image=aodh-evaluator:2024.1
> juju attach-resource aodh-k8s aodh-evaluator-image=aodh-evaluator:2024.2
```
7 changes: 6 additions & 1 deletion rocks/aodh-evaluator/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ summary: Openstack aodh-evaluator
license: Apache-2.0
description: |
Ubuntu distribution of OpenStack aodh-evaluator
version: "2024.1"
version: "2024.2"
# renovate: base: ubuntu:24.04@sha256:b359f1067efa76f37863778f7b6d0e8d911e3ee8efa807ad01fbf5dc1ef9006b
base: [email protected]
platforms:
amd64:

package-repositories:
- type: apt
cloud: dalmatian
priority: always

services:
aodh-evaluator:
override: replace
Expand Down
8 changes: 4 additions & 4 deletions rocks/aodh-expirer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ it will help ensure that all layers of the image are imported
into docker (this is just the top layer).

```bash
> skopeo --insecure-policy copy oci-archive:aodh-expirer_2024.1_amd64.rock docker-daemon:aodh-expirer:2024.1
> skopeo --insecure-policy copy oci-archive:aodh-expirer_2024.2_amd64.rock docker-daemon:aodh-expirer:2024.2
```

If you are interested in giving it a go in Microk8s, you can
export the image from your docker registry and then into the
microk8s registry:

```bash
> docker save aodh-expirer:2024.1 > ./aodh-expirer_2024.1.tar
> microk8s ctr image import ./aodh-expirer_2024.1.tar
> docker save aodh-expirer:2024.2 > ./aodh-expirer_2024.2.tar
> microk8s ctr image import ./aodh-expirer_2024.2.tar
# Try with sunbeam
> juju attach-resource aodh-k8s aodh-expirer-image=aodh-expirer:2024.1
> juju attach-resource aodh-k8s aodh-expirer-image=aodh-expirer:2024.2
```
7 changes: 6 additions & 1 deletion rocks/aodh-expirer/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ summary: Openstack aodh-expirer
license: Apache-2.0
description: |
Ubuntu distribution of OpenStack aodh-expirer
version: "2024.1"
version: "2024.2"
# renovate: base: ubuntu:24.04@sha256:b359f1067efa76f37863778f7b6d0e8d911e3ee8efa807ad01fbf5dc1ef9006b
base: [email protected]
platforms:
amd64:

package-repositories:
- type: apt
cloud: dalmatian
priority: always

services:
aodh-expirer:
override: replace
Expand Down
8 changes: 4 additions & 4 deletions rocks/aodh-listener/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ it will help ensure that all layers of the image are imported
into docker (this is just the top layer).

```bash
> skopeo --insecure-policy copy oci-archive:aodh-listener_2024.1_amd64.rock docker-daemon:aodh-listener:2024.1
> skopeo --insecure-policy copy oci-archive:aodh-listener_2024.2_amd64.rock docker-daemon:aodh-listener:2024.2
```

If you are interested in giving it a go in Microk8s, you can
export the image from your docker registry and then into the
microk8s registry:

```bash
> docker save aodh-listener:2024.1 > ./aodh-listener_2024.1.tar
> microk8s ctr image import ./aodh-listener_2024.1.tar
> docker save aodh-listener:2024.2 > ./aodh-listener_2024.2.tar
> microk8s ctr image import ./aodh-listener_2024.2.tar
# Try with sunbeam
> juju attach-resource aodh-k8s aodh-listener-image=aodh-listener:2024.1
> juju attach-resource aodh-k8s aodh-listener-image=aodh-listener:2024.2
```
7 changes: 6 additions & 1 deletion rocks/aodh-listener/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ summary: Openstack aodh-listener
license: Apache-2.0
description: |
Ubuntu distribution of OpenStack aodh-listener
version: "2024.1"
version: "2024.2"
# renovate: base: ubuntu:24.04@sha256:b359f1067efa76f37863778f7b6d0e8d911e3ee8efa807ad01fbf5dc1ef9006b
base: [email protected]
platforms:
amd64:

package-repositories:
- type: apt
cloud: dalmatian
priority: always

services:
aodh-listener:
override: replace
Expand Down
8 changes: 4 additions & 4 deletions rocks/aodh-notifier/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ it will help ensure that all layers of the image are imported
into docker (this is just the top layer).

```bash
> skopeo --insecure-policy copy oci-archive:aodh-notifier_2024.1_amd64.rock docker-daemon:aodh-notifier:2024.1
> skopeo --insecure-policy copy oci-archive:aodh-notifier_2024.2_amd64.rock docker-daemon:aodh-notifier:2024.2
```

If you are interested in giving it a go in Microk8s, you can
export the image from your docker registry and then into the
microk8s registry:

```bash
> docker save aodh-notifier:2024.1 > ./aodh-notifier_2024.1.tar
> microk8s ctr image import ./aodh-notifier_2024.1.tar
> docker save aodh-notifier:2024.2 > ./aodh-notifier_2024.2.tar
> microk8s ctr image import ./aodh-notifier_2024.2.tar
# Try with sunbeam
> juju attach-resource aodh-k8s aodh-notifier-image=aodh-notifier:2024.1
> juju attach-resource aodh-k8s aodh-notifier-image=aodh-notifier:2024.2
```
7 changes: 6 additions & 1 deletion rocks/aodh-notifier/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ summary: Openstack aodh-notifier
license: Apache-2.0
description: |
Ubuntu distribution of OpenStack aodh-notifier
version: "2024.1"
version: "2024.2"
# renovate: base: ubuntu:24.04@sha256:b359f1067efa76f37863778f7b6d0e8d911e3ee8efa807ad01fbf5dc1ef9006b
base: [email protected]
platforms:
amd64:

package-repositories:
- type: apt
cloud: dalmatian
priority: always

services:
aodh-notifier:
override: replace
Expand Down
8 changes: 4 additions & 4 deletions rocks/barbican-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ it will help ensure that all layers of the image are imported
into docker (this is just the top layer).

```bash
> skopeo --insecure-policy copy oci-archive:barbican-api_2024.1_amd64.rock docker-daemon:barbican-api:2024.1
> skopeo --insecure-policy copy oci-archive:barbican-api_2024.2_amd64.rock docker-daemon:barbican-api:2024.2
```

If you are interested in giving it a go in Microk8s, you can
export the image from your docker registry and then into the
microk8s registry:

```bash
> docker save barbican-api:2024.1 > ./barbican-api_2024.1.tar
> microk8s ctr image import ./barbican-api_2024.1.tar
> docker save barbican-api:2024.2 > ./barbican-api_2024.2.tar
> microk8s ctr image import ./barbican-api_2024.2.tar
# Try with sunbeam
> juju attach-resource barbican-api barbican-api-image=barbican-api:2024.1
> juju attach-resource barbican-api barbican-api-image=barbican-api:2024.2
```
7 changes: 6 additions & 1 deletion rocks/barbican-api/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ summary: Openstack barbican-api
license: Apache-2.0
description: |
Ubuntu distribution of OpenStack barbican-api
version: "2024.1"
version: "2024.2"
# renovate: base: ubuntu:24.04@sha256:b359f1067efa76f37863778f7b6d0e8d911e3ee8efa807ad01fbf5dc1ef9006b
base: [email protected]
platforms:
amd64:

package-repositories:
- type: apt
cloud: dalmatian
priority: always

services:
wsgi-barbican-api:
override: replace
Expand Down
8 changes: 4 additions & 4 deletions rocks/barbican-consolidated/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ it will help ensure that all layers of the image are imported
into docker (this is just the top layer).

```bash
> skopeo --insecure-policy copy oci-archive:barbican-consolidated_2024.1_amd64.rock docker-daemon:barbican-consolidated:2024.1
> skopeo --insecure-policy copy oci-archive:barbican-consolidated_2024.2_amd64.rock docker-daemon:barbican-consolidated:2024.2
```

If you are interested in giving it a go in Microk8s, you can
export the image from your docker registry and then into the
microk8s registry:

```bash
> docker save barbican-consolidated:2024.1 > ./barbican-consolidated_2024.1.tar
> microk8s ctr image import ./barbican-consolidated_2024.1.tar
> docker save barbican-consolidated:2024.2 > ./barbican-consolidated_2024.2.tar
> microk8s ctr image import ./barbican-consolidated_2024.2.tar
# Try with sunbeam
> juju attach-resource barbican-consolidated barbican-consolidated-image=barbican-consolidated:2024.1
> juju attach-resource barbican-consolidated barbican-consolidated-image=barbican-consolidated:2024.2
```
7 changes: 6 additions & 1 deletion rocks/barbican-consolidated/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ summary: Openstack barbican-consolidated
license: Apache-2.0
description: |
Ubuntu distribution of OpenStack barbican-consolidated
version: "2024.1"
version: "2024.2"
# renovate: base: ubuntu:24.04@sha256:b359f1067efa76f37863778f7b6d0e8d911e3ee8efa807ad01fbf5dc1ef9006b
base: [email protected]
platforms:
amd64:

package-repositories:
- type: apt
cloud: dalmatian
priority: always

parts:
barbican-user:
plugin: nil
Expand Down
Loading

0 comments on commit 497b87c

Please sign in to comment.