From 062c4c89c8aadb3ed32824edac07322d549aff1e Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Fri, 29 Jan 2021 13:27:54 +1300 Subject: [PATCH] Remove CI --- .github/workflows/lxc-build.yml | 47 --------------------------------- readme.md | 14 +++------- 2 files changed, 4 insertions(+), 57 deletions(-) delete mode 100644 .github/workflows/lxc-build.yml diff --git a/.github/workflows/lxc-build.yml b/.github/workflows/lxc-build.yml deleted file mode 100644 index 7dadb82..0000000 --- a/.github/workflows/lxc-build.yml +++ /dev/null @@ -1,47 +0,0 @@ ---- - -name: LXC Build - -on: - push: - workflow_dispatch: - -jobs: - packer: - runs-on: ubuntu-latest - name: packer - - steps: - - name: Checkout Repository - uses: actions/checkout@v2 - - - name: Install Go - uses: actions/setup-go@v2 - with: - go-version: '^1.14.14' - - - name: Install Distrobuilder - run: | - sudo apt update - sudo apt install -y debootstrap rsync gpg squashfs-tools git - sudo go get -x github.com/lxc/distrobuilder/distrobuilder - sudo python3 -m pip install pyyaml - # build container - - name: Build Artifact - run: | - python3 configure.py - sudo /home/runner/go/bin/distrobuilder build-lxc build.yaml - working-directory: container - - - name: chown everything - run: | - sudo chown -R runner:runner . - working-directory: container - - # Upload container - - uses: actions/upload-artifact@v2 - with: - name: lxc-container - path: | - container/output-piston-bionic/meta.tar.xz - container/output-piston-bionic/rootfs.tar.xz \ No newline at end of file diff --git a/readme.md b/readme.md index 8506c0f..a7b3c34 100644 --- a/readme.md +++ b/readme.md @@ -141,15 +141,6 @@ cd piston/lxc #### Installation (simple) -- `wget [latest container url] -o container.zip` -- `unzip container.zip` -- `lxc-create -n piston -t local -- --metadata meta.tar.xz --fstree rootfs.tar.xz` -- `cd ../lxc && ./start` -- Good to go! - - -#### Installation (advanced) - - Install additional dependencies python3, pip and distrobuilder - `cd ../container && ./build.sh` - Wait, it may take up to an hour. @@ -157,7 +148,10 @@ cd piston/lxc - `cd ../lxc && ./start` - Good to go! -Alternatively, see `var/install.txt` for how to build the container manually + +#### Installation (advanced) + +- See `var/install.txt` for how to build the container manually #### CLI Usage - `cli/execute [language] [file path] [args]`