Compare commits
	
		
			14 Commits
		
	
	
		
			add_forgej
			...
			2.2.0+1.19
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| f9249f1284 | |||
| 9fe02cb19f | |||
| 1e612d84a2 | |||
| 77dd223f94 | |||
| d5577a0f75 | |||
| 8f5587099d | |||
| d56a1474fe | |||
| dc3f54d5ea | |||
| 8b466acf66 | |||
| 9cf26a0154 | |||
| a04fe41c1b | |||
| 63118ecbd8 | |||
| cd0fff667a | |||
| 9413c79e8f | 
							
								
								
									
										21
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								.drone.yml
									
									
									
									
									
								
							| @ -3,14 +3,17 @@ kind: pipeline | |||||||
| name: deploy to swarm-test.autonomic.zone | name: deploy to swarm-test.autonomic.zone | ||||||
| steps: | steps: | ||||||
|   - name: deployment |   - name: deployment | ||||||
|     image: decentral1se/stack-ssh-deploy:latest |     image: thecoopcloud/stack-ssh-deploy:latest | ||||||
|     settings: |     settings: | ||||||
|       host: swarm-test.autonomic.zone |       host: swarm-test.autonomic.zone | ||||||
|       stack: gitea |       stack: gitea | ||||||
|  |       networks: | ||||||
|  |        - proxy | ||||||
|       generate_secrets: true |       generate_secrets: true | ||||||
|       purge: true |       purge: true | ||||||
|       deploy_key: |       deploy_key: | ||||||
|         from_secret: drone_ssh_swarm_test |         from_secret: drone_ssh_swarm_test | ||||||
|  |       compose: "compose.yml:compose.mariadb.yml" | ||||||
|     environment: |     environment: | ||||||
|       APP_INI_VERSION: v1 |       APP_INI_VERSION: v1 | ||||||
|       DOCKER_SETUP_SH_VERSION: v1 |       DOCKER_SETUP_SH_VERSION: v1 | ||||||
| @ -37,11 +40,17 @@ trigger: | |||||||
|     - master |     - master | ||||||
| --- | --- | ||||||
| kind: pipeline | kind: pipeline | ||||||
| name: recipe release | name: generate recipe catalogue | ||||||
| steps: | steps: | ||||||
|   - name: release a new version |   - name: release a new version | ||||||
|     image: thecoopcloud/drone-abra:latest |     image: plugins/downstream | ||||||
|     settings: |     settings: | ||||||
|       command: recipe gitea release |       server: https://build.coopcloud.tech | ||||||
|       deploy_key: |       token: | ||||||
|         from_secret: abra_bot_deploy_key |         from_secret: drone_abra-bot_token | ||||||
|  |       fork: true | ||||||
|  |       repositories: | ||||||
|  |         - coop-cloud/auto-recipes-catalogue-json | ||||||
|  |  | ||||||
|  | trigger: | ||||||
|  |   event: tag | ||||||
|  | |||||||
| @ -71,3 +71,10 @@ ENABLED         = true | |||||||
| FILE_EXTENSIONS = .rst | FILE_EXTENSIONS = .rst | ||||||
| RENDER_COMMAND  = rst2html | RENDER_COMMAND  = rst2html | ||||||
| IS_INPUT_FILE   = false | IS_INPUT_FILE   = false | ||||||
|  |  | ||||||
|  | [log] | ||||||
|  | MODE=console | ||||||
|  | LEVEL=WARN | ||||||
|  | STACKTRACE_LEVEL=None | ||||||
|  | ENABLE_ACCESS_LOG=false | ||||||
|  | ENABLE_XORM_LOG=false | ||||||
|  | |||||||
| @ -2,4 +2,4 @@ version: '3.8' | |||||||
|  |  | ||||||
| services: | services: | ||||||
|   app: |   app: | ||||||
|     image: codeberg.org/forgejo/forgejo:1.18.0-1-rootless |     image: codeberg.org/forgejo/forgejo:1.19.3-0-rootless | ||||||
|  | |||||||
| @ -8,7 +8,7 @@ services: | |||||||
|       - GITEA_DB_NAME=gitea |       - GITEA_DB_NAME=gitea | ||||||
|       - GITEA_DB_USER=gitea |       - GITEA_DB_USER=gitea | ||||||
|   db: |   db: | ||||||
|     image: "mariadb:10.9" |     image: "mariadb:10.11.2" | ||||||
|     command: | |     command: | | ||||||
|       mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci |       mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci | ||||||
|     environment: |     environment: | ||||||
|  | |||||||
| @ -8,7 +8,7 @@ services: | |||||||
|       - GITEA_DB_NAME=gitea |       - GITEA_DB_NAME=gitea | ||||||
|       - GITEA_DB_USER=gitea |       - GITEA_DB_USER=gitea | ||||||
|   db: |   db: | ||||||
|     image: postgres:9.6 |     image: postgres:15.3 | ||||||
|     environment:  |     environment:  | ||||||
|       - POSTGRES_DB=gitea |       - POSTGRES_DB=gitea | ||||||
|       - POSTGRES_USER=gitea |       - POSTGRES_USER=gitea | ||||||
|  | |||||||
| @ -3,7 +3,7 @@ version: "3.8" | |||||||
|  |  | ||||||
| services: | services: | ||||||
|   app: |   app: | ||||||
|     image: "gitea/gitea:1.18.0-rootless" |     image: "gitea/gitea:1.19.3-rootless" | ||||||
|     configs: |     configs: | ||||||
|       - source: app_ini |       - source: app_ini | ||||||
|         target: /etc/gitea/app.ini |         target: /etc/gitea/app.ini | ||||||
| @ -61,7 +61,7 @@ services: | |||||||
|         - "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolalloworiginlist=https://${GITEA_CORS_ALLOW_DOMAIN}" |         - "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolalloworiginlist=https://${GITEA_CORS_ALLOW_DOMAIN}" | ||||||
|         - "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolmaxage=100" |         - "traefik.http.middlewares.${STACK_NAME}_cors.headers.accesscontrolmaxage=100" | ||||||
|         - "traefik.http.middlewares.${STACK_NAME}_cors.headers.addvaryheader=true" |         - "traefik.http.middlewares.${STACK_NAME}_cors.headers.addvaryheader=true" | ||||||
|         - coop-cloud.${STACK_NAME}.version=2.0.0+1.18.0-rootless |         - coop-cloud.${STACK_NAME}.version=2.2.0+1.19.3-rootless | ||||||
|  |  | ||||||
|  |  | ||||||
| networks: | networks: | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								release/2.1.2+1.19.3-rootless
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								release/2.1.2+1.19.3-rootless
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,2 @@ | |||||||
|  | Beware that you'll also be updating Postgres if you're running it. Usually with major updates it might involve pg_dumpall / pg_restore either side of the upgrade because the server app doesn't know how to upgrade data storage formats, won't launch if it detects an old data format, a pg_upgrade command is available. More info on https://git.coopcloud.tech/coop-cloud/gitea/pulls/31 | ||||||
|  |  | ||||||
		Reference in New Issue
	
	Block a user