Skip to content

Commit

Permalink
chore: fix rocks terminology (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdcordeiro authored Dec 10, 2024
1 parent 3b644c0 commit e3ab174
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# MySQL Server ROCK
# MySQL Server rock
[![Release to GHCR](https://github.com/canonical/charmed-mysql-rock/actions/workflows/release.yaml/badge.svg)](https://github.com/canonical/charmed-mysql-rock/actions/workflows/release.yaml)

This repository contains the packaging metadata for creating a ROCK of MySQL built from the official ubuntu MySQL package from the Ubuntu repository and further installs mysql-shell. For more information on ROCKs, visit the [rockcraft Github](https://github.com/canonical/rockcraft).
This repository contains the packaging metadata for creating a rock of MySQL built from the official ubuntu MySQL package from the Ubuntu repository and further installs mysql-shell. For more information on rocks, visit the [rockcraft Github](https://github.com/canonical/rockcraft).

Built for use in the [MySQL k8s charm](https://github.com/canonical/mysql-k8s-operator).

## Building the ROCK
The steps outlined below are based on the assumption that you are building the ROCK with the latest LTS of Ubuntu. If you are using another version of Ubuntu or another operating system, the process may be different.
## Building the rock
The steps outlined below are based on the assumption that you are building the rock with the latest LTS of Ubuntu. If you are using another version of Ubuntu or another operating system, the process may be different.

### Clone Repository
```bash
Expand All @@ -26,14 +26,14 @@ sudo usermod -aG docker $USER
sudo lxd init --auto
```
*_NOTE:_* You will need to open a new shell for the group change to take effect (i.e. `su - $USER`)
### Packing and Running the ROCK
### Packing and Running the rock
```bash
rockcraft pack
sudo skopeo --insecure-policy copy oci-archive:mysql*.rock docker-daemon:<username>/mysql-server:<tag>
docker run --rm -it <username>/mysql-server:<tag>
```

## License
The MySQL Server ROCK is free software, distributed under the Apache
The MySQL Server rock is free software, distributed under the Apache
Software License, version 2.0. See
[LICENSE](https://github.com/canonical/charmed-mysql-container/blob/8.0-22.04/licenses)
4 changes: 2 additions & 2 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: charmed-mysql
base: ubuntu@22.04
version: '8.0.39'
summary: Charmed MySQL ROCK OCI
summary: Charmed MySQL rock OCI
description: |
MySQL built from the official MySQL package
from the MySQL repository and installs
mysql-shell. For more information on ROCKs, visit
mysql-shell. For more information on rocks, visit
the https://github.com/canonical/rockcraft.
license: Apache-2.0
platforms:
Expand Down

0 comments on commit e3ab174

Please sign in to comment.