Skip to content

feat: ci/cd - #3

Merged
dmironenko merged 5 commits into
masterfrom
feat-ci-cd
Oct 6, 2025
Merged

feat: ci/cd#3
dmironenko merged 5 commits into
masterfrom
feat-ci-cd

Conversation

@dmironenko

Copy link
Copy Markdown
Collaborator

No description provided.

@dmironenko dmironenko self-assigned this Oct 6, 2025
@dmironenko
dmironenko force-pushed the feat-ci-cd branch 2 times, most recently from 564a552 to eb1a805 Compare October 6, 2025 22:34
@MatiXxD
MatiXxD requested a review from Copilot October 6, 2025 23:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

Adds CI/CD support and refactors configuration handling to use explicit config file paths. Key changes include shifting from directory-based config discovery to direct file path usage with a new CLI flag, restructuring containerization (new Dockerfile location and compose file), and adding a CD workflow to build and push images.

  • Introduces flag-based configuration loading and changes default config path semantics.
  • Replaces old Docker setup with a new multi-stage build and compose layout; adds GitHub Actions CD workflow.
  • Adjusts runtime config file name and port configuration.

Reviewed Changes

Copilot reviewed 12 out of 13 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
internal/app/options.go Adds flag parsing and changes default config file path.
internal/app/config.go Switches to SetConfigFile, altering expected semantics of the path.
internal/app/app.go Integrates flag-loading into app initialization.
configs/vixarapi.yaml Changes port value format.
build/image/Dockerfile New build image; alters build strategy and runtime environment.
build/compose.yaml New compose file referencing new image build context and config path.
build/deps.go Adds tool dependency tracking via build tag.
Makefile Points DOCKER_COMPOSE_PATH to new compose file.
.github/workflows/cd.yaml Adds CD pipeline for image build and push.
.env.dev Updates CONFIG_PATH to a specific file path.
docker/Dockerfile Removes old Docker build setup.
docker-compose.yaml Removes old compose setup.

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread internal/app/options.go
Comment thread internal/app/options.go Outdated
Comment thread configs/vixarapi.yaml Outdated
Comment thread build/image/Dockerfile Outdated
Comment thread build/image/Dockerfile
Comment thread build/image/Dockerfile
Comment thread build/image/Dockerfile
Comment thread .github/workflows/cd.yaml
Comment thread .github/workflows/cd.yaml
dmironenko and others added 4 commits October 7, 2025 02:24
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@dmironenko
dmironenko merged commit 85b28b0 into master Oct 6, 2025
@dmironenko
dmironenko deleted the feat-ci-cd branch October 6, 2025 23:34
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