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

fix: Go templates syntax with docker command. #52

Merged
merged 3 commits into from
Jan 17, 2024
Merged

Conversation

hwakabh
Copy link
Owner

@hwakabh hwakabh commented Jan 17, 2024

Issue link

Closes: #44

Changes in this PR

  • Fixed syntax of Go template with docker inspect command

Changes not included in this PR

N/A

@hwakabh hwakabh self-assigned this Jan 17, 2024
@github-actions github-actions bot added the bug Something isn't working label Jan 17, 2024
@hwakabh
Copy link
Owner Author

hwakabh commented Jan 17, 2024

Evidences:

24-01-17 19:07:35 git/random-travelers [fix/44/makefile] % make all
>>> Checking docker engine exists ...
Server: 24.0.7
Client: 24.0.7

>>> Starting MySQL container ...
6ad55f4c58ca3f892f99422142cc0680f15c8b9d304f60680736a9973e603d67
Database is now healthy state

>>> Checking poetry installed ...
Poetry (version 1.2.2)

>>> Installing all packages required for application ...
Installing dependencies from lock file

No dependencies to install or update

Installing the current project: random-travelers (0.1.1)
24-01-17 19:07:51 git/random-travelers [fix/44/makefile] % INFO:     Will watch for changes in these directories: ['/Users/hwakabayashi/git/random-travelers']
INFO:     Uvicorn running on http://127.0.0.1:3000 (Press CTRL+C to quit)
INFO:     Started reloader process [56460] using StatReload
INFO:     Started server process [56466]
INFO:     Waiting for application startup.
INFO:     Application startup complete.

24-01-17 19:07:54 git/random-travelers [fix/44/makefile] % 

24-01-17 19:07:57 git/random-travelers [fix/44/makefile] % make clean
>>> Removing MySQL containers ...
rt-mysql
rt-mysql

>>> Stopping application process ...

>>> Cleaning up container network ...

24-01-17 19:08:03 git/random-travelers [fix/44/makefile] % INFO:     Shutting down
INFO:     Waiting for application shutdown.
INFO:     Application shutdown complete.
INFO:     Finished server process [56466]
INFO:     Stopping reloader process [56460]

24-01-17 19:08:05 git/random-travelers [fix/44/makefile] % 
24-01-17 19:08:06 git/random-travelers [fix/44/makefile] % make show
>>> Checking poetry installed ...
Poetry (version 1.2.2)

>>> Checking docker engine exists ...
Server: 24.0.7
Client: 24.0.7

>>> Packages installed in virtualenv
annotated-types        0.6.0      Reusable constraint types to use with typing.Annotated
anyio                  4.2.0      High level compatibility layer for multiple asynchronous event loop implementations
certifi                2023.11.17 Python package for providing Mozilla's CA Bundle.
charset-normalizer     3.3.2      The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet.
click                  8.1.7      Composable command line interface toolkit
fastapi                0.109.0    FastAPI framework, high performance, easy to learn, fast to code, ready for production
h11                    0.14.0     A pure-Python, bring-your-own-I/O implementation of HTTP/1.1
idna                   3.6        Internationalized Domain Names in Applications (IDNA)
mako                   1.3.0      A super-fast templating language that borrows the best ideas from the existing templating languages.
markupsafe             2.1.3      Safely add untrusted strings to HTML/XML markup.
mysql-connector-python 8.3.0      MySQL driver written in Python
numpy                  1.26.3     Fundamental package for array computing in Python
pydantic               2.5.3      Data validation using Python type hints
pydantic-core          2.14.6     
requests               2.31.0     Python HTTP for Humans.
sniffio                1.3.0      Sniff out which async library your code is running under
starlette              0.35.1     The little ASGI library that shines.
typing-extensions      4.9.0      Backported and Experimental Type Hints for Python 3.8+
urllib3                2.1.0      HTTP library with thread-safe connection pooling, file post, and more.
uvicorn                0.25.0     The lightning-fast ASGI server.

>>> Containers running on machine
CONTAINER ID   IMAGE                  COMMAND                  CREATED       STATUS      PORTS                       NAMES
6a40174eac70   kindest/node:v1.25.3   "/usr/local/bin/entr…"   12 days ago   Up 5 days   127.0.0.1:62883->6443/tcp   kind-control-plane
ba4ef748731f   kindest/node:v1.25.3   "/usr/local/bin/entr…"   12 days ago   Up 5 days                               kind-worker2
ee588479ebe4   kindest/node:v1.25.3   "/usr/local/bin/entr…"   12 days ago   Up 5 days                               kind-worker
47ce6af5a0e2   kindest/node:v1.25.3   "/usr/local/bin/entr…"   12 days ago   Up 5 days                               kind-worker3

>>> Application process

24-01-17 19:08:09 git/random-travelers [fix/44/makefile] % 

@hwakabh hwakabh merged commit e4711a7 into main Jan 17, 2024
2 checks passed
@hwakabh hwakabh deleted the fix/44/makefile branch January 17, 2024 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhance starting up local environment
1 participant