fix around
This commit is contained in:
		
							
								
								
									
										23
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
				
			|||||||
 | 
					kind: pipeline
 | 
				
			||||||
 | 
					type: docker
 | 
				
			||||||
 | 
					name: default
 | 
				
			||||||
 | 
					steps:
 | 
				
			||||||
 | 
					- name: code-analysis
 | 
				
			||||||
 | 
					  image: aosapps/drone-sonar-plugin
 | 
				
			||||||
 | 
					  settings:
 | 
				
			||||||
 | 
					    sonar_host:
 | 
				
			||||||
 | 
					      from_secret: SONAR_HOST
 | 
				
			||||||
 | 
					    sonar_token:
 | 
				
			||||||
 | 
					      from_secret: SONAR_CODE
 | 
				
			||||||
 | 
					- name: kaniko
 | 
				
			||||||
 | 
					  image: banzaicloud/drone-kaniko
 | 
				
			||||||
 | 
					  settings:
 | 
				
			||||||
 | 
					    registry: registry.kmlabz.com
 | 
				
			||||||
 | 
					    repo: tormakris/${DRONE_REPO_NAME}
 | 
				
			||||||
 | 
					    username:
 | 
				
			||||||
 | 
					      from_secret: DOCKER_USERNAME
 | 
				
			||||||
 | 
					    password:
 | 
				
			||||||
 | 
					      from_secret: DOCKER_PASSWORD
 | 
				
			||||||
 | 
					    tags:
 | 
				
			||||||
 | 
					      - latest
 | 
				
			||||||
 | 
					      - ${DRONE_BUILD_NUMBER}
 | 
				
			||||||
@@ -1,12 +0,0 @@
 | 
				
			|||||||
using System;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
namespace hanyadikhetvan.Entities
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    public class Pause
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
        public int Id { get; set; }
 | 
					 | 
				
			||||||
        public int WeeklyTimeSpanId { get; set; }
 | 
					 | 
				
			||||||
        public DateTime Startdate { get; set; }
 | 
					 | 
				
			||||||
        public DateTime Enddate { get; set; }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@@ -1,13 +0,0 @@
 | 
				
			|||||||
using System;
 | 
					 | 
				
			||||||
using System.Collections.Generic;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
namespace hanyadikhetvan.Entities
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    public class WeeklyTimeSpan
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
        public int Id { get; set; }
 | 
					 | 
				
			||||||
        public DateTime Startdate { get; set; }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        public virtual ICollection<Pause> Pauses { get; set; }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user