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

Add a local deploy and test ci on MacOS #512

Merged
merged 3 commits into from
Jul 15, 2021

Conversation

acezen
Copy link
Collaborator

@acezen acezen commented Jul 11, 2021

What do these changes do?

Add a ci on MacOS

Related issue number

Fixes #479

.github/workflows/mac.yml Outdated Show resolved Hide resolved
.github/workflows/mac.yml Outdated Show resolved Hide resolved
.github/workflows/mac.yml Outdated Show resolved Hide resolved
.github/workflows/mac.yml Outdated Show resolved Hide resolved
.github/workflows/mac.yml Outdated Show resolved Hide resolved
run: |
export PATH=/usr/local/opt/gnu-sed/libexec/gnubin:${JAVA_HOME}/bin:${PATH}:/usr/local/zookeeper/bin

make gae gie
Copy link
Collaborator

Choose a reason for hiding this comment

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

We won't enable GLE in this pull request, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes

return first.map(|s| s.to_string()).unwrap_or("127.0.0.1".to_string());
} else {
// Mac can only deploy on local.
return String::from("127.0.0.1");
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why hostname -I doesn't work here?

Copy link
Collaborator Author

@acezen acezen Jul 14, 2021

Choose a reason for hiding this comment

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

hostname command no option -I in MacOS

@acezen acezen changed the title [WIP] Add ci on mac [WIP] Add a local deploy and test ci on MacOS Jul 14, 2021
@acezen acezen changed the title [WIP] Add a local deploy and test ci on MacOS Add a local deploy and test ci on MacOS Jul 14, 2021
@acezen acezen marked this pull request as ready for review July 14, 2021 15:50
@acezen acezen requested a review from shirly121 July 14, 2021 15:52
@acezen
Copy link
Collaborator Author

acezen commented Jul 15, 2021

The pull requests is ready, any comments?

@sighingnow
Copy link
Collaborator

LGTM.

@sighingnow sighingnow merged commit 1f30e04 into alibaba:main Jul 15, 2021
@acezen acezen deleted the acezen/mac-ci branch September 3, 2021 10:51
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.

Add ci on mac to test local deployment and local test case
4 participants