Compare commits

..

10 Commits

3 changed files with 96 additions and 5 deletions

View File

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

View File

@ -19,6 +19,23 @@ jenkins:
sshHostKeyVerificationStrategy: sshHostKeyVerificationStrategy:
manuallyTrustedKeyVerificationStrategy: manuallyTrustedKeyVerificationStrategy:
requireInitialManualTrust: false 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: authorizationStrategy:
projectMatrix: projectMatrix:
entries: entries:
@ -26,11 +43,17 @@ jenkins:
name: "authenticated" name: "authenticated"
permissions: permissions:
- "Job/Read" - "Job/Read"
- "Job/Build"
- "Job/Cancel"
- "Overall/Read" - "Overall/Read"
- user: - user:
name: "admin" name: "admin"
permissions: permissions:
- "Overall/Administer" - "Overall/Administer"
- user:
name: "lassik_admin"
permissions:
- "Overall/Administer"
- user: - user:
name: "anonymous" name: "anonymous"
permissions: permissions:
@ -83,11 +106,11 @@ jobs:
} }
} }
- script: > - script: >
folder('srfi_explorations') { folder('r7rs') {
displayName: 'srfi-explorations' displayName: 'r7rs'
} }
- script: > - script: >
multibranchPipelineJob('srfi_explorations/r7rs-srfi') { multibranchPipelineJob('r7rs/r7rs-srfi') {
displayName: 'R7RS-SRFI' displayName: 'R7RS-SRFI'
branchSources { branchSources {
git { 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: > - script: >
folder('r7rs_pffi') { folder('r7rs_pffi') {
displayName: '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 #!/bin/bash
git pull 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}"