Skip to content

Commit

Permalink
added clone test to jenkins agents
Browse files Browse the repository at this point in the history
  • Loading branch information
garethahealy committed Dec 18, 2023
1 parent 833b7a0 commit 2e62db2
Show file tree
Hide file tree
Showing 18 changed files with 108 additions and 31 deletions.
6 changes: 6 additions & 0 deletions jenkins-agents/jenkins-agent-ansible/Jenkinsfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ pipeline {
}

stages {
stage ('Run Clone Test') {
steps {
sh "git clone https://github.com/redhat-cop/containers-quickstarts.git"
}
}

stage ('Run Test') {
steps {
sh """
Expand Down
6 changes: 6 additions & 0 deletions jenkins-agents/jenkins-agent-arachni/Jenkinsfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ pipeline {
}

stages {
stage ('Run Clone Test') {
steps {
sh "git clone https://github.com/redhat-cop/containers-quickstarts.git"
}
}

stage ('Run Test') {
steps {
sh """
Expand Down
8 changes: 6 additions & 2 deletions jenkins-agents/jenkins-agent-argocd/Jenkinsfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ pipeline {
}

stages {
stage ('Run Clone Test') {
steps {
sh "git clone https://github.com/redhat-cop/containers-quickstarts.git"
}
}

stage ('Run Test') {
steps {
sh """
argocd help
"""
}
}

}

}
9 changes: 6 additions & 3 deletions jenkins-agents/jenkins-agent-conftest/Jenkinsfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,20 @@ pipeline {
}

stages {
stage ('Run Clone Test') {
steps {
sh "git clone https://github.com/redhat-cop/containers-quickstarts.git"
}
}

stage ('Run Test') {
steps {
sh """
conftest --version
bats --version
yq --version
echo "🦇"
"""
}
}

}

}
8 changes: 6 additions & 2 deletions jenkins-agents/jenkins-agent-cosign/Jenkinsfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ pipeline {
}

stages {
stage ('Run Clone Test') {
steps {
sh "git clone https://github.com/redhat-cop/containers-quickstarts.git"
}
}

stage ('Run Test') {
steps {
sh """
cosign version
"""
}
}

}

}
8 changes: 6 additions & 2 deletions jenkins-agents/jenkins-agent-erlang/Jenkinsfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ pipeline {
}

stages {
stage ('Run Clone Test') {
steps {
sh "git clone https://github.com/redhat-cop/containers-quickstarts.git"
}
}

stage ('Run Test') {
steps {
sh """
Expand All @@ -12,7 +18,5 @@ pipeline {
"""
}
}

}

}
8 changes: 6 additions & 2 deletions jenkins-agents/jenkins-agent-golang/Jenkinsfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ pipeline {
}

stages {
stage ('Run Clone Test') {
steps {
sh "git clone https://github.com/redhat-cop/containers-quickstarts.git"
}
}

stage ('Run Test') {
steps {
sh """
Expand All @@ -12,7 +18,5 @@ pipeline {
"""
}
}

}

}
8 changes: 6 additions & 2 deletions jenkins-agents/jenkins-agent-graalvm/Jenkinsfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ pipeline {
}

stages {
stage ('Run Clone Test') {
steps {
sh "git clone https://github.com/redhat-cop/containers-quickstarts.git"
}
}

stage ('Run Test') {
steps {
sh """
Expand All @@ -17,7 +23,5 @@ pipeline {
"""
}
}

}

}
8 changes: 6 additions & 2 deletions jenkins-agents/jenkins-agent-gradle/Jenkinsfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ pipeline {
}

stages {
stage ('Run Clone Test') {
steps {
sh "git clone https://github.com/redhat-cop/containers-quickstarts.git"
}
}

stage ('Run Test') {
steps {
sh """
Expand All @@ -12,7 +18,5 @@ pipeline {
"""
}
}

}

}
8 changes: 6 additions & 2 deletions jenkins-agents/jenkins-agent-helm/Jenkinsfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ pipeline {
}

stages {
stage ('Run Clone Test') {
steps {
sh "git clone https://github.com/redhat-cop/containers-quickstarts.git"
}
}

stage ('Run Test') {
steps {
sh """
Expand All @@ -21,7 +27,5 @@ pipeline {
"""
}
}

}

}
8 changes: 6 additions & 2 deletions jenkins-agents/jenkins-agent-hugo/Jenkinsfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ pipeline {
}

stages {
stage ('Run Clone Test') {
steps {
sh "git clone https://github.com/redhat-cop/containers-quickstarts.git"
}
}

stage ('Run Test') {
steps {
sh """
hugo version
"""
}
}

}

}
6 changes: 6 additions & 0 deletions jenkins-agents/jenkins-agent-image-mgmt/Jenkinsfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ pipeline {
}

stages {
stage ('Run Clone Test') {
steps {
sh "git clone https://github.com/redhat-cop/containers-quickstarts.git"
}
}

stage ('Run Test') {
steps {
sh """
Expand Down
8 changes: 6 additions & 2 deletions jenkins-agents/jenkins-agent-mongodb/Jenkinsfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ pipeline {
}

stages {
stage ('Run Clone Test') {
steps {
sh "git clone https://github.com/redhat-cop/containers-quickstarts.git"
}
}

stage ('Run Test') {
steps {
sh """
mongo --version
"""
}
}

}

}
8 changes: 6 additions & 2 deletions jenkins-agents/jenkins-agent-mvn/Jenkinsfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ pipeline {
}

stages {
stage ('Run Clone Test') {
steps {
sh "git clone https://github.com/redhat-cop/containers-quickstarts.git"
}
}

stage ('Run Test') {
steps {
sh """
mvn --version
"""
}
}

}

}
8 changes: 6 additions & 2 deletions jenkins-agents/jenkins-agent-npm/Jenkinsfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ pipeline {
}

stages {
stage ('Run Clone Test') {
steps {
sh "git clone https://github.com/redhat-cop/containers-quickstarts.git"
}
}

stage ('Run Test') {
steps {
sh """
Expand All @@ -12,7 +18,5 @@ pipeline {
"""
}
}

}

}
8 changes: 6 additions & 2 deletions jenkins-agents/jenkins-agent-python/Jenkinsfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ pipeline {
}

stages {
stage ('Run Clone Test') {
steps {
sh "git clone https://github.com/redhat-cop/containers-quickstarts.git"
}
}

stage ('Run Test') {
steps {
sh """
Expand All @@ -12,7 +18,5 @@ pipeline {
"""
}
}

}

}
8 changes: 6 additions & 2 deletions jenkins-agents/jenkins-agent-ruby/Jenkinsfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ pipeline {
}

stages {
stage ('Run Clone Test') {
steps {
sh "git clone https://github.com/redhat-cop/containers-quickstarts.git"
}
}

stage ('Run Test') {
steps {
sh """
Expand All @@ -12,7 +18,5 @@ pipeline {
"""
}
}

}

}
8 changes: 6 additions & 2 deletions jenkins-agents/jenkins-agent-rust/Jenkinsfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ pipeline {
}

stages {
stage ('Run Clone Test') {
steps {
sh "git clone https://github.com/redhat-cop/containers-quickstarts.git"
}
}

stage ('Run Test') {
steps {
sh """
rustc -V
"""
}
}

}

}

0 comments on commit 2e62db2

Please sign in to comment.