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