Remove CI
This commit is contained in:
parent
3bcb96832d
commit
062c4c89c8
|
@ -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
|
|
14
readme.md
14
readme.md
|
@ -141,15 +141,6 @@ cd piston/lxc
|
||||||
|
|
||||||
#### Installation (simple)
|
#### 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
|
- Install additional dependencies python3, pip and distrobuilder
|
||||||
- `cd ../container && ./build.sh`
|
- `cd ../container && ./build.sh`
|
||||||
- Wait, it may take up to an hour.
|
- Wait, it may take up to an hour.
|
||||||
|
@ -157,7 +148,10 @@ cd piston/lxc
|
||||||
- `cd ../lxc && ./start`
|
- `cd ../lxc && ./start`
|
||||||
- Good to go!
|
- 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 Usage
|
||||||
- `cli/execute [language] [file path] [args]`
|
- `cli/execute [language] [file path] [args]`
|
||||||
|
|
Loading…
Reference in New Issue