cleanup
Signed-off-by: Jess Frazelle <jess@oxide.computer>
diff --git a/projects/distro.groovy b/projects/distro.groovy
deleted file mode 100644
index 50f774d..0000000
--- a/projects/distro.groovy
+++ /dev/null
@@ -1,63 +0,0 @@
-freeStyleJob('distro') {
- displayName('distro')
- description('Build Dockerfiles for distro.')
-
- checkoutRetryCount(3)
-
- properties {
- githubProjectUrl('https://github.com/jessfraz/distro')
- }
-
- logRotator {
- numToKeep(100)
- daysToKeep(15)
- }
-
- scm {
- git {
- remote {
- url('git@github.com:jessfraz/distro.git')
- credentials('distro-deploy-key')
- }
- branches('*/master')
- extensions {
- wipeOutWorkspace()
- cleanAfterCheckout()
- }
- }
- }
-
- triggers {
- cron('H H * * *')
- githubPush()
- }
-
- wrappers { colorizeOutput() }
-
- environmentVariables(DOCKER_CONTENT_TRUST: '0')
- steps {
- shell('docker build --rm --force-rm -t r.j3ss.co/distro:latest .')
- shell('docker push --disable-content-trust=false r.j3ss.co/distro:latest')
- shell('docker rm $(docker ps --filter status=exited -q 2>/dev/null) 2> /dev/null || true')
- shell('docker rmi $(docker images --filter dangling=true -q 2>/dev/null) 2> /dev/null || true')
- }
-
- publishers {
- retryBuild {
- retryLimit(2)
- fixedDelay(15)
- }
-
- extendedEmail {
- recipientList('$DEFAULT_RECIPIENTS')
- contentType('text/plain')
- triggers {
- stillFailing {
- attachBuildLog(true)
- }
- }
- }
-
- wsCleanup()
- }
-}