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

Build mysql container image. #533

Merged
merged 11 commits into from
Jul 12, 2023
Merged

Build mysql container image. #533

merged 11 commits into from
Jul 12, 2023

Conversation

d-kuro
Copy link
Contributor

@d-kuro d-kuro commented May 31, 2023

refs: #535

Push mysqldcontainer image to ghcr.io.

This PR only pushes the image.
The pushed image needs to be changed to be used by MOCO, but this will be done in another PR.

@d-kuro d-kuro self-assigned this May 31, 2023
@d-kuro d-kuro force-pushed the d-kuro/mysqld-exporter-image branch from 483272a to 6484587 Compare May 31, 2023 05:07
@d-kuro d-kuro force-pushed the d-kuro/mysqld-exporter-image branch from 6484587 to 7194029 Compare May 31, 2023 05:18
@d-kuro d-kuro force-pushed the d-kuro/mysqld-exporter-image branch from 7194029 to fb8d2cb Compare June 7, 2023 02:38
@d-kuro d-kuro force-pushed the d-kuro/mysqld-exporter-image branch from fb8d2cb to 4984f4b Compare June 7, 2023 04:59
@d-kuro d-kuro force-pushed the d-kuro/mysqld-exporter-image branch 2 times, most recently from 6f11be8 to bba493b Compare June 20, 2023 23:05
@d-kuro d-kuro force-pushed the d-kuro/mysqld branch 3 times, most recently from aa58594 to b059e1d Compare June 21, 2023 05:25
@d-kuro d-kuro force-pushed the d-kuro/mysqld-exporter-image branch 2 times, most recently from 8be7724 to 7768a77 Compare June 24, 2023 13:55
Base automatically changed from d-kuro/mysqld-exporter-image to main June 26, 2023 08:34
@masa213f masa213f self-requested a review June 28, 2023 00:42
Signed-off-by: d-kuro <[email protected]>
Comment on lines +98 to +99
- name: Wait for MySQLCluster
run: kubectl wait -n default --for=condition=Available mysqlcluster/test --timeout=180s
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently we are only testing until MySQLCluster is ready.
When the MySQL image is pushed to ghcr.io, we will rewrite the E2E manifests and modify it to run the E2E test using the built mysqld image.

https://github.com/cybozu-go/moco/blob/main/e2e/testdata/single.yaml#L26

@d-kuro d-kuro marked this pull request as ready for review June 28, 2023 05:05
# MySQL container

This directory provides a Dockerfile to build a MySQL container for [MOCO](https://github.com/cybozu-go/moco).
This also provides `moco-init` command to initialize MySQL data for MOCO.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From this update, mysql images will not contain moco-init.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove it: 027acfe

@@ -0,0 +1,2 @@
*
!workspace
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This exclusion is not necessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, deleted.
2c2a3e4

@d-kuro d-kuro requested a review from masa213f July 12, 2023 07:08
Copy link
Contributor

@masa213f masa213f left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@masa213f masa213f merged commit 47f077f into main Jul 12, 2023
23 checks passed
@masa213f masa213f deleted the d-kuro/mysqld branch July 12, 2023 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants