mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-27 04:43:59 +01:00
Merge pull request 'ci: use mirror or bitnami images' (#4954) from viceice/forgejo:ci/use-mirror-images into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4954 Reviewed-by: Otto <otto@codeberg.org>
This commit is contained in:
commit
ad92ede00a
2 changed files with 13 additions and 13 deletions
|
@ -27,7 +27,7 @@ jobs:
|
||||||
if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}
|
if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: node:20-bookworm
|
image: code.forgejo.org/oci/node:20-bookworm
|
||||||
steps:
|
steps:
|
||||||
- name: event
|
- name: event
|
||||||
run: |
|
run: |
|
||||||
|
@ -52,7 +52,7 @@ jobs:
|
||||||
)
|
)
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: node:20-bookworm
|
image: code.forgejo.org/oci/node:20-bookworm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -45,12 +45,12 @@ jobs:
|
||||||
image: 'code.forgejo.org/oci/node:20-bookworm'
|
image: 'code.forgejo.org/oci/node:20-bookworm'
|
||||||
services:
|
services:
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
image: elasticsearch:7.17.22
|
image: docker.io/bitnami/elasticsearch:7
|
||||||
env:
|
env:
|
||||||
discovery.type: single-node
|
discovery.type: single-node
|
||||||
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
|
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
|
||||||
minio:
|
minio:
|
||||||
image: bitnami/minio:2024.3.30
|
image: docker.io/bitnami/minio:2024.3.30
|
||||||
options: >-
|
options: >-
|
||||||
--hostname gitea.minio
|
--hostname gitea.minio
|
||||||
env:
|
env:
|
||||||
|
@ -101,13 +101,13 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
cacher:
|
cacher:
|
||||||
# redis
|
# redis
|
||||||
- image: redis:7.2
|
- image: docker.io/bitnami/redis:7.2
|
||||||
port: 6379
|
port: 6379
|
||||||
# redict
|
# redict
|
||||||
- image: registry.redict.io/redict:7.3.0-scratch
|
- image: registry.redict.io/redict:7.3.0-scratch
|
||||||
port: 6379
|
port: 6379
|
||||||
# valkey
|
# valkey
|
||||||
- image: docker.io/valkey/valkey:7.2.5-alpine3.19
|
- image: docker.io/bitnami/valkey:7.2
|
||||||
port: 6379
|
port: 6379
|
||||||
# garnet
|
# garnet
|
||||||
- image: ghcr.io/microsoft/garnet-alpine:1.0.14
|
- image: ghcr.io/microsoft/garnet-alpine:1.0.14
|
||||||
|
@ -154,14 +154,14 @@ jobs:
|
||||||
image: 'code.forgejo.org/oci/node:20-bookworm'
|
image: 'code.forgejo.org/oci/node:20-bookworm'
|
||||||
services:
|
services:
|
||||||
mysql:
|
mysql:
|
||||||
image: 'docker.io/mysql:8-debian'
|
image: 'docker.io/bitnami/mysql:8.0'
|
||||||
env:
|
env:
|
||||||
MYSQL_ALLOW_EMPTY_PASSWORD: yes
|
ALLOW_EMPTY_PASSWORD: yes
|
||||||
MYSQL_DATABASE: testgitea
|
MYSQL_DATABASE: testgitea
|
||||||
#
|
#
|
||||||
# See also https://codeberg.org/forgejo/forgejo/issues/976
|
# See also https://codeberg.org/forgejo/forgejo/issues/976
|
||||||
#
|
#
|
||||||
cmd: ['mysqld', '--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']
|
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
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v3
|
- uses: https://code.forgejo.org/actions/checkout@v3
|
||||||
- uses: https://code.forgejo.org/actions/setup-go@v4
|
- uses: https://code.forgejo.org/actions/setup-go@v4
|
||||||
|
@ -200,7 +200,7 @@ jobs:
|
||||||
image: 'code.forgejo.org/oci/node:20-bookworm'
|
image: 'code.forgejo.org/oci/node:20-bookworm'
|
||||||
services:
|
services:
|
||||||
minio:
|
minio:
|
||||||
image: bitnami/minio:2024.3.30
|
image: docker.io/bitnami/minio:2024.3.30
|
||||||
env:
|
env:
|
||||||
MINIO_ROOT_USER: 123456
|
MINIO_ROOT_USER: 123456
|
||||||
MINIO_ROOT_PASSWORD: 12345678
|
MINIO_ROOT_PASSWORD: 12345678
|
||||||
|
|
Loading…
Reference in a new issue