Serverless function description missing on Knative 0.7

Summary

After creating a new serverless function on a Knative 0.7 cluster, the description provided in serverless.yml does not show up on the functions index or show pages

Steps to reproduce

Deploy a serverless function on a Knative 0.7 cluster

Example Project

ali-gitlab/serverless-ruby>

What is the current bug behavior?

No description appears on the following pages:

https://gitlab.com/ali-gitlab/serverless-ruby/serverless/functions

https://gitlab.com/ali-gitlab/serverless-ruby/serverless/functions/*/serverless-ruby-hello

What is the expected correct behavior?

Description should appear under the function name

Relevant logs and/or screenshots

Screen_Shot_2019-10-17_at_4.13.04_PM

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:env:info)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

https://gitlab.com/gitlab-org/gitlab/blob/master/app/serializers/projects/serverless/service_entity.rb#L50

Edited Oct 24, 2019 by Alishan Ladhani
Assignee Loading
Time tracking Loading