Merge branch 'jenkins-build-108' into 'master'
Auto-merge for build 108 See merge request puppet/puppet_cd!103
This commit is contained in:
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@@ -7,6 +7,7 @@
|
||||
"devel",
|
||||
"fastapi",
|
||||
"getenv",
|
||||
"Gitea",
|
||||
"hashlib",
|
||||
"hmac",
|
||||
"httpx",
|
||||
@@ -15,6 +16,7 @@
|
||||
"levelname",
|
||||
"logappender",
|
||||
"NOFILE",
|
||||
"operatingsystemrelease",
|
||||
"Puppetfile",
|
||||
"pydantic",
|
||||
"pylint",
|
||||
|
||||
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@@ -101,5 +101,20 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Mirror to Gitea') {
|
||||
steps {
|
||||
sshagent(['edd05eb6-26b5-4c7b-a5cc-ea2ab899f4fa']) {
|
||||
script {
|
||||
// Checkout from GitLab (already done implicitly)
|
||||
sh """
|
||||
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
|
||||
"""
|
||||
}
|
||||
}
|
||||
}
|
||||
when { branch 'main' } // Only on main branch to avoid noise
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
34
metadata.json
Normal file
34
metadata.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "puppet_cd",
|
||||
"version": "1.0.1",
|
||||
"author": "arne@confdroid.com",
|
||||
"summary": "Puppet module for managing puppet itself",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"source": "",
|
||||
"dependencies": [
|
||||
|
||||
],
|
||||
"operatingsystem_support": [
|
||||
{
|
||||
"operatingsystem": "RedHat",
|
||||
"operatingsystemrelease": [
|
||||
"9"
|
||||
]
|
||||
},
|
||||
{
|
||||
"operatingsystem": "Rocky",
|
||||
"operatingsystemrelease": [
|
||||
"9"
|
||||
]
|
||||
}
|
||||
],
|
||||
"requirements": [
|
||||
{
|
||||
"name": "puppet",
|
||||
"version_requirement": ">= 7.24 < 9.0.0"
|
||||
}
|
||||
],
|
||||
"pdk-version": "3.4.0",
|
||||
"template-url": "pdk-default#3.4.0",
|
||||
"template-ref": "tags/3.4.0-0-gd3cc13f"
|
||||
}
|
||||
Reference in New Issue
Block a user