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:
Michael Kriese 2024-08-14 11:41:12 +00:00
commit ad92ede00a
2 changed files with 13 additions and 13 deletions

View file

@ -27,7 +27,7 @@ jobs:
if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}
runs-on: docker
container:
image: node:20-bookworm
image: code.forgejo.org/oci/node:20-bookworm
steps:
- name: event
run: |
@ -52,7 +52,7 @@ jobs:
)
runs-on: docker
container:
image: node:20-bookworm
image: code.forgejo.org/oci/node:20-bookworm
steps:
- uses: actions/checkout@v4
with:

View file

@ -45,12 +45,12 @@ jobs:
image: 'code.forgejo.org/oci/node:20-bookworm'
services:
elasticsearch:
image: elasticsearch:7.17.22
image: docker.io/bitnami/elasticsearch:7
env:
discovery.type: single-node
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
minio:
image: bitnami/minio:2024.3.30
image: docker.io/bitnami/minio:2024.3.30
options: >-
--hostname gitea.minio
env:
@ -101,13 +101,13 @@ jobs:
matrix:
cacher:
# redis
- image: redis:7.2
- image: docker.io/bitnami/redis:7.2
port: 6379
# redict
- image: registry.redict.io/redict:7.3.0-scratch
port: 6379
# valkey
- image: docker.io/valkey/valkey:7.2.5-alpine3.19
- image: docker.io/bitnami/valkey:7.2
port: 6379
# garnet
- image: ghcr.io/microsoft/garnet-alpine:1.0.14
@ -154,14 +154,14 @@ jobs:
image: 'code.forgejo.org/oci/node:20-bookworm'
services:
mysql:
image: 'docker.io/mysql:8-debian'
image: 'docker.io/bitnami/mysql:8.0'
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: testgitea
#
# 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:
- uses: https://code.forgejo.org/actions/checkout@v3
- uses: https://code.forgejo.org/actions/setup-go@v4
@ -200,7 +200,7 @@ jobs:
image: 'code.forgejo.org/oci/node:20-bookworm'
services:
minio:
image: bitnami/minio:2024.3.30
image: docker.io/bitnami/minio:2024.3.30
env:
MINIO_ROOT_USER: 123456
MINIO_ROOT_PASSWORD: 12345678