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

Make coordinator independent of docker #1523

Merged

Conversation

knight42
Copy link
Collaborator

What this PR does / why we need it:

  • BREAKING CHANGE: change the path of __result__ file to /cyclone/results/__result__
  • feature: make coordinator independent of docker

Which issue(s) this PR is related to (optional, link to 3rd issue(s)):

Fixes #

Reference to #

Special notes for your reviewer:

/cc @zhujian7

Release note:

The path of `__result__` file has been changed to `/cyclone/results/__result__`

@caicloud-bot caicloud-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. caicloud-cla: yes Indicates the PR's author has not signed the Caicloud CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 16, 2020
@@ -452,6 +461,11 @@ func (m *Builder) ResolveInputResources() error {
Name: common.ToolsVolume,
MountPath: common.ToolboxPath,
},
{
Name: common.CoordinatorSidecarVolumeName,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why does input container need this volume?

MountPath: common.DockerSockFilePath,
Name: common.CoordinatorSidecarVolumeName,
MountPath: filepath.Join(common.CoordinatorWorkspacePath, "results"),
SubPath: "__results__",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hold the __results__ as a common const var?

@zhujian7
Copy link
Collaborator

/ok-to-test

@knight42 knight42 requested a review from zhujian7 November 17, 2020 03:05
@knight42
Copy link
Collaborator Author

/cc @zhujian7

@zhujian7
Copy link
Collaborator

/lgtm

@caicloud-bot caicloud-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 18, 2020
@caicloud-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zhujian7

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@caicloud-bot caicloud-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 18, 2020
@caicloud-bot caicloud-bot merged commit 46582f4 into caicloud:master Nov 18, 2020
@knight42 knight42 deleted the refactor/docker-independent-coordinator branch November 18, 2020 04:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. caicloud-cla: yes Indicates the PR's author has not signed the Caicloud CLA. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants