<commit_before>// Update https://jenkins-tectonic.prod.coreos.systems/job/tectonic-release
pipeline {
  agent none
  
  options {
    timeout(time:25, unit:'MINUTES')
    buildDiscarder(logRotator(numToKeepStr:'20'))
  }

  parameters {
    string(name: 'releaseTag')
  }
  
  stages { 
    stage('Release') {
      agent none
      environment {
        GO_PROJECT = '/go/src/github.com/coreos-inc/tectonic'
      }
      steps {
        script {
          podTemplate(
            label: 'webapp-pod',
            containers: [
              containerTemplate(
                name: 'webapp-agent',
                image: 'quay.io/coreos/tectonic-builder:v1.4',
                ttyEnabled: true,
                command: 'cat',
              )
            ],
            volumes: []
          ) {
            node('webapp-pod') {
              withCredentials([[
                $class: 'UsernamePasswordMultiBinding',
                credentialsId: 'tectonic-release-s3-upload',
                usernameVariable: 'AWS_ACCESS_KEY_ID',
                passwordVariable: 'AWS_SECRET_ACCESS_KEY'
              ]]) {
                withCredentials([[
                  $class: 'UsernamePasswordBinding',
                  credentialsId: 'github-coreosbot',
                  variable: 'GITHUB_CREDENTIALS'
                ]]) {
                  container('webapp-agent') {
                    checkout([$class: 'GitSCM', branches: [[name: "refs/tags/${params.releaseTag}"]], userRemoteConfigs: [[credentialsId: 'github-coreosbot', url: 'https://github.com/coreos-inc/tectonic.git']]])
                    sh "mkdir -p \$(dirname $GO_PROJECT) && ln -sf $WORKSPACE $GO_PROJECT"
                    sh "go get github.com/golang/lint/golint"
                    sh """#!/bin/bash -ex
                    export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
                    export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
                    export GITHUB_CREDENTIALS=$GITHUB_CREDENTIALS
                    go version
                    cd $GO_PROJECT/installer
                    make build
                    make test
                    make release
                    """
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
<commit_msg>release.groovy: update repository<commit_after>// Update https://jenkins-tectonic.prod.coreos.systems/job/tectonic-release
pipeline {
  agent none
  
  options {
    timeout(time:25, unit:'MINUTES')
    buildDiscarder(logRotator(numToKeepStr:'20'))
  }

  parameters {
    string(name: 'releaseTag')
  }
  
  stages { 
    stage('Release') {
      agent none
      environment {
        GO_PROJECT = '/go/src/github.com/coreos/tectonic-installer'
      }
      steps {
        script {
          podTemplate(
            label: 'webapp-pod',
            containers: [
              containerTemplate(
                name: 'webapp-agent',
                image: 'quay.io/coreos/tectonic-builder:v1.4',
                ttyEnabled: true,
                command: 'cat',
              )
            ],
            volumes: []
          ) {
            node('webapp-pod') {
              withCredentials([[
                $class: 'UsernamePasswordMultiBinding',
                credentialsId: 'tectonic-release-s3-upload',
                usernameVariable: 'AWS_ACCESS_KEY_ID',
                passwordVariable: 'AWS_SECRET_ACCESS_KEY'
              ]]) {
                withCredentials([[
                  $class: 'UsernamePasswordBinding',
                  credentialsId: 'github-coreosbot',
                  variable: 'GITHUB_CREDENTIALS'
                ]]) {
                  container('webapp-agent') {
                    checkout([$class: 'GitSCM', branches: [[name: "refs/tags/${params.releaseTag}"]], userRemoteConfigs: [[credentialsId: 'github-coreosbot', url: 'https://github.com/coreos/tectonic-installer.git']]])
                    sh "mkdir -p \$(dirname $GO_PROJECT) && ln -sf $WORKSPACE $GO_PROJECT"
                    sh "go get github.com/golang/lint/golint"
                    sh """#!/bin/bash -ex
                    export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
                    export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
                    export GITHUB_CREDENTIALS=$GITHUB_CREDENTIALS
                    go version
                    cd $GO_PROJECT/installer
                    make build
                    make test
                    make release
                    """
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
{'fraction_non_alphanumeric': 0.10762913334774152, 'fraction_numerical': 0.0030257186081694403, 'mean_word_length': 1.3600203977562468, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6223174', 'n_tokens_mistral': 1355, 'n_tokens_neox': 1285, 'n_words': 194}