This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- defaults: | |
name: ci-workflow-provision | |
description: | | |
Managed by Jenkins Job Builder. Do not edit via web. | |
concurrent: true | |
scm: | |
- git: | |
url: 'https://code.engineering.redhat.com/gerrit/ci-ops-central' | |
branches: | |
- origin/master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM openshift/jenkins-1-centos7 | |
MAINTAINER Ari LiVigni <[email protected]> | |
# Install 'git' binary needed for the Github plugin | |
USER root | |
RUN yum install -y git epel-release sudo && yum clean all | |
RUN yum install -y python-pip && yum clean all | |
RUN pip install jenkins-job-builder==1.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- defaults: | |
name: poll-url-defaults | |
logrotate: | |
numToKeep: 30 | |
artifactNumToKeep: 30 | |
wrappers: | |
- ansicolor | |
- workspace-cleanup | |
- timestamps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
env.REMOTE = env.BRANCH_NAME ?: 'https://github.com/CentOS/cico-pipeline-library.git' | |
env.ghprbActualCommit = env.ghprbActualCommit ?: 'master' | |
library identifier: "cico-pipeline-lib@${env.ghprbActualCommit}", | |
retriever: modernSCM([$class: 'GitSCMSource', | |
remote: "${env.REMOTE}"]) | |
import org.centos.* | |
node { | |
deleteDir() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
set -e | |
# Clone the repo | |
git clone https://github.com/jenkinsci/jenkinsfile-runner.git | |
pushd jenkinsfile-runner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jenkins: | |
systemMessage: "<h2>Welcome to the App-SRE Jenkins on OSD</h2>" | |
agentProtocols: | |
- "JNLP4-connect" | |
- "Ping" | |
authorizationStrategy: | |
globalMatrix: | |
permissions: | |
- "Overall/Administer:arilivigni" | |
securityRealm: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: app-sre-jcasc | |
namespace: app-sre-cicd | |
data: | |
1-app-sre-jcasc.yaml: | | |
jenkins: | |
systemMessage: "<h2>Welcome to the App-SRE Jenkins on OSD</h2>" | |
numExecutors: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: tekton.dev/v1beta1 | |
kind: Task | |
metadata: | |
name: extract-check-build-verify-push | |
spec: | |
workspaces: | |
- name: source | |
description: The image building will be done onto the volume backing this workspace | |
params: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Add a new GitHub Project card linked to a GitHub issue to the specified project column | |
on: | |
issues: | |
types: [ opened, labeled, unlabeled ] | |
env: | |
GITHUB_ORG: ${{ github.repository_owner }} | |
GITHUB_PROJECT_NAME: "Continuous-Devops-GitHub-App-MasterBlaster" | |
GITHUB_EVENT: ${{ toJson(github.event) }} | |
GITHUB_ISSUE: ${{ toJson(github.event.issue) }} | |
GITHUB_ISSUE_URL: ${{ github.event.issue.html_url }} |