Compare commits

..

10 Commits

3 changed files with 96 additions and 5 deletions

View File

@ -5,7 +5,7 @@ services:
dockerfile: jenkins.Dockerfile
environment:
- CASC_JENKINS_CONFIG=/jenkins.yml
- CASC_RELOAD_TOKEN=${CASC_RELOAD_TOKEN}
- CASC_RELOAD_TOKEN=$CASC_RELOAD_TOKEN
volumes:
- ./jenkins.yml:/jenkins.yml
- ./id_rsa:/secrets/id_rsa

View File

@ -19,6 +19,23 @@ jenkins:
sshHostKeyVerificationStrategy:
manuallyTrustedKeyVerificationStrategy:
requireInitialManualTrust: false
- permanent:
mode: NORMAL
name: "agent2"
labelString: "debian-x86_64"
numExecutors: 16
remoteFS: "/home/jenkins/agent"
launcher:
SSHLauncher:
host: "retropikzel.madhacker.biz"
port: 5522
credentialsId: agent_ssh
launchTimeoutSeconds: 60
maxNumRetries: 3
retryWaitTime: 30
sshHostKeyVerificationStrategy:
manuallyTrustedKeyVerificationStrategy:
requireInitialManualTrust: false
authorizationStrategy:
projectMatrix:
entries:
@ -26,11 +43,17 @@ jenkins:
name: "authenticated"
permissions:
- "Job/Read"
- "Job/Build"
- "Job/Cancel"
- "Overall/Read"
- user:
name: "admin"
permissions:
- "Overall/Administer"
- user:
name: "lassik_admin"
permissions:
- "Overall/Administer"
- user:
name: "anonymous"
permissions:
@ -83,11 +106,11 @@ jobs:
}
}
- script: >
folder('srfi_explorations') {
displayName: 'srfi-explorations'
folder('r7rs') {
displayName: 'r7rs'
}
- script: >
multibranchPipelineJob('srfi_explorations/r7rs-srfi') {
multibranchPipelineJob('r7rs/r7rs-srfi') {
displayName: 'R7RS-SRFI'
branchSources {
git {
@ -101,6 +124,21 @@ jobs:
}
}
}
- script: >
multibranchPipelineJob('r7rs/r7rs-tests') {
displayName: 'r7rs-tests'
branchSources {
git {
id('github')
remote('https://github.com/Retropikzel/r7rs-tests.git')
}
}
orphanedItemStrategy {
discardOldItems {
numToKeep(10)
}
}
}
- script: >
folder('r7rs_pffi') {
displayName: 'r7rs-pffi'
@ -120,3 +158,56 @@ jobs:
}
}
}
- script: >
folder('jenkins') {
displayName: 'jenkins'
}
- script: >
multibranchPipelineJob('jenkins/auto-maintenance') {
displayName: 'auto-maintenance'
branchSources {
git {
id('git')
remote('https://github.com/Retropikzel/jenkins-automaintenance.git')
}
}
orphanedItemStrategy {
discardOldItems {
numToKeep(10)
}
}
}
- script: >
folder('rinne') {
displayName: 'rinne'
}
- script: >
multibranchPipelineJob('rinne/snow-fort-guix-channel') {
displayName: 'snow-fort-guix-channel'
branchSources {
git {
id('git')
remote('https://gitea.scheme.org/Rinne/snow-fort-guix-channel.git')
}
}
orphanedItemStrategy {
discardOldItems {
numToKeep(10)
}
}
}
- script: >
multibranchPipelineJob('rinne/snow-fort-windows-installer') {
displayName: 'snow-fort-windows-installer'
branchSources {
git {
id('git')
remote('https://gitea.scheme.org/Rinne/snow-fort-windows-installer.git')
}
}
orphanedItemStrategy {
discardOldItems {
numToKeep(10)
}
}
}

View File

@ -1,5 +1,5 @@
#!/bin/bash
git pull
curl -X POST "https://jenkins.staging.scheme.org/reload-configuration-as-code/?casc-reload-token=${CASC_RELOAD_TOKEN}"
curl -X POST "https://jenkins.scheme.org/reload-configuration-as-code/?casc-reload-token=${CASC_RELOAD_TOKEN}"