This repository was archived by the owner on Oct 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Initial makefile and minishift setup #2
Merged
+1,026
−0
Merged
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
347a447
Initial makefile and minishift setup
alexeykazakov 8469bca
Cleanup gopkg
alexeykazakov c31c486
Remove custom resouce creation
alexeykazakov 26b2bf8
Rename apiserver to gitserver
alexeykazakov f75c256
Remove gocov html generation
alexeykazakov 7e27a92
readme
alexeykazakov 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
Rename apiserver to gitserver
commit 26b2bf8d54e7712a2986c39b09a55126a21cffa6
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -25,15 +25,15 @@ build-image: | |
docker build -t $(DOCKER_REPO)/$(IMAGE_NAME):$(TAG) -f Dockerfile.dev . | ||
docker tag $(DOCKER_REPO)/$(IMAGE_NAME):$(TAG) $(DOCKER_REPO)/$(IMAGE_NAME):test | ||
|
||
.PHONY: deploy-apiserver-only | ||
deploy-apiserver-only: | ||
@echo "Creating API Server..." | ||
.PHONY: deploy-gitserver-only | ||
deploy-gitserver-only: | ||
@echo "Creating Git Server..." | ||
|
||
.PHONY: clean-all | ||
clean-all: clean-apiserver clean-resources | ||
clean-all: clean-gitserver clean-resources | ||
|
||
.PHONY: clean-apiserver | ||
clean-apiserver: | ||
.PHONY: clean-gitserver | ||
clean-gitserver: | ||
@echo "Deleting API Server..." | ||
|
||
.PHONY: clean-resources | ||
|
@@ -44,13 +44,13 @@ clean-resources: | |
@echo "Deleting CRDs..." | ||
@oc delete -f https://raw.githubusercontent.com/redhat-developer/devopsconsole-operator/master/deploy/crds/devopsconsole_v1alpha1_gitsource_crd.yaml || true | ||
|
||
.PHONY: deploy-apiserver | ||
deploy-apiserver: build build-image deploy-apiserver-only | ||
.PHONY: deploy-gitserver | ||
deploy-gitserver: build build-image deploy-gitserver-only | ||
|
||
.PHONY: minishift-start | ||
minishift-start: | ||
minishift start --cpus 4 --memory 8GB | ||
-eval `minishift docker-env` && oc login -u system:admin | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you could also add |
||
|
||
.PHONY: deploy-all | ||
deploy-all: clean-resources create-resources deps prebuild-check deploy-apiserver | ||
deploy-all: clean-resources create-resources deps prebuild-check deploy-gitserver |
This file contains 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
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.
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.
same here
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.
This is a placeholder I would like to keep. We will need to deploy and cleanup the server anyway. But I've renamed it to gitserver instead of apiserver in redhat-developer/git-service@26b2bf8
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.
ok, fine