Prepare for release
	
		
			
	
		
	
	
		
	
		
			Some checks reported errors
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build encountered an error
				
			
		
		
	
	
				
					
				
			
		
			Some checks reported errors
		
		
	
	continuous-integration/drone/push Build encountered an error
				
			This commit is contained in:
		
							
								
								
									
										81
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										81
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,81 @@
 | 
				
			|||||||
 | 
					---
 | 
				
			||||||
 | 
					kind: pipeline
 | 
				
			||||||
 | 
					type: docker
 | 
				
			||||||
 | 
					name: default
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					steps:
 | 
				
			||||||
 | 
					# Frontend
 | 
				
			||||||
 | 
					- name: web_build
 | 
				
			||||||
 | 
					  image: node:23
 | 
				
			||||||
 | 
					  volumes:
 | 
				
			||||||
 | 
					    - name: web_app
 | 
				
			||||||
 | 
					      path: /tmp/web_build
 | 
				
			||||||
 | 
					  commands:
 | 
				
			||||||
 | 
					  - cd moneymgr_web
 | 
				
			||||||
 | 
					  - npm install
 | 
				
			||||||
 | 
					  - npm run lint
 | 
				
			||||||
 | 
					  - npm run build
 | 
				
			||||||
 | 
					  - mv dist /tmp/web_build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Backend
 | 
				
			||||||
 | 
					- name: backend_fetch_deps
 | 
				
			||||||
 | 
					  image: rust
 | 
				
			||||||
 | 
					  volumes:
 | 
				
			||||||
 | 
					    - name: rust_registry
 | 
				
			||||||
 | 
					      path: /usr/local/cargo/registry
 | 
				
			||||||
 | 
					  commands:
 | 
				
			||||||
 | 
					    - cd moneymgr_backend
 | 
				
			||||||
 | 
					    - cargo fetch
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: backend_code_quality
 | 
				
			||||||
 | 
					  image: rust
 | 
				
			||||||
 | 
					  volumes:
 | 
				
			||||||
 | 
					    - name: rust_registry
 | 
				
			||||||
 | 
					      path: /usr/local/cargo/registry
 | 
				
			||||||
 | 
					  depends_on:
 | 
				
			||||||
 | 
					    - backend_fetch_deps
 | 
				
			||||||
 | 
					  commands:
 | 
				
			||||||
 | 
					    - cd moneymgr_backend
 | 
				
			||||||
 | 
					    - rustup component add clippy
 | 
				
			||||||
 | 
					    - cargo clippy -- -D warnings
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: backend_test
 | 
				
			||||||
 | 
					  image: rust
 | 
				
			||||||
 | 
					  volumes:
 | 
				
			||||||
 | 
					    - name: rust_registry
 | 
				
			||||||
 | 
					      path: /usr/local/cargo/registry
 | 
				
			||||||
 | 
					  depends_on:
 | 
				
			||||||
 | 
					    - code_quality
 | 
				
			||||||
 | 
					  commands:
 | 
				
			||||||
 | 
					    - cd moneymgr_backend
 | 
				
			||||||
 | 
					    - cargo test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: backend_compile
 | 
				
			||||||
 | 
					  image: rust
 | 
				
			||||||
 | 
					  volumes:
 | 
				
			||||||
 | 
					  - name: rust_registry
 | 
				
			||||||
 | 
					    path: /usr/local/cargo/registry
 | 
				
			||||||
 | 
					  - name: web_app
 | 
				
			||||||
 | 
					    path: /tmp/web_build
 | 
				
			||||||
 | 
					  - name: release
 | 
				
			||||||
 | 
					    path: /tmp/release
 | 
				
			||||||
 | 
					  depends_on:
 | 
				
			||||||
 | 
					  - backend_test
 | 
				
			||||||
 | 
					  - web_build
 | 
				
			||||||
 | 
					  commands:
 | 
				
			||||||
 | 
					  - cd moneymgr_backend
 | 
				
			||||||
 | 
					  - mv /tmp/web_build/dist static
 | 
				
			||||||
 | 
					  - cargo build --release
 | 
				
			||||||
 | 
					  - ls -lah target/release/moneymgr_backend
 | 
				
			||||||
 | 
					  - cp target/release/moneymgr_backend /tmp/release
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# TODO: autorelease
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					volumes:
 | 
				
			||||||
 | 
					- name: rust_registry
 | 
				
			||||||
 | 
					  temp: {}
 | 
				
			||||||
 | 
					- name: web_app
 | 
				
			||||||
 | 
					  temp: {}
 | 
				
			||||||
 | 
					- name: release
 | 
				
			||||||
 | 
					  temp: {}
 | 
				
			||||||
@@ -1,4 +1,7 @@
 | 
				
			|||||||
# MoneyMgr
 | 
					# MoneyMgr
 | 
				
			||||||
 | 
					[](https://drone.communiquons.org/pierre/MoneyMgr)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Open Source web-based personal expenses tool.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Setup dev env
 | 
					## Setup dev env
 | 
				
			||||||
1. Install prerequisites:
 | 
					1. Install prerequisites:
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										3
									
								
								renovate.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								renovate.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "extends": ["local>renovate/presets"]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user