Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Christian Rebischke
arch-boxes
Commits
9c1bfa83
Verified
Commit
9c1bfa83
authored
Jul 26, 2020
by
Christian Rebischke
Browse files
add more steps
parent
fd52dbe3
Changes
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9c1bfa83
...
...
@@ -5,8 +5,36 @@ default:
-
secure-virtualbox
before_script
:
-
pacman -Syu --needed --noconfirm qemu-headless virtualbox packer
-
pacman -Syu --needed --noconfirm qemu-headless virtualbox packer
shfmt shellcheck yapf flake8
packer
:
shellcheck
:
script
:
find . -iname "*.sh" -exec shellcheck {} +
shfmt
:
script
:
find . -iname "*.sh" -exec ./shfmt -i 2 -ci -d {} +
yapf
:
script
:
find . -iname "*.py" -exec python3 -m yapf -d {} +
flake8
:
script
:
find . -iname "*.py" -exec python3 -m flake8 {} +
validate-packer
:
script
:
packer validate -var "iso_checksum_url=https://mirror.pkgbuild.com/iso/latest/sha1sums.txt" -except=vagrant-cloud vagrant.json
validate-local
:
script
:
packer validate local.json
validate-cloud
:
script
:
packer validate cloud.json
build
:
script
:
packer build -parallel-builds=1 -var 'headless=true' -var 'write_zeroes=yes' -except=vmware-iso local.json
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment