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

Job template info is missing from the build page #3086

Closed
VonnyJap opened this issue Apr 4, 2024 · 2 comments
Closed

Job template info is missing from the build page #3086

VonnyJap opened this issue Apr 4, 2024 · 2 comments

Comments

@VonnyJap
Copy link
Member

VonnyJap commented Apr 4, 2024

What happened:

The first job is using sd/noop@latest template but the information now is missing from the build page.

See screenshot below.

Screenshot 2024-04-03 at 9 58 44 PM Screenshot 2024-04-03 at 10 58 15 PM

What you expected to happen:

The template info should be shown on the build page.

How to reproduce it:

Please check this build link for example.
Create a simple job that is using template like below and run the pipeline.

shared:
  image: node:20

jobs:
  first:
    template: sd/noop@latest
    requires: [~pr, ~commit]
@VonnyJap VonnyJap changed the title Template info is missing from the build page Job template info is missing from the build page Apr 4, 2024
@adong
Copy link
Member

adong commented Apr 4, 2024

For this issue, I can make a fix to display the job template for now.

This one needs more thought to distinguish whether is job or pipeline template.

Currently,
image

There's only a templateId: 8459, I think we need to add a templateType: job/pipeline to do that.

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

No branches or pull requests

2 participants