3
0

add step to push to gitea

This commit is contained in:
Arne Teuke
2025-11-26 19:23:00 +01:00
parent 6a52f7fffa
commit b0d2cd6687
2 changed files with 4 additions and 4 deletions

2
Jenkinsfile vendored
View File

@@ -112,7 +112,7 @@ pipeline {
git config user.email jenkins@confdroid.com
git checkout master
git remote add gitea https://gitea.confdroid.com/confdroid/puppet_cd.git
git -c user.email=jenkins@confdroid.com -c user.name=Jenkins push --mirror gitea
git push --mirror gitea
"""
}
}

View File

@@ -36,7 +36,7 @@ class puppet_cd::main::files (
}
if $pt_use_puppetdb != true {
file { $pt_node_rb_file:
ensure => absent,
ensure => absent,
}
}
}
@@ -99,10 +99,10 @@ class puppet_cd::main::files (
}
if $pt_use_puppetdb != true {
file { $pt_puppetdb_conf_file:
ensure => absent,
ensure => absent,
}
file { $pt_routes_file:
ensure => absent,
ensure => absent,
}
}
}