All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			
		
			
				
	
	
		
			42 lines
		
	
	
		
			935 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			935 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
kind: pipeline
 | 
						|
type: kubernetes
 | 
						|
name: 'CAPI ImageBuilder'
 | 
						|
 | 
						|
volumes:
 | 
						|
- name: output
 | 
						|
  claim:
 | 
						|
    name: flexvolsmb-drone-output
 | 
						|
- name: scratch
 | 
						|
  claim:
 | 
						|
    name: flexvolsmb-drone-scratch
 | 
						|
 | 
						|
steps:
 | 
						|
- name: Debugging information
 | 
						|
  image: bv11-cr01.bessems.eu/library/packer-extended
 | 
						|
  commands:
 | 
						|
  - ansible --version
 | 
						|
  - ovftool --version
 | 
						|
  - packer --version
 | 
						|
  - yamllint --version
 | 
						|
- name: Build CAPV image(s)
 | 
						|
  image: bv11-cr01.bessems.eu/library/packer-extended
 | 
						|
  pull: always
 | 
						|
  commands:
 | 
						|
  - |
 | 
						|
    jq '.password="'"$VSPHERE_PASSWORD"'"' ./packer/ova/vsphere.json > /tmp/vsphere.json && \
 | 
						|
    mv /tmp/vsphere.json ./packer/ova/vsphere.json
 | 
						|
  - |
 | 
						|
    make deps-ova
 | 
						|
  - |
 | 
						|
    make build-node-ova-vsphere-ubuntu-2004
 | 
						|
  - |
 | 
						|
    mv -fv ./output/**/*.ova /output
 | 
						|
  environment:
 | 
						|
    VSPHERE_PASSWORD:
 | 
						|
      from_secret: vsphere_password
 | 
						|
    IB_OVFTOOL: true
 | 
						|
    IB_OVFTOOL_ARGS: --allowExtraConfig
 | 
						|
  volumes:
 | 
						|
  - name: output
 | 
						|
    path: /output
 |