7d0bfb77e3 
								
							 
						 
						
							
							
								
								Inject Env Vars into Runner defined Container Spec ( #127 )  
							
							... 
							
							
							
							The runner token is now injected into the `runner` container defined within Runner.Spec.Containers[] 
							
						 
						
							2020-10-20 08:43:53 +09:00  
				
					
						
							
							
								 
						
							
								1e466ad3df 
								
							 
						 
						
							
							
								
								Ensure controller-gen is up-to-date and the code and the manifests are in-sync  
							
							... 
							
							
							
							Follow-up for #95  that added /finalizers subresource permission and #103  that upgraded controller-gen from 0.2.4 from 0.3.0 
							
						 
						
							2020-10-06 09:23:03 +09:00  
				
					
						
							
							
								 
						
							
								7a2fa7fbce 
								
							 
						 
						
							
							
								
								runner-controller: do not delete runner if it is busy ( #103 )  
							
							... 
							
							
							
							Currently, after refreshing the token, the controller re-creates the runner with the new token. This results in jobs being interrupted. This PR makes sure the pod is not restarted if it is busy.
Closes  #74  
							
						 
						
							2020-10-05 09:06:37 +09:00  
				
					
						
							
							
								 
						
							
								c0914743b0 
								
							 
						 
						
							
							
								
								add config to respect image pull policy  
							
							
							
						 
						
							2020-07-08 23:53:52 -07:00  
				
					
						
							
							
								 
						
							
								390f2a62d9 
								
							 
						 
						
							
							
								
								Merge pull request  #50  from summerwind/runner-validation-webhook  
							
							... 
							
							
							
							Add validation webhooks 
							
						 
						
							2020-05-08 22:39:13 +09:00  
				
					
						
							
							
								 
						
							
								f80c3c1928 
								
							 
						 
						
							
							
								
								Set volume to pod properly  
							
							
							
						 
						
							2020-05-01 08:51:25 +09:00  
				
					
						
							
							
								 
						
							
								e889eaeb04 
								
							 
						 
						
							
							
								
								Add validation webhooks  
							
							
							
						 
						
							2020-04-30 22:11:59 +09:00  
				
					
						
							
							
								 
						
							
								b96979888c 
								
							 
						 
						
							
							
								
								fix delete pod when runner failed to register  
							
							
							
						 
						
							2020-04-29 14:23:58 +09:00  
				
					
						
							
							
								 
						
							
								9f57f52e36 
								
							 
						 
						
							
							
								
								organization and repository are now exclusive  
							
							
							
						 
						
							2020-04-28 11:14:31 +02:00  
				
					
						
							
							
								 
						
							
								8c5b776807 
								
							 
						 
						
							
							
								
								support runner labels  
							
							
							
						 
						
							2020-04-28 11:14:31 +02:00  
				
					
						
							
							
								 
						
							
								eca3cc7941 
								
							 
						 
						
							
							
								
								add organization info to runner status  
							
							
							
						 
						
							2020-04-28 11:14:31 +02:00  
				
					
						
							
							
								 
						
							
								fb35dd4131 
								
							 
						 
						
							
							
								
								support for organization runners  
							
							
							
						 
						
							2020-04-28 11:14:31 +02:00  
				
					
						
							
							
								 
						
							
								3b8ea2991c 
								
							 
						 
						
							
							
								
								Share runner's working directory with docker sidecar  
							
							
							
						 
						
							2020-04-24 22:36:27 +09:00  
				
					
						
							
							
								 
						
							
								3ccc51433f 
								
							 
						 
						
							
							
								
								Use github package to access the GitHub API  
							
							
							
						 
						
							2020-04-13 22:28:07 +09:00  
				
					
						
							
							
								 
						
							
								5efdc6efe6 
								
							 
						 
						
							
							
								
								Add permission to create/patch events resource  
							
							
							
						 
						
							2020-03-27 23:25:37 +09:00  
				
					
						
							
							
								 
						
							
								d4c849ee09 
								
							 
						 
						
							
							
								
								Add variants of PodTemplate spec fields into the Runner spec ( #7 )  
							
							... 
							
							
							
							Resolves  #5 
Fixes  #11 
Fixes  #12 
Changes:
* Added podtemplate spec
* Rework pod creation logic
* Added most using podspecs
* Added copy of podspec
* Fixed Github List method
* Fixed containers
* Added ability to override runner's containers
* Added ability to override runner's containers
* Added ability to override runner's containers
* Update controllers/runner_controller.go
Co-Authored-By: Moto Ishizawa <summerwind.jp@gmail.com>
* Remove optional restartpolicy
* Changed naming convention
Co-authored-by: Moto Ishizawa <summerwind.jp@gmail.com> 
						
							2020-03-20 22:50:50 +09:00  
				
					
						
							
							
								 
						
							
								829a167303 
								
							 
						 
						
							
							
								
								Add 'env' field to runner resource  
							
							
							
						 
						
							2020-02-06 22:09:07 +09:00  
				
					
						
							
							
								 
						
							
								a436216d5e 
								
							 
						 
						
							
							
								
								Implement finalizer  
							
							
							
						 
						
							2020-02-03 21:35:01 +09:00  
				
					
						
							
							
								 
						
							
								497ddba82d 
								
							 
						 
						
							
							
								
								Record event of runner resource  
							
							
							
						 
						
							2020-02-03 18:40:59 +09:00  
				
					
						
							
							
								 
						
							
								13ef78ce20 
								
							 
						 
						
							
							
								
								Sync runner status with pod status  
							
							
							
						 
						
							2020-02-03 17:25:38 +09:00  
				
					
						
							
							
								 
						
							
								e6952f5ca1 
								
							 
						 
						
							
							
								
								Add '-runner-image' and '-docker-image' flags  
							
							
							
						 
						
							2020-02-03 16:56:52 +09:00  
				
					
						
							
							
								 
						
							
								2f69329fce 
								
							 
						 
						
							
							
								
								Fix permission for pods  
							
							
							
						 
						
							2020-02-02 19:49:10 +09:00  
				
					
						
							
							
								 
						
							
								7db5340595 
								
							 
						 
						
							
							
								
								Update CRD validation and RBAC  
							
							
							
						 
						
							2020-02-02 10:30:42 +09:00  
				
					
						
							
							
								 
						
							
								960befeade 
								
							 
						 
						
							
							
								
								Restart runner pod on completion  
							
							
							
						 
						
							2020-02-01 00:06:30 +09:00  
				
					
						
							
							
								 
						
							
								65f479d749 
								
							 
						 
						
							
							
								
								Always restart container  
							
							
							
						 
						
							2020-01-31 22:50:08 +09:00  
				
					
						
							
							
								 
						
							
								3f02153257 
								
							 
						 
						
							
							
								
								Ignore pods being deleted  
							
							
							
						 
						
							2020-01-31 22:47:53 +09:00  
				
					
						
							
							
								 
						
							
								ec3e7de701 
								
							 
						 
						
							
							
								
								Add docker container to a runner pod  
							
							
							
						 
						
							2020-01-30 23:52:40 +09:00  
				
					
						
							
							
								 
						
							
								5b887add53 
								
							 
						 
						
							
							
								
								Reconcile when runner pod is updated  
							
							
							
						 
						
							2020-01-29 23:12:07 +09:00  
				
					
						
							
							
								 
						
							
								aaf6b0bcae 
								
							 
						 
						
							
							
								
								Implement runner controller  
							
							
							
						 
						
							2020-01-28 21:58:01 +09:00  
				
					
						
							
							
								 
						
							
								04a8e562c0 
								
							 
						 
						
							
							
								
								Initial commit  
							
							
							
						 
						
							2020-01-28 15:03:23 +09:00