Browse Source

Added Docker File

master
Andy Eshiet 1 year ago
parent
commit
0b3530fcc8
38 changed files with 623 additions and 1 deletions
  1. +1
    -1
      README.md
  2. +11
    -0
      app/main.py
  3. +86
    -0
      data/conf/app.ini
  4. +1
    -0
      data/indexers/issues.bleve/index_meta.json
  5. +1
    -0
      data/indexers/issues.bleve/rupture_meta.json
  6. BIN
      data/indexers/issues.bleve/store
  7. BIN
      data/indexers/issues.queue/000002.ldb
  8. +1
    -0
      data/indexers/issues.queue/CURRENT
  9. +1
    -0
      data/indexers/issues.queue/CURRENT.bak
  10. +0
    -0
      data/indexers/issues.queue/LOCK
  11. +70
    -0
      data/indexers/issues.queue/LOG
  12. BIN
      data/indexers/issues.queue/MANIFEST-000016
  13. BIN
      data/queues/notification-service/000002.ldb
  14. +1
    -0
      data/queues/notification-service/CURRENT
  15. +1
    -0
      data/queues/notification-service/CURRENT.bak
  16. +0
    -0
      data/queues/notification-service/LOCK
  17. +97
    -0
      data/queues/notification-service/LOG
  18. BIN
      data/queues/notification-service/MANIFEST-000022
  19. BIN
      data/queues/pr_patch_checker/000002.ldb
  20. +1
    -0
      data/queues/pr_patch_checker/CURRENT
  21. +1
    -0
      data/queues/pr_patch_checker/CURRENT.bak
  22. +0
    -0
      data/queues/pr_patch_checker/LOCK
  23. +70
    -0
      data/queues/pr_patch_checker/LOG
  24. BIN
      data/queues/pr_patch_checker/MANIFEST-000016
  25. BIN
      data/queues/repo_stats_update/000002.ldb
  26. +1
    -0
      data/queues/repo_stats_update/CURRENT
  27. +1
    -0
      data/queues/repo_stats_update/CURRENT.bak
  28. +0
    -0
      data/queues/repo_stats_update/LOCK
  29. +70
    -0
      data/queues/repo_stats_update/LOG
  30. BIN
      data/queues/repo_stats_update/MANIFEST-000016
  31. BIN
      data/queues/task/000002.ldb
  32. +1
    -0
      data/queues/task/CURRENT
  33. +1
    -0
      data/queues/task/CURRENT.bak
  34. +0
    -0
      data/queues/task/LOCK
  35. +70
    -0
      data/queues/task/LOG
  36. BIN
      data/queues/task/MANIFEST-000016
  37. +66
    -0
      docker-compose.yml
  38. +70
    -0
      docker-compose08.yml

+ 1
- 1
README.md View File

@@ -1,3 +1,3 @@
# DroneTest

A Test Repository for testing Drone CI implementation
A Test Repository for testing Drone CI implementation

+ 11
- 0
app/main.py View File

@@ -0,0 +1,11 @@
import unittest

class Main(unittest.TestCase):
def test_some(self):
self.assertTrue(True)
self.assertFalse(False)
self.assertTrue(True)


if __name__ == '__main__':
unittest.main()

+ 86
- 0
data/conf/app.ini View File

@@ -0,0 +1,86 @@
APP_NAME = Gitea: Git with a cup of tea
RUN_MODE = prod
RUN_USER = git

[repository]
ROOT = /data/git/repositories

[repository.local]
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo

[repository.upload]
TEMP_PATH = /data/gitea/uploads

[server]
APP_DATA_PATH = /data/gitea
DOMAIN = localhost
SSH_DOMAIN = localhost
HTTP_PORT = 3000
ROOT_URL = localhost:8380
DISABLE_SSH = false
SSH_PORT = 22
SSH_LISTEN_PORT = 22
LFS_START_SERVER = true
LFS_CONTENT_PATH = /data/git/lfs
LFS_JWT_SECRET = 25hyAFEz2b-jdu2v5OIm2YmIow0O-qQlkquw9uQ9Cz8
OFFLINE_MODE = false

[database]
PATH = /data/gitea/gitea.db
DB_TYPE = postgres
HOST = 172.18.0.2:5432
NAME = gitea
USER = postgres
PASSWD = gitea
SCHEMA =
SSL_MODE = disable
CHARSET = utf8

[indexer]
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve

[session]
PROVIDER_CONFIG = /data/gitea/sessions
PROVIDER = file

[picture]
AVATAR_UPLOAD_PATH = /data/gitea/avatars
REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/repo-avatars
DISABLE_GRAVATAR = false
ENABLE_FEDERATED_AVATAR = true

[attachment]
PATH = /data/gitea/attachments

[log]
ROOT_PATH = /data/gitea/log
MODE = file
LEVEL = info

[security]
INSTALL_LOCK = true
SECRET_KEY = IHV1Xxrp4cuyphhdchukPC060lqYzDh5YAgC9B8zxZVG4q1jz6uzJ5iflHIxgucb
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE1ODg3MDU5Njh9.GUCUMtC5KbCyhL2jB19QzgGUMHPUcdLmspMf-9-QxOI

[service]
DISABLE_REGISTRATION = false
REQUIRE_SIGNIN_VIEW = false
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL = false
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
ENABLE_CAPTCHA = false
DEFAULT_KEEP_EMAIL_PRIVATE = false
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
DEFAULT_ENABLE_TIMETRACKING = true
NO_REPLY_ADDRESS = noreply.

[oauth2]
JWT_SECRET = PRVugPZAk6dUFkC6Lnj5QcLxa38NM77pUIz7C9cV39M

[mailer]
ENABLED = false

[openid]
ENABLE_OPENID_SIGNIN = true
ENABLE_OPENID_SIGNUP = true


+ 1
- 0
data/indexers/issues.bleve/index_meta.json View File

@@ -0,0 +1 @@
{"storage":"boltdb","index_type":"upside_down"}

+ 1
- 0
data/indexers/issues.bleve/rupture_meta.json View File

@@ -0,0 +1 @@
{"version":1}

BIN
data/indexers/issues.bleve/store View File


BIN
data/indexers/issues.queue/000002.ldb View File


+ 1
- 0
data/indexers/issues.queue/CURRENT View File

@@ -0,0 +1 @@
MANIFEST-000016

+ 1
- 0
data/indexers/issues.queue/CURRENT.bak View File

@@ -0,0 +1 @@
MANIFEST-000014

+ 0
- 0
data/indexers/issues.queue/LOCK View File


+ 70
- 0
data/indexers/issues.queue/LOG View File

@@ -0,0 +1,70 @@
=============== May 5, 2020 (UTC) ===============
20:17:46.393216 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:17:46.423599 db@open opening
20:17:46.447602 version@stat F·[] S·0B[] Sc·[]
20:17:46.462161 db@janitor F·2 G·0
20:17:46.462861 db@open done T·38.8448ms
=============== May 5, 2020 (UTC) ===============
20:27:48.417624 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:27:48.433628 version@stat F·[] S·0B[] Sc·[]
20:27:48.434677 db@open opening
20:27:48.437545 journal@recovery F·1
20:27:48.440610 journal@recovery recovering @1
20:27:48.452740 memdb@flush created L0@2 N·2 S·127B "high,v2":"low,v1"
20:27:48.454710 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:27:48.478628 db@janitor F·3 G·0
20:27:48.479202 db@open done T·44.1005ms
=============== May 5, 2020 (UTC) ===============
20:28:45.896111 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:28:45.913022 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:28:45.915424 db@open opening
20:28:45.918241 journal@recovery F·1
20:28:45.918749 journal@recovery recovering @3
20:28:45.926222 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:28:45.946206 db@janitor F·3 G·0
20:28:45.946706 db@open done T·30.857ms
=============== May 5, 2020 (UTC) ===============
20:30:23.377106 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:30:23.387754 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:30:23.388935 db@open opening
20:30:23.391255 journal@recovery F·1
20:30:23.392270 journal@recovery recovering @5
20:30:23.407217 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:30:23.440078 db@janitor F·3 G·0
20:30:23.441246 db@open done T·51.8297ms
=============== May 5, 2020 (UTC) ===============
20:32:47.197094 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:32:47.205875 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:32:47.206730 db@open opening
20:32:47.211069 journal@recovery F·1
20:32:47.211637 journal@recovery recovering @7
20:32:47.216557 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:32:47.241370 db@janitor F·3 G·0
20:32:47.241909 db@open done T·34.7089ms
=============== May 5, 2020 (UTC) ===============
20:33:59.989727 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:33:59.997541 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:33:59.998333 db@open opening
20:33:59.999988 journal@recovery F·1
20:34:00.000473 journal@recovery recovering @9
20:34:00.006177 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:34:00.046816 db@janitor F·3 G·0
20:34:00.047460 db@open done T·48.7289ms
=============== May 5, 2020 (UTC) ===============
20:35:15.835108 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:35:15.845048 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:35:15.846160 db@open opening
20:35:15.850617 journal@recovery F·1
20:35:15.851188 journal@recovery recovering @11
20:35:15.854932 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:35:15.869257 db@janitor F·3 G·0
20:35:15.869992 db@open done T·23.3455ms
=============== May 5, 2020 (UTC) ===============
20:36:26.888256 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:36:27.030303 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:36:27.031916 db@open opening
20:36:27.067665 journal@recovery F·1
20:36:27.075611 journal@recovery recovering @13
20:36:27.126192 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:36:27.153827 db@janitor F·3 G·0
20:36:27.155336 db@open done T·122.1132ms

BIN
data/indexers/issues.queue/MANIFEST-000016 View File


BIN
data/queues/notification-service/000002.ldb View File


+ 1
- 0
data/queues/notification-service/CURRENT View File

@@ -0,0 +1 @@
MANIFEST-000022

+ 1
- 0
data/queues/notification-service/CURRENT.bak View File

@@ -0,0 +1 @@
MANIFEST-000020

+ 0
- 0
data/queues/notification-service/LOCK View File


+ 97
- 0
data/queues/notification-service/LOG View File

@@ -0,0 +1,97 @@
=============== May 5, 2020 (UTC) ===============
19:12:48.373208 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
19:12:48.390868 db@open opening
19:12:48.397980 version@stat F·[] S·0B[] Sc·[]
19:12:48.401995 db@janitor F·2 G·0
19:12:48.402450 db@open done T·10.9248ms
=============== May 5, 2020 (UTC) ===============
19:14:36.060695 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
19:14:36.087847 version@stat F·[] S·0B[] Sc·[]
19:14:36.089007 db@open opening
19:14:36.092004 journal@recovery F·1
19:14:36.092902 journal@recovery recovering @1
19:14:36.109443 memdb@flush created L0@2 N·2 S·127B "high,v2":"low,v1"
19:14:36.119135 version@stat F·[1] S·127B[127B] Sc·[0.25]
19:14:36.157895 db@janitor F·3 G·0
19:14:36.158517 db@open done T·68.4909ms
=============== May 5, 2020 (UTC) ===============
19:17:22.685720 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
19:17:22.703514 version@stat F·[1] S·127B[127B] Sc·[0.25]
19:17:22.705509 db@open opening
19:17:22.708120 journal@recovery F·1
19:17:22.709015 journal@recovery recovering @3
19:17:22.713567 version@stat F·[1] S·127B[127B] Sc·[0.25]
19:17:22.739152 db@janitor F·3 G·0
19:17:22.739621 db@open done T·33.6367ms
=============== May 5, 2020 (UTC) ===============
19:22:13.069754 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
19:22:13.079863 version@stat F·[1] S·127B[127B] Sc·[0.25]
19:22:13.080898 db@open opening
19:22:13.082716 journal@recovery F·1
19:22:13.083204 journal@recovery recovering @5
19:22:13.086472 version@stat F·[1] S·127B[127B] Sc·[0.25]
19:22:13.105483 db@janitor F·3 G·0
19:22:13.106127 db@open done T·24.9093ms
=============== May 5, 2020 (UTC) ===============
20:27:46.756599 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:27:46.769214 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:27:46.770188 db@open opening
20:27:46.772405 journal@recovery F·1
20:27:46.773018 journal@recovery recovering @7
20:27:46.782941 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:27:46.804907 db@janitor F·3 G·0
20:27:46.805413 db@open done T·34.6056ms
=============== May 5, 2020 (UTC) ===============
20:28:44.133152 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:28:44.150501 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:28:44.151477 db@open opening
20:28:44.155226 journal@recovery F·1
20:28:44.155818 journal@recovery recovering @9
20:28:44.160686 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:28:44.197864 db@janitor F·3 G·0
20:28:44.198713 db@open done T·46.5057ms
=============== May 5, 2020 (UTC) ===============
20:30:21.626391 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:30:21.640118 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:30:21.641129 db@open opening
20:30:21.643484 journal@recovery F·1
20:30:21.644449 journal@recovery recovering @11
20:30:21.670436 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:30:21.694887 db@janitor F·3 G·0
20:30:21.695637 db@open done T·53.8848ms
=============== May 5, 2020 (UTC) ===============
20:32:45.300757 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:32:45.323155 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:32:45.330498 db@open opening
20:32:45.334757 journal@recovery F·1
20:32:45.335727 journal@recovery recovering @13
20:32:45.343890 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:32:45.368073 db@janitor F·3 G·0
20:32:45.368967 db@open done T·37.3003ms
=============== May 5, 2020 (UTC) ===============
20:33:58.099861 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:33:58.119256 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:33:58.120852 db@open opening
20:33:58.126809 journal@recovery F·1
20:33:58.129349 journal@recovery recovering @15
20:33:58.156918 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:33:58.178535 db@janitor F·3 G·0
20:33:58.179000 db@open done T·56.1617ms
=============== May 5, 2020 (UTC) ===============
20:35:14.046766 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:35:14.068891 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:35:14.069972 db@open opening
20:35:14.073389 journal@recovery F·1
20:35:14.074883 journal@recovery recovering @17
20:35:14.085855 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:35:14.114528 db@janitor F·3 G·0
20:35:14.115292 db@open done T·44.4214ms
=============== May 5, 2020 (UTC) ===============
20:36:24.814042 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:36:24.852266 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:36:24.857249 db@open opening
20:36:24.866501 journal@recovery F·1
20:36:24.867422 journal@recovery recovering @19
20:36:24.936224 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:36:25.009480 db@janitor F·3 G·0
20:36:25.013272 db@open done T·154.6485ms

BIN
data/queues/notification-service/MANIFEST-000022 View File


BIN
data/queues/pr_patch_checker/000002.ldb View File


+ 1
- 0
data/queues/pr_patch_checker/CURRENT View File

@@ -0,0 +1 @@
MANIFEST-000016

+ 1
- 0
data/queues/pr_patch_checker/CURRENT.bak View File

@@ -0,0 +1 @@
MANIFEST-000014

+ 0
- 0
data/queues/pr_patch_checker/LOCK View File


+ 70
- 0
data/queues/pr_patch_checker/LOG View File

@@ -0,0 +1,70 @@
=============== May 5, 2020 (UTC) ===============
20:17:46.524625 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:17:46.542469 db@open opening
20:17:46.548159 version@stat F·[] S·0B[] Sc·[]
20:17:46.552921 db@janitor F·2 G·0
20:17:46.553576 db@open done T·10.5756ms
=============== May 5, 2020 (UTC) ===============
20:27:48.541796 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:27:48.552390 version@stat F·[] S·0B[] Sc·[]
20:27:48.553221 db@open opening
20:27:48.555618 journal@recovery F·1
20:27:48.556319 journal@recovery recovering @1
20:27:48.564665 memdb@flush created L0@2 N·2 S·127B "high,v2":"low,v1"
20:27:48.566842 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:27:48.581284 db@janitor F·3 G·0
20:27:48.581682 db@open done T·27.9898ms
=============== May 5, 2020 (UTC) ===============
20:28:46.050038 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:28:46.069617 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:28:46.070532 db@open opening
20:28:46.073906 journal@recovery F·1
20:28:46.075407 journal@recovery recovering @3
20:28:46.081222 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:28:46.098860 db@janitor F·3 G·0
20:28:46.099443 db@open done T·28.5342ms
=============== May 5, 2020 (UTC) ===============
20:30:23.530756 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:30:23.546127 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:30:23.547239 db@open opening
20:30:23.550238 journal@recovery F·1
20:30:23.551220 journal@recovery recovering @5
20:30:23.558137 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:30:23.584073 db@janitor F·3 G·0
20:30:23.584561 db@open done T·36.8838ms
=============== May 5, 2020 (UTC) ===============
20:32:47.316544 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:32:47.338645 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:32:47.339263 db@open opening
20:32:47.341222 journal@recovery F·1
20:32:47.342078 journal@recovery recovering @7
20:32:47.346667 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:32:47.359653 db@janitor F·3 G·0
20:32:47.359932 db@open done T·20.2306ms
=============== May 5, 2020 (UTC) ===============
20:34:00.112073 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:34:00.120429 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:34:00.121599 db@open opening
20:34:00.123373 journal@recovery F·1
20:34:00.123919 journal@recovery recovering @9
20:34:00.127473 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:34:00.143144 db@janitor F·3 G·0
20:34:00.143568 db@open done T·21.6018ms
=============== May 5, 2020 (UTC) ===============
20:35:15.944270 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:35:15.965765 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:35:15.967130 db@open opening
20:35:15.968974 journal@recovery F·1
20:35:15.971301 journal@recovery recovering @11
20:35:15.976921 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:35:15.999134 db@janitor F·3 G·0
20:35:15.999529 db@open done T·31.9957ms
=============== May 5, 2020 (UTC) ===============
20:36:27.250712 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:36:27.265903 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:36:27.266686 db@open opening
20:36:27.268690 journal@recovery F·1
20:36:27.269772 journal@recovery recovering @13
20:36:27.290731 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:36:27.332254 db@janitor F·3 G·0
20:36:27.332727 db@open done T·65.6447ms

BIN
data/queues/pr_patch_checker/MANIFEST-000016 View File


BIN
data/queues/repo_stats_update/000002.ldb View File


+ 1
- 0
data/queues/repo_stats_update/CURRENT View File

@@ -0,0 +1 @@
MANIFEST-000016

+ 1
- 0
data/queues/repo_stats_update/CURRENT.bak View File

@@ -0,0 +1 @@
MANIFEST-000014

+ 0
- 0
data/queues/repo_stats_update/LOCK View File


+ 70
- 0
data/queues/repo_stats_update/LOG View File

@@ -0,0 +1,70 @@
=============== May 5, 2020 (UTC) ===============
20:17:46.473829 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:17:46.488798 db@open opening
20:17:46.492969 version@stat F·[] S·0B[] Sc·[]
20:17:46.503866 db@janitor F·2 G·0
20:17:46.505969 db@open done T·16.866ms
=============== May 5, 2020 (UTC) ===============
20:27:48.486802 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:27:48.498735 version@stat F·[] S·0B[] Sc·[]
20:27:48.499676 db@open opening
20:27:48.501986 journal@recovery F·1
20:27:48.502768 journal@recovery recovering @1
20:27:48.511621 memdb@flush created L0@2 N·2 S·127B "high,v2":"low,v1"
20:27:48.514197 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:27:48.532548 db@janitor F·3 G·0
20:27:48.533226 db@open done T·32.9994ms
=============== May 5, 2020 (UTC) ===============
20:28:45.958720 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:28:45.979363 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:28:45.981654 db@open opening
20:28:45.989790 journal@recovery F·1
20:28:45.990696 journal@recovery recovering @3
20:28:45.997598 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:28:46.035807 db@janitor F·3 G·0
20:28:46.036352 db@open done T·52.67ms
=============== May 5, 2020 (UTC) ===============
20:30:23.448540 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:30:23.460142 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:30:23.461133 db@open opening
20:30:23.464649 journal@recovery F·1
20:30:23.465381 journal@recovery recovering @5
20:30:23.474657 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:30:23.519038 db@janitor F·3 G·0
20:30:23.519580 db@open done T·57.9136ms
=============== May 5, 2020 (UTC) ===============
20:32:47.250611 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:32:47.263180 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:32:47.263784 db@open opening
20:32:47.265383 journal@recovery F·1
20:32:47.268835 journal@recovery recovering @7
20:32:47.275818 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:32:47.308758 db@janitor F·3 G·0
20:32:47.309196 db@open done T·45.0454ms
=============== May 5, 2020 (UTC) ===============
20:34:00.071929 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:34:00.079977 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:34:00.080972 db@open opening
20:34:00.084494 journal@recovery F·1
20:34:00.085100 journal@recovery recovering @9
20:34:00.088430 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:34:00.105069 db@janitor F·3 G·0
20:34:00.105386 db@open done T·23.8058ms
=============== May 5, 2020 (UTC) ===============
20:35:15.876066 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:35:15.885859 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:35:15.886823 db@open opening
20:35:15.889156 journal@recovery F·1
20:35:15.890069 journal@recovery recovering @11
20:35:15.894387 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:35:15.928226 db@janitor F·3 G·0
20:35:15.928709 db@open done T·41.4224ms
=============== May 5, 2020 (UTC) ===============
20:36:27.168217 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:36:27.182970 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:36:27.183746 db@open opening
20:36:27.186316 journal@recovery F·1
20:36:27.186870 journal@recovery recovering @13
20:36:27.192585 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:36:27.239209 db@janitor F·3 G·0
20:36:27.239645 db@open done T·55.5098ms

BIN
data/queues/repo_stats_update/MANIFEST-000016 View File


BIN
data/queues/task/000002.ldb View File


+ 1
- 0
data/queues/task/CURRENT View File

@@ -0,0 +1 @@
MANIFEST-000016

+ 1
- 0
data/queues/task/CURRENT.bak View File

@@ -0,0 +1 @@
MANIFEST-000014

+ 0
- 0
data/queues/task/LOCK View File


+ 70
- 0
data/queues/task/LOG View File

@@ -0,0 +1,70 @@
=============== May 5, 2020 (UTC) ===============
20:17:46.564013 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:17:46.590703 db@open opening
20:17:46.594291 version@stat F·[] S·0B[] Sc·[]
20:17:46.606048 db@janitor F·2 G·0
20:17:46.606863 db@open done T·15.4707ms
=============== May 5, 2020 (UTC) ===============
20:27:48.586519 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:27:48.606403 version@stat F·[] S·0B[] Sc·[]
20:27:48.607548 db@open opening
20:27:48.609894 journal@recovery F·1
20:27:48.610731 journal@recovery recovering @1
20:27:48.621713 memdb@flush created L0@2 N·2 S·127B "high,v2":"low,v1"
20:27:48.624398 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:27:48.656750 db@janitor F·3 G·0
20:27:48.657086 db@open done T·49.0356ms
=============== May 5, 2020 (UTC) ===============
20:28:46.108514 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:28:46.130051 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:28:46.130817 db@open opening
20:28:46.132700 journal@recovery F·1
20:28:46.133680 journal@recovery recovering @3
20:28:46.138072 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:28:46.155696 db@janitor F·3 G·0
20:28:46.156164 db@open done T·24.7985ms
=============== May 5, 2020 (UTC) ===============
20:30:23.595651 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:30:23.607274 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:30:23.608398 db@open opening
20:30:23.611138 journal@recovery F·1
20:30:23.612678 journal@recovery recovering @5
20:30:23.621177 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:30:23.646327 db@janitor F·3 G·0
20:30:23.647251 db@open done T·38.0339ms
=============== May 5, 2020 (UTC) ===============
20:32:47.366004 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:32:47.373340 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:32:47.373844 db@open opening
20:32:47.375733 journal@recovery F·1
20:32:47.376148 journal@recovery recovering @7
20:32:47.379074 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:32:47.393025 db@janitor F·3 G·0
20:32:47.393538 db@open done T·19.3114ms
=============== May 5, 2020 (UTC) ===============
20:34:00.151085 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:34:00.158437 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:34:00.159088 db@open opening
20:34:00.161075 journal@recovery F·1
20:34:00.177694 journal@recovery recovering @9
20:34:00.182987 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:34:00.217013 db@janitor F·3 G·0
20:34:00.218918 db@open done T·59.3993ms
=============== May 5, 2020 (UTC) ===============
20:35:16.005332 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:35:16.017713 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:35:16.018377 db@open opening
20:35:16.021820 journal@recovery F·1
20:35:16.023772 journal@recovery recovering @11
20:35:16.027790 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:35:16.049240 db@janitor F·3 G·0
20:35:16.049614 db@open done T·30.5693ms
=============== May 5, 2020 (UTC) ===============
20:36:27.340157 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
20:36:27.351783 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:36:27.352786 db@open opening
20:36:27.355106 journal@recovery F·1
20:36:27.357403 journal@recovery recovering @13
20:36:27.364131 version@stat F·[1] S·127B[127B] Sc·[0.25]
20:36:27.384189 db@janitor F·3 G·0
20:36:27.384678 db@open done T·31.3442ms

BIN
data/queues/task/MANIFEST-000016 View File


+ 66
- 0
docker-compose.yml View File

@@ -0,0 +1,66 @@
version: "2"

volumes:
gitea-data:
db:
drone-db:

networks:
default:
external:
name: ${DEFAULT_NETWORK}

services:
gitea-server:
image: gitea/gitea:latest
ports:
- 8380:3000
volumes:
- gitea-data:/data
- ./data:/data/gitea
restart: always
external_links:
- gitea-db
depends_on:
- gitea-db

gitea-db:
image: postgres:alpine
ports:
- 5440:5432
restart: always
volumes:
- db:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=gitea
- POSTGRES_DB=gitea

drone-server:
image: drone/drone:1
ports:
- 8381:8000
volumes:
- drone-db:/var/lib/drone/
restart: always
environment:
- DRONE_GITEA_SERVER=https://gitea.udux.com
- DRONE_SERVER_HOST=cloud.drone.io
- DRONE_GITEA_CLIENT_ID=e8c6d970-e7cd-4a26-ae09-0e1fb6245108
- DRONE_GITEA_CLIENT_SECRET=T3RXkLsWHqVcv5MqnDX4NFaQJY1HvdKeptODXppELOY=
- DRONE_RPC_SECRET=254b98543ee99909e8d9384d58be5ff8
- DRONE_SERVER_HOST="cloud.drone.io"
- DRONE_SERVER_PROTO="https"
depends_on:
- gitea-server

drone-agent:
image: drone/drone:0.7
command: agent
restart: always
depends_on:
- drone-server
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DRONE_SERVER=ws://drone-server:8000/ws/broker
- DRONE_SECRET=test

+ 70
- 0
docker-compose08.yml View File

@@ -0,0 +1,70 @@
version: "2"

volumes:
gitea-data:
db:
drone-db:

networks:
default:
external:
name: ${DEFAULT_NETWORK}

services:
gitea-server:
image: gitea/gitea:1
environment:
- USER_UID=1000
- USER_GID=1000
ports:
- 8300:8300
volumes:
- gitea-data:/data
- ./data:/data/gitea
restart: always
external_links:
- gitea-db
depends_on:
- gitea-db
gitea-db:
image: postgres:alpine
ports:
- 5400:5432
restart: always
volumes:
- db:/var/lib/postgresql/data
environment:
- POSTGRES_USER=gitea
- POSTGRES_PASSWORD=gitea
- POSTGRES_DB=gitea
drone-server:
image: drone/drone:0.8
ports:
- 8381:8000
- 9000:9000
volumes:
- drone-db:/var/lib/drone/
restart: always
environment:
- DRONE_OPEN=true
- DRONE_HOST=http://drone-server:8381
- DRONE_SECRET=test
- DRONE_GITEA=true
- DRONE_GITEA_URL=http://gitea-server:3000/
- DRONE_GITHUB_CLIENT=06dfc8dda6d50bd57811
- DRONE_GITHUB_SECRET=71f984773d1b4ff9494e8b2c0a92ceb96c668919
- DRONE_NETWORK=${DEFAULT_NETWORK}
depends_on:
- gitea-server

drone-agent:
image: drone/agent:1
command: agent
restart: always
depends_on:
- drone-server
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DRONE_SERVER=drone-server:9000
- DRONE_SECRET=test

Loading…
Cancel
Save