Merge "Fix git repository refresh trigger issue of askbot"
This commit is contained in:
commit
ccf494ea4b
@ -117,11 +117,12 @@ class openstack_project::ask (
|
|||||||
}
|
}
|
||||||
|
|
||||||
# askbot-theme openstack theme
|
# askbot-theme openstack theme
|
||||||
vcsrepo { '/srv/askbot-site/themes':
|
git { 'askbot-theme':
|
||||||
ensure => latest,
|
ensure => present,
|
||||||
provider => git,
|
path => '/srv/askbot-site/themes',
|
||||||
revision => 'master',
|
branch => 'master',
|
||||||
source => 'https://git.openstack.org/openstack-infra/askbot-theme',
|
origin => 'https://git.openstack.org/openstack-infra/askbot-theme',
|
||||||
|
latest => true,
|
||||||
require => [
|
require => [
|
||||||
File['/srv/askbot-site'], Package['git']
|
File['/srv/askbot-site'], Package['git']
|
||||||
],
|
],
|
||||||
@ -134,7 +135,7 @@ class openstack_project::ask (
|
|||||||
}
|
}
|
||||||
|
|
||||||
askbot::theme::compass { 'os':
|
askbot::theme::compass { 'os':
|
||||||
require => Vcsrepo['/srv/askbot-site/themes'],
|
require => Git['askbot-theme'],
|
||||||
before => Exec['askbot-static-generate'],
|
before => Exec['askbot-static-generate'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,11 +113,12 @@ class openstack_project::ask_staging (
|
|||||||
}
|
}
|
||||||
|
|
||||||
# askbot-theme openstack theme
|
# askbot-theme openstack theme
|
||||||
vcsrepo { '/srv/askbot-site/themes':
|
git { 'askbot-theme':
|
||||||
ensure => latest,
|
ensure => present,
|
||||||
provider => git,
|
path => '/srv/askbot-site/themes',
|
||||||
revision => 'feature/development',
|
branch => 'feature/development',
|
||||||
source => 'https://git.openstack.org/openstack-infra/askbot-theme',
|
origin => 'https://git.openstack.org/openstack-infra/askbot-theme',
|
||||||
|
latest => true,
|
||||||
require => [
|
require => [
|
||||||
File['/srv/askbot-site'], Package['git']
|
File['/srv/askbot-site'], Package['git']
|
||||||
],
|
],
|
||||||
@ -130,7 +131,7 @@ class openstack_project::ask_staging (
|
|||||||
}
|
}
|
||||||
|
|
||||||
askbot::theme::compass { 'os':
|
askbot::theme::compass { 'os':
|
||||||
require => Vcsrepo['/srv/askbot-site/themes'],
|
require => Git['askbot-theme'],
|
||||||
before => Exec['askbot-static-generate'],
|
before => Exec['askbot-static-generate'],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user