code.gitea.io/gitea@v1.21.7/tests/mysql.ini.tmpl (about)

     1  APP_NAME = Gitea: Git with a cup of tea
     2  RUN_MODE = prod
     3  
     4  [database]
     5  DB_TYPE  = mysql
     6  HOST     = {{TEST_MYSQL_HOST}}
     7  NAME     = {{TEST_MYSQL_DBNAME}}
     8  USER     = {{TEST_MYSQL_USERNAME}}
     9  PASSWD   = {{TEST_MYSQL_PASSWORD}}
    10  SSL_MODE = disable
    11  
    12  [indexer]
    13  REPO_INDEXER_ENABLED = true
    14  REPO_INDEXER_PATH = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-mysql/indexers/repos.bleve
    15  ISSUE_INDEXER_TYPE = elasticsearch
    16  ISSUE_INDEXER_CONN_STR = http://elastic:changeme@elasticsearch:9200
    17  
    18  [queue.issue_indexer]
    19  TYPE = level
    20  DATADIR = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-mysql/indexers/issues.queue
    21  
    22  [queue]
    23  TYPE = immediate
    24  
    25  [queue.code_indexer]
    26  TYPE = immediate
    27  
    28  [queue.push_update]
    29  TYPE = immediate
    30  
    31  [repository]
    32  ROOT = {{REPO_TEST_DIR}}tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-mysql/gitea-repositories
    33  
    34  [repository.local]
    35  LOCAL_COPY_PATH = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-mysql/tmp/local-repo
    36  
    37  [repository.upload]
    38  TEMP_PATH = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-mysql/tmp/uploads
    39  
    40  [repository.signing]
    41  SIGNING_KEY = none
    42  
    43  [server]
    44  SSH_DOMAIN       = localhost
    45  HTTP_PORT        = 3001
    46  ROOT_URL         = http://localhost:3001/
    47  DISABLE_SSH      = false
    48  SSH_LISTEN_HOST  = localhost
    49  SSH_PORT         = 2201
    50  APP_DATA_PATH    = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-mysql/data
    51  BUILTIN_SSH_SERVER_USER = git
    52  START_SSH_SERVER = true
    53  OFFLINE_MODE     = false
    54  
    55  LFS_START_SERVER = true
    56  LFS_JWT_SECRET   = Tv_MjmZuHqpIY6GFl12ebgkRAMt4RlWt0v4EHKSXO0w
    57  SSH_TRUSTED_USER_CA_KEYS = ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCb4DC1dMFnJ6pXWo7GMxTchtzmJHYzfN6sZ9FAPFR4ijMLfGki+olvOMO5Fql1/yGnGfbELQa1S6y4shSvj/5K+zUFScmEXYf3Gcr87RqilLkyk16RS+cHNB1u87xTHbETaa3nyCJeGQRpd4IQ4NKob745mwDZ7jQBH8AZEng50Oh8y8fi8skBBBzaYp1ilgvzG740L7uex6fHV62myq0SXeCa+oJUjq326FU8y+Vsa32H8A3e7tOgXZPdt2TVNltx2S9H2WO8RMi7LfaSwARNfy1zu+bfR50r6ef8Yx5YKCMz4wWb1SHU1GS800mjOjlInLQORYRNMlSwR1+vLlVDciOqFapDSbj+YOVOawR0R1aqlSKpZkt33DuOBPx9qe6CVnIi7Z+Px/KqM+OLCzlLY/RS+LbxQpDWcfTVRiP+S5qRTcE3M3UioN/e0BE/1+MpX90IGpvVkA63ILYbKEa4bM3ASL7ChTCr6xN5XT+GpVJveFKK1cfNx9ExHI4rzYE=
    58  
    59  [mailer]
    60  ENABLED = true
    61  PROTOCOL = dummy
    62  FROM = mysql-{{TEST_TYPE}}-test@gitea.io
    63  
    64  [service]
    65  REGISTER_EMAIL_CONFIRM            = false
    66  REGISTER_MANUAL_CONFIRM           = false
    67  DISABLE_REGISTRATION              = false
    68  ENABLE_CAPTCHA                    = false
    69  REQUIRE_SIGNIN_VIEW               = false
    70  DEFAULT_KEEP_EMAIL_PRIVATE        = false
    71  DEFAULT_ALLOW_CREATE_ORGANIZATION = true
    72  NO_REPLY_ADDRESS                  = noreply.example.org
    73  ENABLE_NOTIFY_MAIL                = true
    74  
    75  [picture]
    76  DISABLE_GRAVATAR              = false
    77  ENABLE_FEDERATED_AVATAR       = false
    78  
    79  [session]
    80  PROVIDER        = file
    81  PROVIDER_CONFIG = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-mysql/data/sessions
    82  
    83  [log]
    84  MODE                 = {{TEST_LOGGER}}
    85  ROOT_PATH            = {{REPO_TEST_DIR}}mysql-log
    86  ENABLE_SSH_LOG       = true
    87  logger.xorm.MODE     = file
    88  
    89  [log.test]
    90  LEVEL                = Info
    91  COLORIZE             = true
    92  
    93  [log.file]
    94  LEVEL                = Debug
    95  
    96  [security]
    97  DISABLE_GIT_HOOKS = false
    98  INSTALL_LOCK   = true
    99  SECRET_KEY     = 9pCviYTWSb
   100  INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE0OTU1NTE2MTh9.hhSVGOANkaKk3vfCd2jDOIww4pUk0xtg9JRde5UogyQ
   101  
   102  [lfs]
   103  PATH = tests/{{TEST_TYPE}}/gitea-{{TEST_TYPE}}-mysql/data/lfs
   104  
   105  [packages]
   106  ENABLED = true
   107  
   108  [email.incoming]
   109  ; temporarily disabled because the incoming mail tests are flaky due to the IMAP server (during integration tests) couldn't be not ready in time sometimes.
   110  ENABLED = false
   111  HOST = smtpimap
   112  PORT = 993
   113  USERNAME = debug@localdomain.test
   114  PASSWORD = debug
   115  USE_TLS = true
   116  SKIP_TLS_VERIFY = true
   117  REPLY_TO_ADDRESS = incoming+%{token}@localhost
   118  
   119  [actions]
   120  ENABLED = true