Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

Fix the name of the image in the github action #79

Merged
merged 1 commit into from
Jul 9, 2019

Conversation

chuckha
Copy link
Contributor

@chuckha chuckha commented Jul 9, 2019

Signed-off-by: Chuck Ha chuckh@vmware.com

What this PR does / why we need it:
This PR attempts to fix the broken name on the docker push.

Special notes for your reviewer:

Release note:

NONE

Signed-off-by: Chuck Ha <chuckh@vmware.com>
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chuckha

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 9, 2019
@k8s-ci-robot k8s-ci-robot requested review from detiber and justinsb July 9, 2019 20:01
@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jul 9, 2019
@@ -11,7 +11,7 @@ action "Docker Registry" {
action "build" {
uses = "actions/docker/cli@master"
needs = ["Docker Registry"]
args = "build -t docker.pkg.github.com/kubernetes-sigs/cluster-api-provider-docker:latest ."
args = "build -t docker.pkg.github.com/kubernetes-sigs/cluster-api-provider-docker/manager:latest ."
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
args = "build -t docker.pkg.github.com/kubernetes-sigs/cluster-api-provider-docker/manager:latest ."
args = "build -t docker.pkg.github.com/kubernetes-sigs/cluster-api-provider-docker/capd-manager:latest ."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that's already in the repository name, do you think it's unclear as is?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's clear and would leave the image name as manager

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah i see your note about consistency in slack.

I do not see the consistency between CAPA/CAPI and I think this is a chance to create patterns that are less redundant than what already exist

Copy link
Contributor

Choose a reason for hiding this comment

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

The image is called capd-manager in the publish-manager.sh
Proposing to be consistent w/ the name

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it makes sense in publish-manager to keep it as capd-manager because gcr.io repositories are structured as gcr.io/<project-name>/<image-name>:<tag>. Unfortunately the project-name is almost never going to be cluster-api-provider-docker related and thus the prefix capd- makes sense in that context.

Copy link
Contributor

Choose a reason for hiding this comment

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

I am cool w/ that!

@@ -23,5 +23,5 @@ action "master" {
action "push" {
uses = "actions/docker/cli@master"
needs = ["master"]
args = "push docker.pkg.github.com/kubernetes-sigs/cluster-api-provider-docker:latest"
args = "push docker.pkg.github.com/kubernetes-sigs/cluster-api-provider-docker/manager:latest"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
args = "push docker.pkg.github.com/kubernetes-sigs/cluster-api-provider-docker/manager:latest"
args = "push docker.pkg.github.com/kubernetes-sigs/cluster-api-provider-docker/capd-manager:latest"

@ashish-amarnath
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 9, 2019
@ashish-amarnath
Copy link
Contributor

/hold for @ncdc didn't know if he had comments

@ncdc
Copy link
Contributor

ncdc commented Jul 9, 2019

All good here (also you have to put the slash command on its own line...)

@ashish-amarnath
Copy link
Contributor

looks like the hold was too slow. :(

@chuckha
Copy link
Contributor Author

chuckha commented Jul 9, 2019

/test pull-cluster-api-provider-docker-verify

@k8s-ci-robot k8s-ci-robot merged commit c9bc76f into kubernetes-retired:master Jul 9, 2019
@chuckha chuckha deleted the fix-gha branch August 16, 2019 02:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants