Skip to content
This repository was archived by the owner on Feb 5, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion tests/jenkins-jobs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,15 @@ This file creates a Jenkins job called `tectonic-installer-pr-trigger` under `tr

Parameters:

* No input parameters are required.
* No input parameters are required.

## Tectonic Installer Upstream Terraform Trigger

This file creates a Jenkins job called `upstream-terraform-trigger` under `triggers` folder to run the tests against the `Tectonic Installer` in the `master` branch using the `upstream Terraform`
This job will run everyday.

To change the default `builder_image` please update the code in the `tectonic_installer_upstream_terraform_trigger.groovy` file and submit a PR.

Parameters:

* `builder_image`: Tectonic-builder docker image with the upstream Terraform
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#!/bin/env groovy​

folder("triggers")

job("triggers/upstream-terraform-trigger") {
description('Tectonic Installer using Terraform Upstream. Changes here will be reverted automatically.')

logRotator(10, 10)
wrappers {
colorizeOutput()
timestamps()
}

triggers {
cron('@daily')
}

parameters {
stringParam('builder_image', 'quay.io/coreos/tectonic-builder:v1.36-upstream-terraform', 'tectonic-builder docker image with upstream Terraform')
}

steps {
triggerBuilder {
configs {
blockableBuildTriggerConfig {
projects("tectonic-installer/master")
block {
buildStepFailureThreshold("FAILURE")
unstableThreshold("UNSTABLE")
failureThreshold("FAILURE")
}
configs {
currentBuildParameters()
}
}
}
}
}

publishers {
wsCleanup()
slackNotifier {
authTokenCredentialId('tectonic-slack-token')
customMessage("Tectonic Installer Upstream Terraform Build")
includeCustomMessage(true)
notifyBackToNormal(true)
notifyFailure(true)
room('#tectonic-installer-ci')
teamDomain('coreos')
}
}
}
9 changes: 0 additions & 9 deletions upstream-terraform-trigger.groovy

This file was deleted.