CI: Update python version + script (#2521)
Ensure we're on the latest versions CI actions + python (except lint check, due to issue) Also allow running the Microk8s tests on demand with workflow dispatch
This commit is contained in:
		
							parent
							
								
									b3950dd03f
								
							
						
					
					
						commit
						0925da6768
					
				
							
								
								
									
										4
									
								
								.github/workflows/ansible-lint.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/ansible-lint.yaml
									
									
									
									
										vendored
									
									
								
							| @ -46,9 +46,9 @@ jobs: | ||||
|           fetch-depth: 0 # needed for progressive mode to work | ||||
| 
 | ||||
|       - name: Set up Python | ||||
|         uses: actions/setup-python@v4 | ||||
|         uses: actions/setup-python@v5 | ||||
|         with: | ||||
|           python-version: '3.12' | ||||
|           python-version: '3.x' | ||||
| 
 | ||||
|       - name: Install dependencies | ||||
|         run: | | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/backend-lint.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/backend-lint.yaml
									
									
									
									
										vendored
									
									
								
							| @ -43,7 +43,7 @@ jobs: | ||||
|         uses: actions/checkout@v2 | ||||
| 
 | ||||
|       - name: Set up Python | ||||
|         uses: actions/setup-python@v4 | ||||
|         uses: actions/setup-python@v5 | ||||
|         with: | ||||
|           python-version: '3.10' | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/deploy-dev.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/deploy-dev.yaml
									
									
									
									
										vendored
									
									
								
							| @ -46,7 +46,7 @@ jobs: | ||||
| 
 | ||||
|       - uses: actions/setup-python@v5 | ||||
|         with: | ||||
|           python-version: "3.11" | ||||
|           python-version: "3.x" | ||||
|           cache: "poetry" | ||||
| 
 | ||||
|       - name: Install vault decryption dependencies | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/docs-publish.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/docs-publish.yaml
									
									
									
									
										vendored
									
									
								
							| @ -13,7 +13,7 @@ jobs: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - uses: actions/checkout@v3 | ||||
|       - uses: actions/setup-python@v4 | ||||
|       - uses: actions/setup-python@v5 | ||||
|         with: | ||||
|           python-version: 3.x | ||||
|       - run: pip install mkdocs-material mkdocs-redirects requests pyyaml | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/k3d-nightly-ci.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/k3d-nightly-ci.yaml
									
									
									
									
										vendored
									
									
								
							| @ -84,9 +84,9 @@ jobs: | ||||
|           helm upgrade --install -f ./chart/values.yaml -f ./chart/test/test.yaml -f ./chart/test/test-nightly-addons.yaml btrix ./chart/ | ||||
| 
 | ||||
|       - name: Install Python | ||||
|         uses: actions/setup-python@v3 | ||||
|         uses: actions/setup-python@v5 | ||||
|         with: | ||||
|           python-version: '3.9' | ||||
|           python-version: '3.x' | ||||
| 
 | ||||
|       - name: Install Python Libs | ||||
|         run: pip install -r ./backend/test-requirements.txt | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/microk8s-ci.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/microk8s-ci.yaml
									
									
									
									
										vendored
									
									
								
							| @ -7,6 +7,8 @@ on: | ||||
|     paths: | ||||
|       - 'backend/**' | ||||
|       - 'chart/**' | ||||
|       - '.github/workflows/microk8s-ci.yaml' | ||||
|     workflow_dispatch: | ||||
| 
 | ||||
| env: | ||||
|   ECHO_SERVER_HOST_URL: http://10.0.1.1:18080 | ||||
| @ -56,9 +58,9 @@ jobs: | ||||
|           sudo microk8s helm3 upgrade --install -f ./chart/values.yaml -f ./chart/test/test.yaml -f ./chart/test/microk8s-ci.yaml btrix ./chart/ | ||||
| 
 | ||||
|       - name: Install Python | ||||
|         uses: actions/setup-python@v3 | ||||
|         uses: actions/setup-python@v5 | ||||
|         with: | ||||
|           python-version: '3.9' | ||||
|           python-version: '3.x' | ||||
| 
 | ||||
|       - name: Install Python Libs | ||||
|         run: pip install -r ./backend/test-requirements.txt | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user