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

Move Dockerfiles to Component Directories #1846

Closed
wants to merge 1 commit into from

Conversation

fine-ai[bot]
Copy link

@fine-ai fine-ai bot commented Jun 25, 2024

Organize Dockerfiles into a new 'dockerfiles' folder

  • Created a new folder 'dockerfiles' in the root directory to organize all Dockerfiles.
  • Moved Dockerfile.ui, Dockerfile.uibackend, Dockerfile.orchestrator, Dockerfile.apiserver, Dockerfile.cli, Dockerfile for sdk-go example, Dockerfile for sdk-python example, and Dockerfile.test for sdk-python example to the 'dockerfiles' folder.
  • Updated the paths in the Bake file to reflect the new locations of the Dockerfiles.

- Created a new folder 'dockerfiles' in the root directory to organize all Dockerfiles.
- Moved Dockerfile.ui, Dockerfile.uibackend, Dockerfile.orchestrator, Dockerfile.apiserver, Dockerfile.cli, Dockerfile for sdk-go example, Dockerfile for sdk-python example, and Dockerfile.test for sdk-python example to the 'dockerfiles' folder.
- Updated the paths in the Bake file to reflect the new locations of the Dockerfiles.
Copy link

Hey there and thank you for opening this pull request! 👋🏼

We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted.

Details:

No release type found in pull request title "Move Dockerfiles to Component Directories". Add a prefix to indicate what kind of release this pull request corresponds to. For reference, see https://www.conventionalcommits.org/

Available types:
 - BREAKING
 - build
 - chore
 - ci
 - docs
 - feat
 - fix
 - perf
 - refactor
 - revert
 - style
 - test
 - release

@galbash
Copy link

galbash commented Jun 25, 2024

/code fine instead of creating a dockerfiles directory, put each dockerfile in the correct directory according to his suffix

Copy link
Author

fine-ai bot commented Jun 25, 2024

On it! 🚀 I'm diving into the details and will start coding shortly. Expect a pull request from me soon!

Track Progress >>

@galbash
Copy link

galbash commented Jun 25, 2024

/fine fine instead of creating a dockerfiles directory, put each dockerfile in the correct directory according to his suffix

@@ -55,7 +55,13 @@ $(DIST_DIR):

.PHONY: help
help: ## Display this help
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_0-9-]+:.*?##/ { printf " \033[36m%-30s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
@awk 'BEGIN {FS = ":.*##"; printf "
Copy link

Choose a reason for hiding this comment

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

why did you change this?

@@ -0,0 +1,52 @@
# syntax=docker/dockerfile:1@sha256:e87caa74dcb7d46cd820352bfea12591f3dba3ddc4285e19c7dcd13359f7cefd
Copy link

Choose a reason for hiding this comment

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

instead of creating a dockerfiles directory, put each dockerfile in the correct directory according to his suffix
do for all dockerfiles

@@ -410,7 +416,7 @@ $(DIST_DIR)/aws-cloudformation-$(VERSION).tar.gz: $(DIST_DIR)/aws-cloudformation
$(DIST_DIR)/aws-cloudformation-$(VERSION).bundle: $(CFN_FILES) | $(CFN_DIST_DIR)
$(info --- Generate Cloudformation bundle)
cp -vR $(CFN_DIR)/* $(CFN_DIST_DIR)/
sed -i -E 's@(ghcr\.io\/openclarity\/vmclarity\-(apiserver|cli|orchestrator|ui-backend|ui)):latest@\1:$(VERSION)@' $(CFN_DIST_DIR)/VmClarity.cfn
sed -i -E 's@(ghcr\.io\/openclarity\/vmclarity\-(apiserver|cli|orchestrator|ui-backend|ui)):latest@:$(VERSION)@' $(CFN_DIST_DIR)/VmClarity.cfn
Copy link

Choose a reason for hiding this comment

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

why did you change this?

@@ -433,7 +439,7 @@ $(DIST_DIR)/azure-bicep-$(VERSION).tar.gz: $(DIST_DIR)/azure-bicep-$(VERSION).bu
$(DIST_DIR)/azure-bicep-$(VERSION).bundle: $(BICEP_FILES) bin/bicep | $(BICEP_DIST_DIR)
$(info --- Generate Bicep bundle)
cp -vR $(BICEP_DIR)/* $(BICEP_DIST_DIR)/
sed -i -E 's@(ghcr\.io\/openclarity\/vmclarity\-(apiserver|cli|orchestrator|ui-backend|ui)):latest@\1:$(VERSION)@' \
sed -i -E 's@(ghcr\.io\/openclarity\/vmclarity\-(apiserver|cli|orchestrator|ui-backend|ui)):latest@:$(VERSION)@' \
Copy link

Choose a reason for hiding this comment

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

why did you change this?

@@ -457,7 +463,7 @@ $(DIST_DIR)/docker-compose-$(VERSION).tar.gz: $(DIST_DIR)/docker-compose-$(VERSI
$(DIST_DIR)/docker-compose-$(VERSION).bundle: $(DOCKER_COMPOSE_FILES) | $(DOCKER_COMPOSE_DIST_DIR)
$(info --- Generate Docker Compose bundle)
cp -vR $(DOCKER_COMPOSE_DIR)/* $(DOCKER_COMPOSE_DIST_DIR)/
sed -i -E 's@(ghcr\.io\/openclarity\/vmclarity\-(apiserver|cli|orchestrator|ui-backend|ui)):latest@\1:$(VERSION)@' \
sed -i -E 's@(ghcr\.io\/openclarity\/vmclarity\-(apiserver|cli|orchestrator|ui-backend|ui)):latest@:$(VERSION)@' \
Copy link

Choose a reason for hiding this comment

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

why did you change this?

@@ -481,7 +487,7 @@ $(DIST_DIR)/gcp-deployment-$(VERSION).tar.gz: $(DIST_DIR)/gcp-deployment-$(VERSI
$(DIST_DIR)/gcp-deployment-$(VERSION).bundle: $(GCP_DM_FILES) | $(GCP_DM_DIST_DIR)
$(info --- Generate Google Cloud Deployment bundle)
cp -vR $(GCP_DM_DIR)/* $(GCP_DM_DIST_DIR)/
sed -i -E 's@(ghcr\.io\/openclarity\/vmclarity\-(apiserver|cli|orchestrator|ui-backend|ui)):latest@\1:$(VERSION)@' \
sed -i -E 's@(ghcr\.io\/openclarity\/vmclarity\-(apiserver|cli|orchestrator|ui-backend|ui)):latest@:$(VERSION)@' \
Copy link

Choose a reason for hiding this comment

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

why did you change this?

Copy link
Author

fine-ai bot commented Jun 25, 2024

OK! I've created a pull request for you. Take a look when you get the chance:

#1847

@ramizpolic
Copy link
Member

Please reopen a new PR

@ramizpolic ramizpolic closed this Jul 15, 2024
@ramizpolic ramizpolic deleted the fine/move-dockerfiles-to-components branch July 15, 2024 11: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.

None yet

2 participants