Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new mysql-shell #47442

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions mysql-shell-9.1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
package:
name: mysql-shell-9.1
version: 9.1.0
epoch: 0
description: MySQL Shell is a new command line scriptable shell for MySQL. It supports JavaScript and Python.
copyright:
- license: GPL-2.0-only
dependencies:
runtime:
- mysql-9.1
provides:
- mysql-shell=${{package.full-version}}

environment:
contents:
packages:
- build-base
- busybox
- cmake
- git
- libssh-dev
- mysql-9.1-client
- mysql-9.1-dev
- openssl-dev
- python-3.13-dev
environment:
MYSQL_SOURCE_DIR: /usr
MYSQL_BUILD_DIR: /usr/include/mysql

pipeline:
- uses: git-checkout
with:
repository: https://github.com/mysql/mysql-shell
tag: ${{package.version}}
expected-commit: 3aeed61a48d1a8124411d2a0a088461fcfde3d8a

- uses: cmake/configure
with:
opts: |
-DMYSQL_SOURCE_DIR=$MYSQL_SOURCE_DIR \
-DMYSQL_BUILD_DIR=$MYSQL_BUILD_DIR \
-DCMAKE_INSTALL_PREFIX=/usr \
-DHAVE_PYTHON=1 \
-DWITH_SSL=system \
-DWITH_TESTS=OFF

- uses: cmake/build

- uses: cmake/install

- uses: strip

update:
enabled: true
github:
identifier: mysql/mysql-shell
strip-prefix: mysql-
use-tag: true
tag-filter: mysql-9.1.