From f6c14657f8ccba6d8e134a28656eb8fe50c65181 Mon Sep 17 00:00:00 2001 From: Shaquille Soekhlal Date: Mon, 28 Mar 2022 17:02:00 +0200 Subject: [PATCH 1/2] Add '.drone.yml' --- .drone.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..dc94ce4 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,22 @@ +kind: pipeline +type: docker +name: default + +trigger: + repo: + include: + - Hello_User/mirror-test + +steps: +- name: Fetch Upstream + image: archlinux:base-devel + commands: + - git remote add upstream https://git.tau.aperturect.com/Hello_User/mirror-test.git + - git fetch upstream + - git merge upstream/main + - git push +- name: Build linux-vfio + image: archlinux:base-devel + commands: + - pacman -Syu --noconfirm + - MAKEFLAGS="-j$(nproc)" makepkg --syncdeps \ No newline at end of file From 5384f085d03bdcfa5b199ce087efd332d51afe09 Mon Sep 17 00:00:00 2001 From: Shaquille Soekhlal Date: Mon, 28 Mar 2022 17:07:38 +0200 Subject: [PATCH 2/2] Update '.drone.yml' --- .drone.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.drone.yml b/.drone.yml index dc94ce4..eda3ff9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,6 +6,8 @@ trigger: repo: include: - Hello_User/mirror-test + event: + - push steps: - name: Fetch Upstream