Skip to content

Commit

Permalink
Fix workflow lint error: cannot unmarshal number into Go struct field (
Browse files Browse the repository at this point in the history
  • Loading branch information
koropets authored Nov 19, 2022
1 parent 7c84cff commit 670f4b5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: {{project_name}}-{{project_revision}}-
generateName: "{{project_name}}-{{project_revision}}-"
annotations:
gordo-models: '{{ machines|map(attribute="name")|list|tojson|safe }}'
labels:
Expand Down Expand Up @@ -713,7 +713,7 @@ spec:{% if argo_version.major == 2 %}
metadata:
labels:
app: gordo-model-builder
applications.gordo.equinor.com/project-name: {{project_name}}
applications.gordo.equinor.com/project-name: "{{project_name}}"
applications.gordo.equinor.com/project-revision: "{{project_revision}}"{% if project_workflow %}
applications.gordo.equinor.com/project-workflow: "{{project_workflow}}"{% endif %}
applications.gordo.equinor.com/model-name: "{{'{{inputs.parameters.machine-name}}'}}"{% if "metadata" in builder_runtime and "labels" in builder_runtime["metadata"] %}
Expand Down

0 comments on commit 670f4b5

Please sign in to comment.