Skip to content

Commit 8d01c29

Browse files
author
Wiktor Maj
authored
Merge branch 'master' into fix/74-innodb-flush-method
2 parents 9c793cc + 6daee8d commit 8d01c29

10 files changed

Lines changed: 23 additions & 9 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
contents: "read"
1616
packages: "write"
1717
strategy:
18+
fail-fast: false
1819
matrix:
1920
include:
2021
- image: "ghcr.io/szachovy/superset-cluster-mysql-server"

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2222
* Migrated CI from self-hosted to GitHub-hosted runners with Docker-in-Docker test infrastructure. (#94)
2323
* Test workflow always builds service images locally for reproducibility. (#97)
2424
* Set `innodb_flush_method=O_DIRECT` to eliminate double caching in containers. (#74)
25+
* Reduced InnoDB change buffer size for read-heavy BI workload. (#72)
26+
* Set InnoDB buffer pool size to 1G for improved query performance. (#71)
27+
* Relaxed Terraform version constraint to accept any 1.x release. (#40)
28+
29+
### Removed
30+
31+
* Removed personal contact section from README. (#159)
2532

2633
### Fixed
2734

2835
* Fixed `run_mysql_server()` not instantiating `MySQLServer` class. (#94)
2936
* Disabled MD060 markdownlint rule to fix table column style false positives in documentation. (#94)
37+
* Made `create_directory()` idempotent to support deployment re-runs. (#35)
38+
* Added default inventory directive to `ansible.cfg`. (#42)
39+
* Fixed Publish workflow `write_package` permission denied by adding OCI source labels for GHCR repository linking. (#99)
3040

3141
## 1.0 - 2024-10-13
3242

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,6 @@ If you notice anything missing, spot a bug, or have an enhancement proposal,
104104
feel free to open an issue with the appropriate label.
105105
Pull requests are welcome. Please ensure that the tests are updated as necessary.
106106

107-
## Personal contact information
108-
109-
In case of any inquiries, please write an email to: _wjmaj98@gmail.com_
110-
111107
## Additional resources
112108

113109
* [What is Apache Superset?](https://superset.apache.org/docs/intro)

services/mysql-mgmt/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
ARG BUILDPLATFORM="amd64"
22
FROM --platform=${BUILDPLATFORM} ubuntu:22.04
33

4-
LABEL version="1.0"
4+
LABEL version="1.0" \
5+
org.opencontainers.image.source="https://github.com/szachovy/superset-cluster"
56

67
ARG MYSQL_SHELL_VERSION="mysql-shell-8.3.0-linux-glibc2.28-x86-64bit" \
78
MYSQL_SHELL_MD5_CHECKSUM="c71280416014b9340b34b90160f42e23" \

services/mysql-server/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
ARG BUILDPLATFORM="amd64"
22
FROM --platform=${BUILDPLATFORM} mysql:8.0-debian
33

4-
LABEL version="1.0"
4+
LABEL version="1.0" \
5+
org.opencontainers.image.source="https://github.com/szachovy/superset-cluster"
56

67
ENV LANG="C.UTF-8" \
78
LC_ALL="C.UTF-8"

services/mysql-server/mysql_config.cnf.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ require_secure_transport = "ON"
1515
max_connections = "50"
1616
max_connect_errors = "50"
1717
innodb_flush_method = "O_DIRECT"
18+
innodb_change_buffer_max_size = "10"
19+
innodb_buffer_pool_size = "1G"
20+
innodb_buffer_pool_instances = "1"

services/superset/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
ARG BUILDPLATFORM="amd64"
22
FROM --platform=${BUILDPLATFORM} apache/superset:4.0.2
33

4-
LABEL version="1.0"
4+
LABEL version="1.0" \
5+
org.opencontainers.image.source="https://github.com/szachovy/superset-cluster"
56

67
COPY --chown=superset:superset "." "/app/"
78

src/remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def upload_directory(self, local_directory_path: str, remote_directory_path: str
152152
self.sftp_client.put(local_item_path, remote_item_path)
153153

154154
def create_directory(self, remote_directory_path: str) -> None:
155-
self.sftp_client.mkdir(remote_directory_path)
155+
self.ssh_client.exec_command(f"mkdir -p {remote_directory_path}")
156156

157157
def upload_file(self, content: str | bytes, remote_file_path: str) -> None:
158158
if isinstance(content, str):

tests/setup/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
terraform {
2-
required_version = "1.0.10"
2+
required_version = ">= 1.0.0, < 2.0.0"
33
required_providers {
44
null = {
55
source = "hashicorp/null"

tests/testsuite/ansible.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[defaults]
2+
inventory = inventory.yml
23
roles_path = ./roles
34
forks = 32

0 commit comments

Comments
 (0)