docker-images: Changed path from Google Registry to GitHub
Replaced all instances of the Google Docker registry (gcr.io/gem5-test/) with the GitHub Docker registry (ghcr.io/gem5/).
This commit is contained in:
committed by
Bobby R. Bruce
parent
5b721b033f
commit
45df1dbb55
4
.github/workflows/compiler-tests.yaml
vendored
4
.github/workflows/compiler-tests.yaml
vendored
@@ -22,7 +22,7 @@ jobs:
|
||||
opts: [.opt, .fast]
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
timeout-minutes: 2880 # 48 hours
|
||||
container: gcr.io/gem5-test/${{ matrix.image }}:latest
|
||||
container: ghcr.io/gem5/${{ matrix.image }}:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
@@ -45,7 +45,7 @@ jobs:
|
||||
opts: [.opt]
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
timeout-minutes: 2880 # 48 hours
|
||||
container: gcr.io/gem5-test/${{ matrix.image }}:latest
|
||||
container: ghcr.io/gem5/${{ matrix.image }}:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
|
||||
14
.github/workflows/daily-tests.yaml
vendored
14
.github/workflows/daily-tests.yaml
vendored
@@ -39,7 +39,7 @@ jobs:
|
||||
command-line: --default=NULL PROTOCOL=MI_example -j $(nproc)
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
needs: name-artifacts
|
||||
container: gcr.io/gem5-test/ubuntu-22.04_all-dependencies:latest
|
||||
container: ghcr.io/gem5/ubuntu-22.04_all-dependencies:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
@@ -61,7 +61,7 @@ jobs:
|
||||
matrix:
|
||||
type: [fast, debug]
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
container: gcr.io/gem5-test/ubuntu-22.04_all-dependencies:latest
|
||||
container: ghcr.io/gem5/ubuntu-22.04_all-dependencies:latest
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -80,7 +80,7 @@ jobs:
|
||||
test-type: [arm_boot_tests, fs, gpu, insttest_se, learning_gem5, m5threads_test_atomic, memory, multi_isa, replacement_policies, riscv_boot_tests,
|
||||
stdlib, x86_boot_tests]
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
container: gcr.io/gem5-test/ubuntu-22.04_all-dependencies:latest
|
||||
container: ghcr.io/gem5/ubuntu-22.04_all-dependencies:latest
|
||||
needs: [name-artifacts, build-gem5]
|
||||
timeout-minutes: 1440 # 24 hours for entire matrix to run
|
||||
steps:
|
||||
@@ -169,7 +169,7 @@ jobs:
|
||||
matrix:
|
||||
test-type: [gem5-library-example-x86-ubuntu-run-ALL-x86_64-opt, gem5-library-example-riscv-ubuntu-run-ALL-x86_64-opt, lupv-example-ALL-x86_64-opt,
|
||||
gem5-library-example-arm-ubuntu-run-test-ALL-x86_64-opt, gem5-library-example-riscvmatched-hello-ALL-x86_64-opt]
|
||||
container: gcr.io/gem5-test/ubuntu-22.04_all-dependencies:latest
|
||||
container: ghcr.io/gem5/ubuntu-22.04_all-dependencies:latest
|
||||
needs: [name-artifacts, build-gem5]
|
||||
timeout-minutes: 1440 # 24 hours
|
||||
steps:
|
||||
@@ -209,7 +209,7 @@ jobs:
|
||||
# ext/sst/sst/example.py.
|
||||
sst-test:
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
container: gcr.io/gem5-test/sst-env:latest
|
||||
container: ghcr.io/gem5/sst-env:latest
|
||||
timeout-minutes: 180
|
||||
|
||||
steps:
|
||||
@@ -234,7 +234,7 @@ jobs:
|
||||
# simulation with it.
|
||||
systemc-test:
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
container: gcr.io/gem5-test/systemc-env:latest
|
||||
container: ghcr.io/gem5/systemc-env:latest
|
||||
timeout-minutes: 180
|
||||
|
||||
steps:
|
||||
@@ -258,7 +258,7 @@ jobs:
|
||||
# Runs the gem5 Nighyly GPU tests.
|
||||
gpu-tests:
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
container: gcr.io/gem5-test/gcn-gpu:latest
|
||||
container: ghcr.io/gem5/gcn-gpu:latest
|
||||
timeout-minutes: 720 # 12 hours
|
||||
|
||||
steps:
|
||||
|
||||
4
.github/workflows/gpu-tests.yaml
vendored
4
.github/workflows/gpu-tests.yaml
vendored
@@ -13,7 +13,7 @@ on:
|
||||
jobs:
|
||||
build-gem5:
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
container: gcr.io/gem5-test/gcn-gpu:latest
|
||||
container: ghcr.io/gem5/gcn-gpu:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
|
||||
HACC-tests:
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
container: gcr.io/gem5-test/gcn-gpu:latest
|
||||
container: ghcr.io/gem5/gcn-gpu:latest
|
||||
needs: build-gem5
|
||||
timeout-minutes: 120 # 2 hours
|
||||
steps:
|
||||
|
||||
6
.github/workflows/weekly-tests.yaml
vendored
6
.github/workflows/weekly-tests.yaml
vendored
@@ -13,7 +13,7 @@ on:
|
||||
jobs:
|
||||
build-gem5:
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
container: gcr.io/gem5-test/ubuntu-22.04_all-dependencies:latest
|
||||
container: ghcr.io/gem5-test/ubuntu-22.04_all-dependencies:latest
|
||||
outputs:
|
||||
build-name: ${{ steps.artifact-name.outputs.name }}
|
||||
steps:
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
matrix:
|
||||
test-type: [gem5_library_example_tests, gem5_resources, parsec_benchmarks, x86_boot_tests]
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
container: gcr.io/gem5-test/ubuntu-22.04_all-dependencies:latest
|
||||
container: ghcr.io/gem5/ubuntu-22.04_all-dependencies:latest
|
||||
needs: [build-gem5]
|
||||
timeout-minutes: 4320 # 3 days
|
||||
steps:
|
||||
@@ -78,7 +78,7 @@ jobs:
|
||||
|
||||
dramsys-tests:
|
||||
runs-on: [self-hosted, linux, x64]
|
||||
container: gcr.io/gem5-test/ubuntu-22.04_all-dependencies:latest
|
||||
container: ghcr.io/gem5/ubuntu-22.04_all-dependencies:latest
|
||||
timeout-minutes: 4320 # 3 days
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
@@ -73,7 +73,7 @@ opts=(".opt"
|
||||
builds_per_compiler=1
|
||||
|
||||
# Base URL of the gem5 testing images.
|
||||
base_url="gcr.io/gem5-test"
|
||||
base_url="ghcr.io/gem5"
|
||||
|
||||
# Arguments passed into scons on every build target test.
|
||||
if [ $# -eq 0 ];then
|
||||
|
||||
@@ -37,8 +37,8 @@
|
||||
|
||||
set -e
|
||||
|
||||
DOCKER_IMAGE_ALL_DEP=gcr.io/gem5-test/ubuntu-22.04_all-dependencies:latest
|
||||
DOCKER_IMAGE_CLANG_COMPILE=gcr.io/gem5-test/clang-version-14:latest
|
||||
DOCKER_IMAGE_ALL_DEP=ghcr.io/gem5/ubuntu-22.04_all-dependencies:latest
|
||||
DOCKER_IMAGE_CLANG_COMPILE=ghcr.io/gem5/clang-version-14:latest
|
||||
PRESUBMIT_STAGE2=tests/jenkins/presubmit-stage2.sh
|
||||
GEM5ART_TESTS=tests/jenkins/gem5art-tests.sh
|
||||
|
||||
|
||||
@@ -70,13 +70,13 @@ unit_test () {
|
||||
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" --rm \
|
||||
gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \
|
||||
ghcr.io/gem5/ubuntu-22.04_all-dependencies:${tag} \
|
||||
scons build/ALL/unittests.${build} -j${compile_threads} \
|
||||
--ignore-style
|
||||
}
|
||||
|
||||
# Ensure we have the latest docker images.
|
||||
docker pull gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag}
|
||||
docker pull ghcr.io/gem5/ubuntu-22.04_all-dependencies:${tag}
|
||||
|
||||
# Run the unit tests.
|
||||
unit_test opt
|
||||
@@ -85,7 +85,7 @@ unit_test debug
|
||||
# Run the gem5 long tests.
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}"/tests --memory="${docker_mem_limit}" --rm \
|
||||
gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \
|
||||
ghcr.io/gem5/ubuntu-22.04_all-dependencies:${tag} \
|
||||
./main.py run --length long -j${compile_threads} -t${run_threads} -vv
|
||||
|
||||
# Unfortunately, due docker being unable run KVM, we do so separately.
|
||||
@@ -105,10 +105,10 @@ cd "${gem5_root}/tests"
|
||||
cd "${gem5_root}"
|
||||
|
||||
# For the GPU tests we compile and run the GPU ISA inside a gcn-gpu container.
|
||||
docker pull gcr.io/gem5-test/gcn-gpu:${tag}
|
||||
docker pull ghcr.io/gem5/gcn-gpu:${tag}
|
||||
docker run --rm -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" \
|
||||
gcr.io/gem5-test/gcn-gpu:${tag} bash -c \
|
||||
ghcr.io/gem5/gcn-gpu:${tag} bash -c \
|
||||
"scons build/${gpu_isa}/gem5.opt -j${compile_threads} --ignore-style \
|
||||
|| (rm -rf build && scons build/${gpu_isa}/gem5.opt \
|
||||
-j${compile_threads} --ignore-style)"
|
||||
@@ -123,7 +123,7 @@ mkdir -p tests/testing-results
|
||||
# basic GPU functionality is working.
|
||||
docker run --rm -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" \
|
||||
gcr.io/gem5-test/gcn-gpu:${tag} build/${gpu_isa}/gem5.opt \
|
||||
ghcr.io/gem5/gcn-gpu:${tag} build/${gpu_isa}/gem5.opt \
|
||||
configs/example/apu_se.py --reg-alloc-policy=dynamic -n3 -c square
|
||||
|
||||
# get HeteroSync
|
||||
@@ -135,7 +135,7 @@ wget -qN http://dist.gem5.org/dist/develop/test-progs/heterosync/gcn3/allSyncPri
|
||||
# atomics are tested.
|
||||
docker run --rm -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" \
|
||||
gcr.io/gem5-test/gcn-gpu:${tag} build/${gpu_isa}/gem5.opt \
|
||||
ghcr.io/gem5/gcn-gpu:${tag} build/${gpu_isa}/gem5.opt \
|
||||
configs/example/apu_se.py --reg-alloc-policy=dynamic -n3 -c \
|
||||
allSyncPrims-1kernel --options="sleepMutex 10 16 4"
|
||||
|
||||
@@ -146,7 +146,7 @@ docker run --rm -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
# atomics are tested.
|
||||
docker run --rm -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" \
|
||||
gcr.io/gem5-test/gcn-gpu:${tag} build/${gpu_isa}/gem5.opt \
|
||||
ghcr.io/gem5/gcn-gpu:${tag} build/${gpu_isa}/gem5.opt \
|
||||
configs/example/apu_se.py --reg-alloc-policy=dynamic -n3 -c \
|
||||
allSyncPrims-1kernel --options="lfTreeBarrUniq 10 16 4"
|
||||
|
||||
@@ -157,7 +157,7 @@ build_and_run_SST () {
|
||||
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --rm --memory="${docker_mem_limit}" \
|
||||
gcr.io/gem5-test/sst-env:${tag} bash -c "\
|
||||
ghcr.io/gem5/sst-env:${tag} bash -c "\
|
||||
scons build/${isa}/libgem5_${variant}.so -j${compile_threads} \
|
||||
--without-tcmalloc --duplicate-sources --ignore-style && \
|
||||
cd ext/sst && \
|
||||
@@ -173,7 +173,7 @@ build_and_run_systemc () {
|
||||
rm -rf "${gem5_root}/build/ARM"
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" --rm \
|
||||
gcr.io/gem5-test/ubuntu-22.04_min-dependencies:${tag} bash -c "\
|
||||
ghcr.io/gem5/ubuntu-22.04_min-dependencies:${tag} bash -c "\
|
||||
scons -j${compile_threads} --ignore-style --duplicate-sources \
|
||||
build/ARM/gem5.opt && \
|
||||
scons --with-cxx-config --without-python --without-tcmalloc \
|
||||
@@ -183,7 +183,7 @@ scons --with-cxx-config --without-python --without-tcmalloc \
|
||||
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" --rm \
|
||||
gcr.io/gem5-test/systemc-env:${tag} bash -c "\
|
||||
ghcr.io/gem5/systemc-env:${tag} bash -c "\
|
||||
cd util/systemc/gem5_within_systemc && \
|
||||
make -j${compile_threads} && \
|
||||
../../../build/ARM/gem5.opt ../../../configs/deprecated/example/se.py -c \
|
||||
|
||||
@@ -72,7 +72,7 @@ fi
|
||||
# Run the gem5 very-long tests.
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}"/tests --memory="${docker_mem_limit}" --rm \
|
||||
gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \
|
||||
ghcr.io/gem5/ubuntu-22.04_all-dependencies:${tag} \
|
||||
./main.py run --length very-long -j${threads} -t${run_threads} -vv
|
||||
|
||||
mkdir -p tests/testing-results
|
||||
@@ -81,7 +81,7 @@ mkdir -p tests/testing-results
|
||||
# before pulling gem5 resources, make sure it doesn't exist already
|
||||
docker run -u $UID:$GID --rm --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" \
|
||||
gcr.io/gem5-test/gcn-gpu:${tag} bash -c \
|
||||
ghcr.io/gem5/gcn-gpu:${tag} bash -c \
|
||||
"rm -rf ${gem5_root}/gem5-resources"
|
||||
|
||||
# delete m5out, Pannotia datasets, and output files in case a failed regression
|
||||
@@ -127,7 +127,7 @@ cd "${gem5_root}"
|
||||
# avoid needing to set all of these, we instead build a docker for it, which
|
||||
# has all these variables pre-set in its Dockerfile
|
||||
# To avoid compiling gem5 multiple times, all GPU benchmarks will use this
|
||||
docker pull gcr.io/gem5-test/gcn-gpu:${tag}
|
||||
docker pull ghcr.io/gem5/gcn-gpu:${tag}
|
||||
docker build -t hacc-test-weekly ${gem5_root}/gem5-resources/src/gpu/halo-finder
|
||||
|
||||
docker run --rm -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
@@ -419,23 +419,23 @@ rm -rf "${gem5_root}/build/ALL"
|
||||
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" --rm \
|
||||
gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \
|
||||
ghcr.io/gem5/ubuntu-22.04_all-dependencies:${tag} \
|
||||
scons build/ALL/gem5.opt -j${threads}
|
||||
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" --rm \
|
||||
gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \
|
||||
ghcr.io/gem5/ubuntu-22.04_all-dependencies:${tag} \
|
||||
./build/ALL/gem5.opt \
|
||||
configs/example/gem5_library/dramsys/arm-hello-dramsys.py
|
||||
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" --rm \
|
||||
gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \
|
||||
ghcr.io/gem5/ubuntu-22.04_all-dependencies:${tag} \
|
||||
./build/ALL/gem5.opt \
|
||||
configs/example/gem5_library/dramsys/dramsys-traffic.py
|
||||
|
||||
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
|
||||
"${gem5_root}" --memory="${docker_mem_limit}" --rm \
|
||||
gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \
|
||||
ghcr.io/gem5/ubuntu-22.04_all-dependencies:${tag} \
|
||||
./build/ALL/gem5.opt \
|
||||
configs/example/dramsys.py
|
||||
|
||||
Reference in New Issue
Block a user