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 readable step id for test cloudbuild steps #2673

Merged
merged 1 commit into from Nov 28, 2019

Conversation

Bobgy
Copy link
Contributor

@Bobgy Bobgy commented Nov 28, 2019

This should make reading cloudbuild error message a lot easier

Build log looks like the following now, it's clear which step is building which image

Starting Step #5 - "inverse-proxy-agent"
Starting Step #1 - "scheduledworkflow"
Starting Step #3 - "viewer-crd-controller"
Starting Step #0 - "persistenceagent"
Starting Step #2 - "frontend"
Starting Step #4 - "visualization-server"
Step #5 - "inverse-proxy-agent": Already have image (with digest): gcr.io/cloud-builders/docker
Step #1 - "scheduledworkflow": Already have image (with digest): gcr.io/cloud-builders/docker
Step #0 - "persistenceagent": Already have image (with digest): gcr.io/cloud-builders/docker
Step #3 - "viewer-crd-controller": Already have image (with digest): gcr.io/cloud-builders/docker
Step #4 - "visualization-server": Already have image (with digest): gcr.io/cloud-builders/docker
Step #2 - "frontend": Already have image (with digest): gcr.io/cloud-builders/docker
Step #5 - "inverse-proxy-agent": Sending build context to Docker daemon  15.36kB

Step #5 - "inverse-proxy-agent": Step 1/14 : FROM gcr.io/inverting-proxy/agent@sha256:d0a06a247bb443f9528356a1341cadfa4c4479a034097ef9ed8cf200c6383ec0
Step #5 - "inverse-proxy-agent": sha256:d0a06a247bb443f9528356a1341cadfa4c4479a034097ef9ed8cf200c6383ec0: Pulling from inverting-proxy/agent
Step #5 - "inverse-proxy-agent": cd8eada9c7bb: Pulling fs layer
Step #5 - "inverse-proxy-agent": 1d86f9372c1c: Pulling fs layer

This change is Reviewable

@Bobgy
Copy link
Contributor Author

Bobgy commented Nov 28, 2019

/approve

@Bobgy
Copy link
Contributor Author

Bobgy commented Nov 28, 2019

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Bobgy

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 merged commit 7e327ae into kubeflow:master Nov 28, 2019
@Bobgy Bobgy deleted the test_readable_build_step_names branch November 28, 2019 05:40
@Ark-kun
Copy link
Contributor

Ark-kun commented Dec 3, 2019

Maybe we can put the IDs first, to increase readability even more.

@Bobgy
Copy link
Contributor Author

Bobgy commented Dec 3, 2019

@Ark-kun It would be great if we can do that. Do you have any ideas?

@Ark-kun
Copy link
Contributor

Ark-kun commented Dec 6, 2019

@Ark-kun It would be great if we can do that. Do you have any ideas?

Just change

  - name: "gcr.io/cloud-builders/docker"
    id: "persistenceagent"
    args:
      ["build", "-t", "$_GCR_BASE/persistenceagent", "-f", "backend/Dockerfile.persistenceagent", "."]
    waitFor: ["-"]

to

  - id: "persistenceagent"
    name: "gcr.io/cloud-builders/docker"
    args:
      ["build", "-t", "$_GCR_BASE/persistenceagent", "-f", "backend/Dockerfile.persistenceagent", "."]
    waitFor: ["-"]

@Bobgy
Copy link
Contributor Author

Bobgy commented Dec 6, 2019

@Ark-kun thanks, I didn't realize you meant readability of this yaml file. SGTM

magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this pull request Oct 22, 2023
* replace table logger with tabulate

Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>

* remove numpy<1.24.0 constraint

Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>

* loosen protobuf dependency

Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>

---------

Signed-off-by: Andrews Arokiam <andrews.arokiam@ideas2it.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants