-
Notifications
You must be signed in to change notification settings - Fork 246
ci: Migrate github services to docker compose #2203
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
Open
thompson-tomo
wants to merge
30
commits into
open-telemetry:main
Choose a base branch
from
thompson-tomo:simple_docker_services
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 26 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
d6012c8
switch first lot of services
thompson-tomo dd84344
set wd
thompson-tomo 36d45e7
update include
thompson-tomo b35b0da
move a couple more services
thompson-tomo 480eef6
lint
thompson-tomo 8a0d45d
switch redis
thompson-tomo 610a8ff
lint
thompson-tomo 892eb56
redis fixes
thompson-tomo 04b2ff4
more fixes
thompson-tomo b3dee9f
port revert
thompson-tomo 1d3e155
revert
thompson-tomo 7c3be4c
switch port
thompson-tomo 1a0ec1c
standardise ports
thompson-tomo a81cdbe
cleanup pg test
thompson-tomo 8923a05
migrate mysql
thompson-tomo 8608733
add missing files
thompson-tomo 014ae0d
migrate kafka
thompson-tomo f538602
update zk health check
thompson-tomo b0847d1
cleanup
thompson-tomo fa6e3af
completion
thompson-tomo c38cee9
more lint
thompson-tomo d0dd4df
more lint
thompson-tomo a164015
More cleanup
thompson-tomo 723ece6
Rename Docker service step in CI workflow
thompson-tomo 0b73d18
Simplify job name
thompson-tomo f69f54d
Add healthcheck to RabbitMQ service
thompson-tomo c12f3b3
Use HealthChecks
thompson-tomo cee56ca
Merge branch 'main' into simple_docker_services
thompson-tomo 510821c
Merge branch 'main' into simple_docker_services
thompson-tomo fbdf76e
Merge branch 'main' into simple_docker_services
thompson-tomo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,16 @@ | ||
| services: | ||
| mysql: | ||
| image: mysql:8.0.31@sha256:3d7ae561cf6095f6aca8eb7830e1d14734227b1fb4748092f2be2cfbccf7d614 | ||
| command: mysqld --default-authentication-plugin=mysql_native_password | ||
| environment: | ||
| - MYSQL_DATABASE=mysql | ||
| - MYSQL_ROOT_PASSWORD=root | ||
| - MYSQL_PASSWORD=mysql | ||
| - MYSQL_USER=mysql | ||
| expose: | ||
| - "3306" | ||
| ports: | ||
| - "3306:3306" | ||
| command: ["mysqld", "--default-authentication-plugin=mysql_native_password"] | ||
| healthcheck: | ||
| test: ["CMD-SHELL", "mysqladmin ping -uroot -proot"] | ||
| interval: 5s | ||
| timeout: 2s | ||
| retries: 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,18 @@ | ||
| services: | ||
| redis: | ||
| image: redis:8.6.2@sha256:009cc37796fbdbe1b631b4cc0582bed167e5e403ed8bcd06f77eb6cb5aeb6f93 | ||
| environment: | ||
| REDIS_PASSWORD: passw0rd | ||
| ports: | ||
| - "6379:6379" | ||
| command: ["redis-server", "--requirepass", "passw0rd"] | ||
| healthcheck: | ||
| test: ["CMD-SHELL", 'redis-cli -a "passw0rd" ping'] | ||
|
thompson-tomo marked this conversation as resolved.
|
||
| interval: 10s | ||
| timeout: 5s | ||
| retries: 5 | ||
| volumes: | ||
| - redis_data:/data | ||
| ports: | ||
| - "16379:6379" | ||
|
|
||
| volumes: | ||
| redis_data: | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried to do this but there is a socket test which requires this otherwise it would fail.