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

James kmom06 #30

Open
wants to merge 252 commits into
base: master
Choose a base branch
from
Open

James kmom06 #30

wants to merge 252 commits into from

Conversation

JamesTTTT
Copy link

No description provided.

FalkenDev and others added 30 commits November 6, 2023 12:04
Keeping Git Commit Messages Consistent with a Custom Template
Added dockerfile to build the microblog easy in a container
The script activates the virtual environment, upgrades the database and starts the server with gunicorn.
Added style guide to use autopep8 in vscode
A curated, chronologically ordered list of notable changes for each version of the project.
ci: Added Github Action for python to unit tests, integration tests and validate the code.

A action that runs when push and pr is done that runs the unit tests, integration tests and validate the python code.
Initial start of the project
Created Python CI for tests (Actions)
Fixed the strings on branches name. Added to run unit tests and
integration tests seperate. Fixed the pip install to use folder requirements when install test.txt.
Fixed so it use text.txt when pip install instead of requirements.txt.
Added template for pull requests
docs: Updated Changelog with the latest features and fixes
The docker runs the publish when a release tag is created. Using the tag
for the version.
cd: Docker imahge publish CD implementation
Add Docker setup for Microblog with production and testing configurations

This commit introduces several Docker-related configurations:

- A Dockerfile for production (`docker/Dockerfile_prod`) has been created and placed in the `docker` directory. This Dockerfile is configured to start a Microblog container linked to a MySQL container.

- The `docker-compose.yml` file has been added to the root of the repository. It includes a service definition that starts the production container (`prod`) alongside a MySQL container. The service can be initiated with `docker-compose up prod`.

- A Dockerfile for testing (`docker/Dockerfile_test`) has been created in the `docker` directory. This Dockerfile is set up to run `make test` on startup and then shut down. It uses volumes for the `app` and `tests` directories and installs dependencies from `requirements/test.txt`.

- A new script `run_tests.sh`, which triggers `make test` to run all tests.

- The `docker-compose.yml` file has been updated with a new service definition for the test container (`test`). This service can be started with `docker-compose up test`.
Changed to use the github.event.release.tag_name for docker image
version instead of github.ref_name
cd: Changed to use release tag name
It now publish both a test docker image and prod docker image to
dockerhub.
build: Essential docker setup & configuration
cd: Added docker image publish for test and prod
Changelog updated to reflect new features and bug fixes and new release
0.1.0.
docs: Changelog updated with new release 0.1.0
Routes for following and unfollowing
FalkenDev and others added 30 commits November 30, 2023 11:17
build: Add node exporter to database vm
Needed to be updated for certbot install to work
fix: Added task to update requests_toolbelt & urllib3
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.

3 participants