Remove CI

This commit is contained in:
Thomas Hobson 2021-01-29 13:27:54 +13:00
parent 3bcb96832d
commit 062c4c89c8
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
2 changed files with 4 additions and 57 deletions

View File

@ -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

View File

@ -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]`