From bfdf7653e0c46127bb889a5f73eea803bea1d81a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20M=C3=BCller?= Date: Wed, 17 Aug 2022 14:23:41 -0700 Subject: [PATCH] Rename travis-ci/ directory to ci/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We are no longer using Travis. As such, we should move away from a lot of CI functionality located in a folder called travis-ci/. This change renames the travis-ci/ directory to the more generic ci/. To preserve backwards compatibility until all "consumers" have transitioned, we add a symbolic link called travis-ci back. It will be removed in the near term future. Signed-off-by: Daniel Müller --- {travis-ci => ci}/diffs/.do_not_use_dot_patch_here | 0 {travis-ci => ci}/diffs/001-fix-oob-write-in-test_verifier.diff | 0 {travis-ci => ci}/managers/debian.sh | 2 +- {travis-ci => ci}/managers/test_compile.sh | 0 {travis-ci => ci}/managers/travis_wait.bash | 0 {travis-ci => ci}/managers/ubuntu.sh | 0 {travis-ci => ci}/rootfs/mkrootfs_arch.sh | 0 {travis-ci => ci}/rootfs/mkrootfs_debian.sh | 0 {travis-ci => ci}/rootfs/mkrootfs_tweak.sh | 0 {travis-ci => ci}/rootfs/s390x-self-hosted-builder/README.md | 0 .../s390x-self-hosted-builder/actions-runner-libbpf.Dockerfile | 0 .../s390x-self-hosted-builder/actions-runner-libbpf.service | 0 .../rootfs/s390x-self-hosted-builder/fs/usr/bin/actions-runner | 0 .../rootfs/s390x-self-hosted-builder/fs/usr/bin/entrypoint | 0 .../rootfs/s390x-self-hosted-builder/qemu-user-static.service | 0 {travis-ci => ci}/vmtest/configs/ALLOWLIST-4.9.0 | 0 {travis-ci => ci}/vmtest/configs/ALLOWLIST-5.5.0 | 0 {travis-ci => ci}/vmtest/configs/DENYLIST-5.5.0 | 0 {travis-ci => ci}/vmtest/configs/DENYLIST-latest | 0 {travis-ci => ci}/vmtest/configs/DENYLIST-latest.s390x | 0 {travis-ci => ci}/vmtest/helpers.sh | 0 {travis-ci => ci}/vmtest/run_selftests.sh | 0 travis-ci | 1 + 23 files changed, 2 insertions(+), 1 deletion(-) rename {travis-ci => ci}/diffs/.do_not_use_dot_patch_here (100%) rename {travis-ci => ci}/diffs/001-fix-oob-write-in-test_verifier.diff (100%) rename {travis-ci => ci}/managers/debian.sh (97%) rename {travis-ci => ci}/managers/test_compile.sh (100%) rename {travis-ci => ci}/managers/travis_wait.bash (100%) rename {travis-ci => ci}/managers/ubuntu.sh (100%) rename {travis-ci => ci}/rootfs/mkrootfs_arch.sh (100%) rename {travis-ci => ci}/rootfs/mkrootfs_debian.sh (100%) rename {travis-ci => ci}/rootfs/mkrootfs_tweak.sh (100%) rename {travis-ci => ci}/rootfs/s390x-self-hosted-builder/README.md (100%) rename {travis-ci => ci}/rootfs/s390x-self-hosted-builder/actions-runner-libbpf.Dockerfile (100%) rename {travis-ci => ci}/rootfs/s390x-self-hosted-builder/actions-runner-libbpf.service (100%) rename {travis-ci => ci}/rootfs/s390x-self-hosted-builder/fs/usr/bin/actions-runner (100%) rename {travis-ci => ci}/rootfs/s390x-self-hosted-builder/fs/usr/bin/entrypoint (100%) rename {travis-ci => ci}/rootfs/s390x-self-hosted-builder/qemu-user-static.service (100%) rename {travis-ci => ci}/vmtest/configs/ALLOWLIST-4.9.0 (100%) rename {travis-ci => ci}/vmtest/configs/ALLOWLIST-5.5.0 (100%) rename {travis-ci => ci}/vmtest/configs/DENYLIST-5.5.0 (100%) rename {travis-ci => ci}/vmtest/configs/DENYLIST-latest (100%) rename {travis-ci => ci}/vmtest/configs/DENYLIST-latest.s390x (100%) rename {travis-ci => ci}/vmtest/helpers.sh (100%) rename {travis-ci => ci}/vmtest/run_selftests.sh (100%) create mode 120000 travis-ci diff --git a/travis-ci/diffs/.do_not_use_dot_patch_here b/ci/diffs/.do_not_use_dot_patch_here similarity index 100% rename from travis-ci/diffs/.do_not_use_dot_patch_here rename to ci/diffs/.do_not_use_dot_patch_here diff --git a/travis-ci/diffs/001-fix-oob-write-in-test_verifier.diff b/ci/diffs/001-fix-oob-write-in-test_verifier.diff similarity index 100% rename from travis-ci/diffs/001-fix-oob-write-in-test_verifier.diff rename to ci/diffs/001-fix-oob-write-in-test_verifier.diff diff --git a/travis-ci/managers/debian.sh b/ci/managers/debian.sh similarity index 97% rename from travis-ci/managers/debian.sh rename to ci/managers/debian.sh index bf1c060..bb96114 100755 --- a/travis-ci/managers/debian.sh +++ b/ci/managers/debian.sh @@ -76,7 +76,7 @@ for phase in "${PHASES[@]}"; do info "install" docker_exec make -j$((4*$(nproc))) -C src OBJDIR=../build DESTDIR=../install install info "link binary" - docker_exec bash -c "EXTRA_CFLAGS=\"${EXTRA_CFLAGS}\" EXTRA_LDFLAGS=\"${EXTRA_LDFLAGS}\" ./travis-ci/managers/test_compile.sh" + docker_exec bash -c "EXTRA_CFLAGS=\"${EXTRA_CFLAGS}\" EXTRA_LDFLAGS=\"${EXTRA_LDFLAGS}\" ./ci/managers/test_compile.sh" ;; CLEANUP) info "Cleanup phase" diff --git a/travis-ci/managers/test_compile.sh b/ci/managers/test_compile.sh similarity index 100% rename from travis-ci/managers/test_compile.sh rename to ci/managers/test_compile.sh diff --git a/travis-ci/managers/travis_wait.bash b/ci/managers/travis_wait.bash similarity index 100% rename from travis-ci/managers/travis_wait.bash rename to ci/managers/travis_wait.bash diff --git a/travis-ci/managers/ubuntu.sh b/ci/managers/ubuntu.sh similarity index 100% rename from travis-ci/managers/ubuntu.sh rename to ci/managers/ubuntu.sh diff --git a/travis-ci/rootfs/mkrootfs_arch.sh b/ci/rootfs/mkrootfs_arch.sh similarity index 100% rename from travis-ci/rootfs/mkrootfs_arch.sh rename to ci/rootfs/mkrootfs_arch.sh diff --git a/travis-ci/rootfs/mkrootfs_debian.sh b/ci/rootfs/mkrootfs_debian.sh similarity index 100% rename from travis-ci/rootfs/mkrootfs_debian.sh rename to ci/rootfs/mkrootfs_debian.sh diff --git a/travis-ci/rootfs/mkrootfs_tweak.sh b/ci/rootfs/mkrootfs_tweak.sh similarity index 100% rename from travis-ci/rootfs/mkrootfs_tweak.sh rename to ci/rootfs/mkrootfs_tweak.sh diff --git a/travis-ci/rootfs/s390x-self-hosted-builder/README.md b/ci/rootfs/s390x-self-hosted-builder/README.md similarity index 100% rename from travis-ci/rootfs/s390x-self-hosted-builder/README.md rename to ci/rootfs/s390x-self-hosted-builder/README.md diff --git a/travis-ci/rootfs/s390x-self-hosted-builder/actions-runner-libbpf.Dockerfile b/ci/rootfs/s390x-self-hosted-builder/actions-runner-libbpf.Dockerfile similarity index 100% rename from travis-ci/rootfs/s390x-self-hosted-builder/actions-runner-libbpf.Dockerfile rename to ci/rootfs/s390x-self-hosted-builder/actions-runner-libbpf.Dockerfile diff --git a/travis-ci/rootfs/s390x-self-hosted-builder/actions-runner-libbpf.service b/ci/rootfs/s390x-self-hosted-builder/actions-runner-libbpf.service similarity index 100% rename from travis-ci/rootfs/s390x-self-hosted-builder/actions-runner-libbpf.service rename to ci/rootfs/s390x-self-hosted-builder/actions-runner-libbpf.service diff --git a/travis-ci/rootfs/s390x-self-hosted-builder/fs/usr/bin/actions-runner b/ci/rootfs/s390x-self-hosted-builder/fs/usr/bin/actions-runner similarity index 100% rename from travis-ci/rootfs/s390x-self-hosted-builder/fs/usr/bin/actions-runner rename to ci/rootfs/s390x-self-hosted-builder/fs/usr/bin/actions-runner diff --git a/travis-ci/rootfs/s390x-self-hosted-builder/fs/usr/bin/entrypoint b/ci/rootfs/s390x-self-hosted-builder/fs/usr/bin/entrypoint similarity index 100% rename from travis-ci/rootfs/s390x-self-hosted-builder/fs/usr/bin/entrypoint rename to ci/rootfs/s390x-self-hosted-builder/fs/usr/bin/entrypoint diff --git a/travis-ci/rootfs/s390x-self-hosted-builder/qemu-user-static.service b/ci/rootfs/s390x-self-hosted-builder/qemu-user-static.service similarity index 100% rename from travis-ci/rootfs/s390x-self-hosted-builder/qemu-user-static.service rename to ci/rootfs/s390x-self-hosted-builder/qemu-user-static.service diff --git a/travis-ci/vmtest/configs/ALLOWLIST-4.9.0 b/ci/vmtest/configs/ALLOWLIST-4.9.0 similarity index 100% rename from travis-ci/vmtest/configs/ALLOWLIST-4.9.0 rename to ci/vmtest/configs/ALLOWLIST-4.9.0 diff --git a/travis-ci/vmtest/configs/ALLOWLIST-5.5.0 b/ci/vmtest/configs/ALLOWLIST-5.5.0 similarity index 100% rename from travis-ci/vmtest/configs/ALLOWLIST-5.5.0 rename to ci/vmtest/configs/ALLOWLIST-5.5.0 diff --git a/travis-ci/vmtest/configs/DENYLIST-5.5.0 b/ci/vmtest/configs/DENYLIST-5.5.0 similarity index 100% rename from travis-ci/vmtest/configs/DENYLIST-5.5.0 rename to ci/vmtest/configs/DENYLIST-5.5.0 diff --git a/travis-ci/vmtest/configs/DENYLIST-latest b/ci/vmtest/configs/DENYLIST-latest similarity index 100% rename from travis-ci/vmtest/configs/DENYLIST-latest rename to ci/vmtest/configs/DENYLIST-latest diff --git a/travis-ci/vmtest/configs/DENYLIST-latest.s390x b/ci/vmtest/configs/DENYLIST-latest.s390x similarity index 100% rename from travis-ci/vmtest/configs/DENYLIST-latest.s390x rename to ci/vmtest/configs/DENYLIST-latest.s390x diff --git a/travis-ci/vmtest/helpers.sh b/ci/vmtest/helpers.sh similarity index 100% rename from travis-ci/vmtest/helpers.sh rename to ci/vmtest/helpers.sh diff --git a/travis-ci/vmtest/run_selftests.sh b/ci/vmtest/run_selftests.sh similarity index 100% rename from travis-ci/vmtest/run_selftests.sh rename to ci/vmtest/run_selftests.sh diff --git a/travis-ci b/travis-ci new file mode 120000 index 0000000..79778e5 --- /dev/null +++ b/travis-ci @@ -0,0 +1 @@ +ci \ No newline at end of file