WIP: update to V 0.3.1 #269
|
@ -7,8 +7,7 @@ platform: ${PLATFORM}
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
install-modules:
|
install-modules:
|
||||||
image: 'chewingbever/vlang:0.3'
|
image: 'git.rustybever.be/chewing_bever/vlang:0.3.1'
|
||||||
pull: true
|
|
||||||
commands:
|
commands:
|
||||||
- export VMODULES=$PWD/.vmodules
|
- export VMODULES=$PWD/.vmodules
|
||||||
- 'cd src && v install'
|
- 'cd src && v install'
|
||||||
|
@ -16,7 +15,7 @@ pipeline:
|
||||||
event: [push, pull_request]
|
event: [push, pull_request]
|
||||||
|
|
||||||
debug:
|
debug:
|
||||||
image: 'chewingbever/vlang:0.3'
|
image: 'git.rustybever.be/chewing_bever/vlang:0.3.1'
|
||||||
commands:
|
commands:
|
||||||
- export VMODULES=$PWD/.vmodules
|
- export VMODULES=$PWD/.vmodules
|
||||||
- make
|
- make
|
||||||
|
@ -26,7 +25,7 @@ pipeline:
|
||||||
exclude: [main]
|
exclude: [main]
|
||||||
|
|
||||||
prod:
|
prod:
|
||||||
image: 'chewingbever/vlang:0.3'
|
image: 'git.rustybever.be/chewing_bever/vlang:0.3.1'
|
||||||
environment:
|
environment:
|
||||||
- LDFLAGS=-lz -lbz2 -llzma -lexpat -lzstd -llz4 -lsqlite3 -static
|
- LDFLAGS=-lz -lbz2 -llzma -lexpat -lzstd -llz4 -lsqlite3 -static
|
||||||
commands:
|
commands:
|
||||||
|
@ -44,7 +43,7 @@ pipeline:
|
||||||
event: [push, pull_request]
|
event: [push, pull_request]
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
image: 'chewingbever/vlang:0.3'
|
image: 'git.rustybever.be/chewing_bever/vlang:0.3.1'
|
||||||
secrets: [ s3_username, s3_password ]
|
secrets: [ s3_username, s3_password ]
|
||||||
commands:
|
commands:
|
||||||
# https://gist.github.com/JustinTimperio/7c7115f87b775618637d67ac911e595f
|
# https://gist.github.com/JustinTimperio/7c7115f87b775618637d67ac911e595f
|
||||||
|
|
|
@ -11,8 +11,7 @@ pipeline:
|
||||||
- make docs
|
- make docs
|
||||||
|
|
||||||
api-docs:
|
api-docs:
|
||||||
image: 'chewingbever/vlang:0.3'
|
image: 'git.rustybever.be/chewing_bever/vlang:0.3.1'
|
||||||
pull: true
|
|
||||||
group: 'generate'
|
group: 'generate'
|
||||||
commands:
|
commands:
|
||||||
- make api-docs
|
- make api-docs
|
||||||
|
|
|
@ -8,8 +8,7 @@ skip_clone: true
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
prepare:
|
prepare:
|
||||||
image: 'chewingbever/vlang:0.3'
|
image: 'git.rustybever.be/chewing_bever/vlang:0.3.1'
|
||||||
pull: true
|
|
||||||
secrets: [ s3_username, s3_password ]
|
secrets: [ s3_username, s3_password ]
|
||||||
commands:
|
commands:
|
||||||
- mc alias set s3/ https://s3.rustybever.be "$S3_USERNAME" "$S3_PASSWORD"
|
- mc alias set s3/ https://s3.rustybever.be "$S3_USERNAME" "$S3_PASSWORD"
|
||||||
|
|
|
@ -5,8 +5,7 @@ platform: 'linux/amd64'
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
lint:
|
lint:
|
||||||
image: 'chewingbever/vlang:0.3'
|
image: 'git.rustybever.be/chewing_bever/vlang:0.3.1'
|
||||||
pull: true
|
|
||||||
commands:
|
commands:
|
||||||
- make lint
|
- make lint
|
||||||
when:
|
when:
|
||||||
|
|
|
@ -9,8 +9,7 @@ skip_clone: true
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
generate:
|
generate:
|
||||||
image: 'chewingbever/vlang:0.3'
|
image: 'chewingbever/vlang:0.3.1'
|
||||||
pull: true
|
|
||||||
commands:
|
commands:
|
||||||
- curl -o vieter -L "https://s3.rustybever.be/vieter/commits/$CI_COMMIT_SHA/vieter-linux-amd64"
|
- curl -o vieter -L "https://s3.rustybever.be/vieter/commits/$CI_COMMIT_SHA/vieter-linux-amd64"
|
||||||
- chmod +x vieter
|
- chmod +x vieter
|
||||||
|
|
|
@ -9,8 +9,7 @@ platform: ${PLATFORM}
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
install-modules:
|
install-modules:
|
||||||
image: 'chewingbever/vlang:0.3'
|
image: 'git.rustybever.be/chewing_bever/vlang:0.3.1'
|
||||||
pull: true
|
|
||||||
commands:
|
commands:
|
||||||
- export VMODULES=$PWD/.vmodules
|
- export VMODULES=$PWD/.vmodules
|
||||||
- 'cd src && v install'
|
- 'cd src && v install'
|
||||||
|
@ -18,8 +17,7 @@ pipeline:
|
||||||
event: [pull_request]
|
event: [pull_request]
|
||||||
|
|
||||||
test:
|
test:
|
||||||
image: 'chewingbever/vlang:0.3'
|
image: 'git.rustybever.be/chewing_bever/vlang:0.3.1'
|
||||||
pull: true
|
|
||||||
commands:
|
commands:
|
||||||
- export VMODULES=$PWD/.vmodules
|
- export VMODULES=$PWD/.vmodules
|
||||||
- make test
|
- make test
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM chewingbever/vlang:0.3 AS builder
|
FROM git.rustybever.be/chewing_bever/vlang:0.3.1 AS builder
|
||||||
|
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
ARG CI_COMMIT_SHA
|
ARG CI_COMMIT_SHA
|
||||||
|
|
Loading…
Reference in New Issue