Skip to content

Commit

Permalink
feat: run lint as first step of publish
Browse files Browse the repository at this point in the history
  • Loading branch information
MDavidson17 committed Nov 8, 2023
1 parent 9df1935 commit fa64688
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions workflows/imagery/publish-copy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ spec:
value: '100Gi'
- name: transform
value: 'f'
- name: 'skip-lint'
value: 'false'
templateDefaults:
container:
imagePullPolicy: Always
Expand All @@ -49,6 +51,17 @@ spec:
- name: group-size
dag:
tasks:
- name: lint-inputs
templateRef:
name: tpl-at-lint-inputs
template: main
arguments:
parameters:
- name: version
value: '{{workflow.parameters.version-argo-tasks}}'
- name: path
value: '{{workflow.parameters.target}}'
when: '{{workflow.parameters.skip-lint}} != true'
- name: create-manifest-github
templateRef:
name: tpl-create-manifest
Expand Down
13 changes: 13 additions & 0 deletions workflows/imagery/publish-odr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ spec:
value: '100Gi'
- name: transform
value: 'f'
- name: skip-lint
value: 'false'
templateDefaults:
container:
imagePullPolicy: Always
Expand All @@ -49,6 +51,17 @@ spec:
- name: group-size
dag:
tasks:
- name: lint-inputs
templateRef:
name: tpl-at-lint-inputs
template: main
arguments:
parameters:
- name: version
value: '{{workflow.parameters.version-argo-tasks}}'
- name: path
value: '{{workflow.parameters.target}}'
when: '{{workflow.parameters.skip-lint}} != true'
- name: create-manifest-github
templateRef:
name: tpl-create-manifest
Expand Down

0 comments on commit fa64688

Please sign in to comment.