9c3d9bb MBS-Koji integration tests

Authored and Committed by mikeb 7 months ago
59 files changed. 3061 lines added. 56 lines removed.
docker/test-py3.sh
file modified
+0 -0
openshift/README.md
file modified
+1 -9
openshift/backend/Dockerfile
file modified
+54 -25
openshift/backend/mbs-backend-build-template.yaml
file added
+91
openshift/frontend/Dockerfile
file modified
+49 -22
openshift/frontend/mbs-frontend-build-template.yaml
file added
+96
openshift/frontend/run-httpd
file added
+17
openshift/integration/koji/README.md
file added
+69
openshift/integration/koji/containers/jenkins-slave/Dockerfile
file added
+78
openshift/integration/koji/containers/jenkins-slave/jenkins-slave
file added
+116
openshift/integration/koji/pipelines/Makefile
file added
+55
openshift/integration/koji/pipelines/jobs/mbs-backend-greenwave-promote-to-prod.env
file added
+7
openshift/integration/koji/pipelines/jobs/mbs-backend-greenwave-promote-to-prod.tmpl
file added
+1
openshift/integration/koji/pipelines/jobs/mbs-backend-greenwave-promote-to-stage.env
file added
+7
openshift/integration/koji/pipelines/jobs/mbs-backend-greenwave-promote-to-stage.tmpl
file added
+1
openshift/integration/koji/pipelines/jobs/mbs-backend-promoting-to-prod.env
file added
+5
openshift/integration/koji/pipelines/jobs/mbs-backend-promoting-to-prod.tmpl
file added
+1
openshift/integration/koji/pipelines/jobs/mbs-backend-promoting-to-stage.env
file added
+5
openshift/integration/koji/pipelines/jobs/mbs-backend-promoting-to-stage.tmpl
file added
+1
openshift/integration/koji/pipelines/jobs/mbs-dev-integration-test.env
file added
+1
openshift/integration/koji/pipelines/jobs/mbs-dev-integration-test.tmpl
file added
+1
openshift/integration/koji/pipelines/jobs/mbs-frontend-greenwave-promote-to-prod.env
file added
+7
openshift/integration/koji/pipelines/jobs/mbs-frontend-greenwave-promote-to-prod.tmpl
file added
+1
openshift/integration/koji/pipelines/jobs/mbs-frontend-greenwave-promote-to-stage.env
file added
+7
openshift/integration/koji/pipelines/jobs/mbs-frontend-greenwave-promote-to-stage.tmpl
file added
+1
openshift/integration/koji/pipelines/jobs/mbs-frontend-promoting-to-prod.env
file added
+5
openshift/integration/koji/pipelines/jobs/mbs-frontend-promoting-to-prod.tmpl
file added
+1
openshift/integration/koji/pipelines/jobs/mbs-frontend-promoting-to-stage.env
file added
+5
openshift/integration/koji/pipelines/jobs/mbs-frontend-promoting-to-stage.tmpl
file added
+1
openshift/integration/koji/pipelines/jobs/mbs-polling-for-master.env
file added
+1
openshift/integration/koji/pipelines/jobs/mbs-polling-for-master.tmpl
file added
+1
openshift/integration/koji/pipelines/jobs/mbs-polling-for-prs.env
file added
+2
openshift/integration/koji/pipelines/jobs/mbs-polling-for-prs.tmpl
file added
+1
openshift/integration/koji/pipelines/jobs/mbs-postmerge.env
file added
+4
openshift/integration/koji/pipelines/jobs/mbs-postmerge.tmpl
file added
+1
openshift/integration/koji/pipelines/jobs/mbs-premerge.env
file added
+4
openshift/integration/koji/pipelines/jobs/mbs-premerge.tmpl
file added
+1
openshift/integration/koji/pipelines/jobs/mbs-prod-integration-test.env
file added
+4
openshift/integration/koji/pipelines/jobs/mbs-prod-integration-test.tmpl
file added
+1
openshift/integration/koji/pipelines/jobs/mbs-stage-integration-test.env
file added
+4
openshift/integration/koji/pipelines/jobs/mbs-stage-integration-test.tmpl
file added
+1
openshift/integration/koji/pipelines/jobs/mbs-trigger-on-latest-tag.env
file added
+4
openshift/integration/koji/pipelines/jobs/mbs-trigger-on-latest-tag.tmpl
file added
+1
openshift/integration/koji/pipelines/jobs/mbs-trigger-on-stage-tag.env
file added
+4
openshift/integration/koji/pipelines/jobs/mbs-trigger-on-stage-tag.tmpl
file added
+1
openshift/integration/koji/pipelines/templates/mbs-build-template.yaml
file added
+272
openshift/integration/koji/pipelines/templates/mbs-build.Jenkinsfile
file added
+526
openshift/integration/koji/pipelines/templates/mbs-greenwave-trigger.Jenkinsfile
file added
+80
openshift/integration/koji/pipelines/templates/mbs-greenwave-trigger.yaml
file added
+110
openshift/integration/koji/pipelines/templates/mbs-image-promotion-template.yaml
file added
+120
openshift/integration/koji/pipelines/templates/mbs-image-promotion.Jenkinsfile
file added
+123
openshift/integration/koji/pipelines/templates/mbs-integration-test-template.yaml
file added
+141
openshift/integration/koji/pipelines/templates/mbs-integration-test.Jenkinsfile
file added
+273
openshift/integration/koji/pipelines/templates/mbs-polling-pagure.yaml
file added
+229
openshift/integration/koji/pipelines/templates/mbs-repotracker-trigger.Jenkinsfile
file added
+91
openshift/integration/koji/pipelines/templates/mbs-repotracker-trigger.yaml
file added
+116
openshift/integration/koji/pipelines/tests/module-build-cgimport.groovy
file added
+73
openshift/integration/koji/pipelines/tests/module-build-init.groovy
file added
+157
openshift/mbs-test-template.yaml
file modified
+31 -0
    MBS-Koji integration tests
    
    This change introduces a set of Jenkins pipelines for building MBS
    images and running integration tests against Koji using those images.
    These pipelines are directly based on the WaiverDB pipeline work:
    
    https://pagure.io/waiverdb/blob/master/f/openshift
    
    The results of those tests are used to provide feedback to Pagure PRs
    and to promote images through a series of environments, which may be
    used to implement a continuous deployment process.
    
    The current test cases, written in Groovy, are:
     - module-build-init: initate a module build and check that tags
       and targets in Koji are created correctly
     - module-build-cgimport: build an empty module and ensure that
       results are imported correctly into Koji, using the CGImport
       interface
    
        
file modified
+0 -0
file modified
+1 -9
file modified
+54 -25
file modified
+49 -22