Skip to content

Created working helm config#3

Open
kiat-huang wants to merge 2 commits into
online-bridge-hackathon:masterfrom
kiat-huang:master
Open

Created working helm config#3
kiat-huang wants to merge 2 commits into
online-bridge-hackathon:masterfrom
kiat-huang:master

Conversation

@kiat-huang

Copy link
Copy Markdown
Contributor

so DNS/SSL works via Makefile as the other services: DDS, Converter. Makefile points to Prod

@suokko suokko 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.

git pull and git merge shouldn't be used with a local working branch. It complicates history with potential to include same commit multiple times. I use git pull extremely rarely for this reason.

git rebase origin/master would move old changes on top of the latest changes. I think we need to have a voice call helping with git rebase.

Your merge broke compilation by moving server code to a subdirectory. It also deleted the ww-deal submodule which is required for build to work.

Comment thread Makefile Outdated
Comment thread Makefile Outdated
Comment thread Makefile Outdated
Comment thread Makefile Outdated
Comment thread requirements.txt Outdated
@tameware

tameware commented Jul 9, 2020

Copy link
Copy Markdown

May I leave this to @suokko? I think he's substantially better qualified to review this pull than I am.

@kiat-huang

Copy link
Copy Markdown
Contributor Author

May I leave this to @suokko? I think he's substantially better qualified to review this pull than I am.

Totally fine, he's helping me resolve this over discord and also suggesting improvements

@kiat-huang

Copy link
Copy Markdown
Contributor Author

I think that's all changes made and the "uninstall check" implemented.

@suokko suokko 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.

A couple small simplification ideas. Removing three lines would make it good to me.

After this is merged I will rebasemy build improvements on top these changes.

Comment thread Makefile Outdated
--namespace ${K8S_NS} \
--history-max=10

.PHONY: uninstall

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The uninstall target is implicitly phony because it doesn't create anything with the path. Phony targets tell make to run the target everyone even if output is newer than dependencies.

Comment thread Makefile Outdated
.PHONY: uninstall
uninstall: set_gcp_context
helm del deal-api --namespace ${DDS_K8S_NS}
ifndef ASK_DELETE

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I don't think this version benefits from the ask delete variable. The example had idea to allow make uninstall ASK_DELETE=1 to skip the prompt. But it won't work with this variant.

@suokko

suokko commented Jul 10, 2020

Copy link
Copy Markdown

There is a commit message formatting issue. The second commit has longer than allowed short description. You can see the formatting issue at 571867a

To avoid the formatting issue first line in commit message should be a short to the point. Then following paragraphs can be as long as developer wishes to ramble about changes. I have seen commit messages with about 20 lines for a code line change.

It is good idea to use set textwidth=72. I get that configuration from vim-polyglot plugin. The plugin provide many other improvements over vim defaults.

@kiat-huang

Copy link
Copy Markdown
Contributor Author

There is a commit message formatting issue. The second commit has longer than allowed short description. You can see the formatting issue at 571867a

To avoid the formatting issue first line in commit message should be a short to the point. Then following paragraphs can be as long as developer wishes to ramble about changes. I have seen commit messages with about 20 lines for a code line change.

It is good idea to use set textwidth=72. I get that configuration from vim-polyglot plugin. The plugin provide many other improvements over vim defaults.

Ack, trying it.

@suokko

suokko commented Jul 19, 2020

Copy link
Copy Markdown

@kiat-huang , I modified your uninstall changes a bit.

What do you think about the changes?

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