Skip to content

Commit

Permalink
concourse(shared-control-plane): fix paas-templates-limited scanning
Browse files Browse the repository at this point in the history
We need to detect any changes occurring in '*-depls' directories.
  • Loading branch information
o-orand committed Oct 19, 2022
1 parent f1f7ef6 commit 1984270
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion concourse/pipelines/shared/control-plane-pipeline.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ resources:
uri: ((paas-templates-uri))
branch: ((paas-templates-branch))
skip_ssl_verification: true
paths: [ '*-depls/', '.gitmodules', 'shared-config.yml', 'meta-inf.yml' ]
paths: [ '*-depls/**', '.gitmodules', 'shared-config.yml', 'meta-inf.yml' ]

<% end %>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
let(:expected_paas_templates_limited) do
{ "icon" => "home-analytics",
"name" => "paas-templates-limited",
"source" => {"branch"=>"((paas-templates-branch))", "paths"=>["*-depls/", ".gitmodules", "shared-config.yml", "meta-inf.yml"], "skip_ssl_verification"=>true, "uri"=>"((paas-templates-uri))" },
"source" => {"branch"=>"((paas-templates-branch))", "paths"=>["*-depls/**", ".gitmodules", "shared-config.yml", "meta-inf.yml"], "skip_ssl_verification"=>true, "uri"=>"((paas-templates-uri))" },
"type" => "git"
}
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ resources:
uri: ((paas-templates-uri))
branch: ((paas-templates-branch))
skip_ssl_verification: true
paths: [ '*-depls/', '.gitmodules', 'shared-config.yml', 'meta-inf.yml' ]
paths: [ '*-depls/**', '.gitmodules', 'shared-config.yml', 'meta-inf.yml' ]
jobs:
- name: update-pipeline-apps-depls
serial: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ resources:
uri: ((paas-templates-uri))
branch: ((paas-templates-branch))
skip_ssl_verification: true
paths: [ '*-depls/', '.gitmodules', 'shared-config.yml', 'meta-inf.yml' ]
paths: [ '*-depls/**', '.gitmodules', 'shared-config.yml', 'meta-inf.yml' ]
jobs:
- name: update-pipeline-apps-depls
serial: true
Expand Down

0 comments on commit 1984270

Please sign in to comment.