loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request 'ci: use tmpfs for service storage' (#5958) from viceice/ci/use-tmpfs into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5958
Reviewed-by: Otto <otto@codeberg.org>

Otto b92863b0 91fda7ee

+9 -5
+9 -5
.forgejo/workflows/testing.yml
··· 57 57 services: 58 58 elasticsearch: 59 59 image: docker.io/bitnami/elasticsearch:7 60 + options: --tmpfs /bitnami/elasticsearch/data 60 61 env: 61 62 discovery.type: single-node 62 63 ES_JAVA_OPTS: "-Xms512m -Xmx512m" 63 64 minio: 64 65 image: docker.io/bitnami/minio:2024.8.17 65 66 options: >- 66 - --hostname gitea.minio 67 + --hostname gitea.minio --tmpfs /bitnami/minio/data 67 68 env: 68 69 MINIO_DOMAIN: minio 69 70 MINIO_ROOT_USER: 123456 ··· 132 133 cacher: 133 134 # redis 134 135 - image: docker.io/bitnami/redis:7.2 135 - port: 6379 136 + options: --tmpfs /bitnami/redis/data 136 137 # redict 137 138 - image: registry.redict.io/redict:7.3.0-scratch 138 - port: 6379 139 + options: --tmpfs /data 139 140 # valkey 140 141 - image: docker.io/bitnami/valkey:7.2 141 - port: 6379 142 + options: --tmpfs /bitnami/redis/data 142 143 # garnet 143 144 - image: ghcr.io/microsoft/garnet-alpine:1.0.14 144 - port: 6379 145 + options: --tmpfs /data 145 146 services: 146 147 cacher: 147 148 image: ${{ matrix.cacher.image }} ··· 177 178 # See also https://codeberg.org/forgejo/forgejo/issues/976 178 179 # 179 180 MYSQL_EXTRA_FLAGS: --innodb-adaptive-flushing=OFF --innodb-buffer-pool-size=4G --innodb-log-buffer-size=128M --innodb-flush-log-at-trx-commit=0 --innodb-flush-log-at-timeout=30 --innodb-flush-method=nosync --innodb-fsync-threshold=1000000000 --disable-log-bin 181 + options: --tmpfs /bitnami/mysql/data 180 182 steps: 181 183 - uses: https://code.forgejo.org/actions/checkout@v4 182 184 - uses: ./.forgejo/workflows-composite/setup-env ··· 202 204 env: 203 205 MINIO_ROOT_USER: 123456 204 206 MINIO_ROOT_PASSWORD: 12345678 207 + options: --tmpfs /bitnami/minio/data 205 208 ldap: 206 209 image: docker.io/gitea/test-openldap:latest 207 210 pgsql: ··· 209 212 env: 210 213 POSTGRES_DB: test 211 214 POSTGRES_PASSWORD: postgres 215 + options: --tmpfs /var/lib/postgresql/data 212 216 steps: 213 217 - uses: https://code.forgejo.org/actions/checkout@v4 214 218 - uses: ./.forgejo/workflows-composite/setup-env