Skip to content

Commit

Permalink
Rename the jobs :-)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasLecocq committed Sep 20, 2024
1 parent 345d411 commit 2644a1c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_linux.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Linux Tests
name: MariaDB on Linux

on: [push,pull_request]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_macos.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Setup PostgreSQL on macOS without Admin
name: PostgreSQL on MacOS (no root)

on: [push]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_postgresql_OS.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Setup PostgreSQL on Multiple OS
name: PostgreSQL on Multiple OS (no root)

on: [push]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_windows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Windows Tests
name: MariaDB on Windows

on: [push,pull_request]

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
This is a Python-based command-line interface (CLI) tool for managing a portable MariaDB server for MSNoise.
The tool allows you to download, extract, install, start, stop, create, and drop databases using MariaDB.

[![Github Action Status](https://github.com/ROBelgium/msnoise-db/actions/workflows/test_linux.yml/badge.svg)](https://github.com/ROBelgium/msnoise-db/actions) - [![Github Action Status](https://github.com/ROBelgium/msnoise-db/actions/workflows/test_windows.yml/badge.svg)](https://github.com/ROBelgium/msnoise-db/actions) - [![Github Action Status](https://github.com/ROBelgium/msnoise-db/actions/workflows/test_macos.yml/badge.svg)](https://github.com/ROBelgium/msnoise-db/actions)
[![Github Action Status](https://github.com/ROBelgium/msnoise-db/actions/workflows/test_linux.yml/badge.svg)](https://github.com/ROBelgium/msnoise-db/actions) [![Github Action Status](https://github.com/ROBelgium/msnoise-db/actions/workflows/test_windows.yml/badge.svg)](https://github.com/ROBelgium/msnoise-db/actions) [![Github Action Status](https://github.com/ROBelgium/msnoise-db/actions/workflows/test_macos.yml/badge.svg)](https://github.com/ROBelgium/msnoise-db/actions) [![Github Action Status](https://github.com/ROBelgium/msnoise-db/actions/workflows/test_postgresql_OS.yml/badge.svg)](https://github.com/ROBelgium/msnoise-db/actions)


## Features

Expand Down
7 changes: 0 additions & 7 deletions msnoise_db/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,6 @@ def start_server():
mysqld_cmd = os.path.join(bin_dir, "mariadbd-safe")
process = subprocess.Popen([mysqld_cmd, '--defaults-file='+ CONFIG_FILE], stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL, preexec_fn=os.setpgrp)
# os.system(mysqld_cmd + " --defaults-file="+CONFIG_FILE+ "&")
if process.returncode:
print(process.stdout.read())
print(process.stderr.read())
sys.exit(0)
logdir = os.path.join(mariadb_dir, "log")
print(open(os.path.join(logdir, "err.log"), "r").read())

# Loop until MariaDB service is active
# while not is_mariadbd_active():
Expand Down

0 comments on commit 2644a1c

Please sign in to comment.