Init commit
This commit is contained in:
		
							
								
								
									
										32
									
								
								.woodpecker/build.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								.woodpecker/build.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,32 @@
 | 
			
		||||
---
 | 
			
		||||
when:
 | 
			
		||||
  event:
 | 
			
		||||
    - push
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
  build:
 | 
			
		||||
    image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:152f5b777abda1b18e3b231c295e2574f0e1cbdb
 | 
			
		||||
    name: Build shoebill operator image
 | 
			
		||||
    privileged: true
 | 
			
		||||
    environment:
 | 
			
		||||
      - PACKAGE_NAME=softplayer/softplayer-backend
 | 
			
		||||
    commands:
 | 
			
		||||
      - git config --global --add safe.directory '*'
 | 
			
		||||
      - |
 | 
			
		||||
        if [[ "${CI_COMMIT_TAG}" ]]; then
 | 
			
		||||
          export CUSTOM_TAG="${CI_COMMIT_TAG}";
 | 
			
		||||
        fi
 | 
			
		||||
      - build-container
 | 
			
		||||
    secrets:
 | 
			
		||||
      - gitea_token
 | 
			
		||||
    backend_options:
 | 
			
		||||
      kubernetes:
 | 
			
		||||
        resources:
 | 
			
		||||
          requests:
 | 
			
		||||
            memory: 500Mi
 | 
			
		||||
            cpu: 200m
 | 
			
		||||
          limits:
 | 
			
		||||
            memory: 1000Mi
 | 
			
		||||
            cpu: 1000m
 | 
			
		||||
        securityContext:
 | 
			
		||||
          privileged: true
 | 
			
		||||
		Reference in New Issue
	
	Block a user