Compare commits
	
		
			22 Commits
		
	
	
		
			main
			...
			feature/je
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					9e64f00579 | ||
| 
						 | 
					d54fc5dad1 | ||
| 
						 | 
					c203e13604 | ||
| 
						 | 
					4923ab8ef1 | ||
| 
						 | 
					597a7afa67 | ||
| 
						 | 
					7020ac587b | ||
| 
						 | 
					872bad9b86 | ||
| 
						 | 
					8693ecbfb6 | ||
| 
						 | 
					6370ff61a6 | ||
| 
						 | 
					328e789c86 | ||
| 
						 | 
					5bc8c57490 | ||
| 
						 | 
					75ab2897c4 | ||
| 
						 | 
					f4519eb430 | ||
| 
						 | 
					8ed385f6d2 | ||
| 
						 | 
					c88bf9c6b7 | ||
| 
						 | 
					26cc0690ef | ||
| 
						 | 
					84f90d026d | ||
| 
						 | 
					df99f1bc18 | ||
| 
						 | 
					76c147b57a | ||
| 
						 | 
					6aa8a59a57 | ||
| 
						 | 
					2da3a8f226 | ||
| 
						 | 
					67fff5df3c | 
							
								
								
									
										5
									
								
								.ci/gpu.Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								.ci/gpu.Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					FROM nvcr.io/nvidia/pytorch:21.10-py3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					RUN adduser --uid 1000 jenkins
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					USER jenkins
 | 
				
			||||||
							
								
								
									
										5
									
								
								.ci/python310.Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								.ci/python310.Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					FROM python:3.9
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					RUN adduser --uid 1000 jenkins
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					USER jenkins
 | 
				
			||||||
							
								
								
									
										5
									
								
								.ci/python36.Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								.ci/python36.Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					FROM python:3.6
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					RUN adduser --uid 1000 jenkins
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					USER jenkins
 | 
				
			||||||
							
								
								
									
										5
									
								
								.ci/python37.Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								.ci/python37.Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					FROM python:3.7
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					RUN adduser --uid 1000 jenkins
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					USER jenkins
 | 
				
			||||||
							
								
								
									
										5
									
								
								.ci/python38.Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								.ci/python38.Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					FROM python:3.8
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					RUN adduser --uid 1000 jenkins
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					USER jenkins
 | 
				
			||||||
							
								
								
									
										5
									
								
								.ci/python39.Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								.ci/python39.Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					FROM python:3.9
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					RUN adduser --uid 1000 jenkins
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					USER jenkins
 | 
				
			||||||
							
								
								
									
										118
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										118
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,118 @@
 | 
				
			|||||||
 | 
					pipeline {
 | 
				
			||||||
 | 
					  agent none
 | 
				
			||||||
 | 
					  stages {
 | 
				
			||||||
 | 
					    stage('Unit Tests') {
 | 
				
			||||||
 | 
					          agent {
 | 
				
			||||||
 | 
					            dockerfile {
 | 
				
			||||||
 | 
					              filename 'python310.Dockerfile'
 | 
				
			||||||
 | 
					              dir '.ci'
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					          steps {
 | 
				
			||||||
 | 
					            sh 'pip install pip --upgrade --progress-bar off'
 | 
				
			||||||
 | 
					            sh 'pip install .[all] --progress-bar off'
 | 
				
			||||||
 | 
					            sh '~/.local/bin/pytest -v --junitxml=reports/result.xml --cov=prototorch/ --cov-report=xml:reports/coverage.xml'
 | 
				
			||||||
 | 
					            cobertura coberturaReportFile: 'reports/coverage.xml'
 | 
				
			||||||
 | 
					            junit 'reports/**/*.xml'
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    stage('CPU Examples') {
 | 
				
			||||||
 | 
					      parallel {
 | 
				
			||||||
 | 
					        stage('3.10') {
 | 
				
			||||||
 | 
					          agent {
 | 
				
			||||||
 | 
					            dockerfile {
 | 
				
			||||||
 | 
					              filename 'python310.Dockerfile'
 | 
				
			||||||
 | 
					              dir '.ci'
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					          steps {
 | 
				
			||||||
 | 
					            sh 'pip install pip --upgrade --progress-bar off'
 | 
				
			||||||
 | 
					            sh 'pip install .[all] --progress-bar off'
 | 
				
			||||||
 | 
					            sh './tests/test_examples.sh examples'
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        stage('3.9') {
 | 
				
			||||||
 | 
					          agent {
 | 
				
			||||||
 | 
					            dockerfile {
 | 
				
			||||||
 | 
					              filename 'python39.Dockerfile'
 | 
				
			||||||
 | 
					              dir '.ci'
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					          steps {
 | 
				
			||||||
 | 
					            sh 'pip install pip --upgrade --progress-bar off'
 | 
				
			||||||
 | 
					            sh 'pip install .[all] --progress-bar off'
 | 
				
			||||||
 | 
					            sh './tests/test_examples.sh examples'
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        stage('3.8') {
 | 
				
			||||||
 | 
					          agent {
 | 
				
			||||||
 | 
					            dockerfile {
 | 
				
			||||||
 | 
					              filename 'python38.Dockerfile'
 | 
				
			||||||
 | 
					              dir '.ci'
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					          steps {
 | 
				
			||||||
 | 
					            sh 'pip install pip --upgrade --progress-bar off'
 | 
				
			||||||
 | 
					            sh 'pip install .[all] --progress-bar off'
 | 
				
			||||||
 | 
					            sh './tests/test_examples.sh examples'
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        stage('3.7') {
 | 
				
			||||||
 | 
					          agent {
 | 
				
			||||||
 | 
					            dockerfile {
 | 
				
			||||||
 | 
					              filename 'python37.Dockerfile'
 | 
				
			||||||
 | 
					              dir '.ci'
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					          steps {
 | 
				
			||||||
 | 
					            sh 'pip install pip --upgrade --progress-bar off'
 | 
				
			||||||
 | 
					            sh 'pip install .[all] --progress-bar off'
 | 
				
			||||||
 | 
					            sh './tests/test_examples.sh examples'
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        stage('3.6') {
 | 
				
			||||||
 | 
					          agent {
 | 
				
			||||||
 | 
					            dockerfile {
 | 
				
			||||||
 | 
					              filename 'python36.Dockerfile'
 | 
				
			||||||
 | 
					              dir '.ci'
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					          steps {
 | 
				
			||||||
 | 
					            sh 'pip install pip --upgrade --progress-bar off'
 | 
				
			||||||
 | 
					            sh 'pip install .[all] --progress-bar off'
 | 
				
			||||||
 | 
					            sh './tests/test_examples.sh examples'
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    stage('GPU Examples') {
 | 
				
			||||||
 | 
					      agent {
 | 
				
			||||||
 | 
					        dockerfile {
 | 
				
			||||||
 | 
					          filename 'gpu.Dockerfile'
 | 
				
			||||||
 | 
					          dir '.ci'
 | 
				
			||||||
 | 
					          args '--gpus 1'
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					      steps {
 | 
				
			||||||
 | 
					        sh 'pip install -U pip --progress-bar off'
 | 
				
			||||||
 | 
					        sh 'pip install .[all] --progress-bar off'
 | 
				
			||||||
 | 
					        sh './tests/test_examples.sh examples --gpu'
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user