Skip to content
GitLab
Explore
Sign in
Commits on Source (2)
feat: stages
· dec15a1e
G.J.R. Timmer
authored
Nov 17, 2024
dec15a1e
ops: fix stages
· f6fd014e
G.J.R. Timmer
authored
Nov 17, 2024
f6fd014e
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f6fd014e
...
...
@@ -14,7 +14,7 @@ include:
-
docker:amd64
-
docker:arm64
stages
:
[
test
,
deploy
,
release
]
stages
:
[
test
,
build
,
deploy
,
release
]
test:amd64
:
stage
:
test
...
...
templates/amd64/template.yml
View file @
f6fd014e
...
...
@@ -4,7 +4,11 @@ spec:
stage
:
type
:
string
description
:
"
Build
stage"
default
:
deploy
default
:
build
stages
:
type
:
array
description
:
"
Build
stages"
default
:
[
test
,
build
,
deploy
]
dockerfile
:
type
:
string
description
:
"
Dockerfile
name"
...
...
@@ -83,6 +87,8 @@ include:
-
local
:
/default.yml
-
local
:
/vars.yml
stages
:
$[[ inputs.stages ]]
check:$[[ inputs.name ]]
:
stage
:
test
image
:
harbor.local/docker.io/hadolint/hadolint:latest-alpine
...
...
templates/arm64/template.yml
View file @
f6fd014e
...
...
@@ -4,7 +4,11 @@ spec:
stage
:
type
:
string
description
:
"
Build
stage"
default
:
deploy
default
:
build
stages
:
type
:
array
description
:
"
Build
stages"
default
:
[
test
,
build
,
deploy
]
dockerfile
:
type
:
string
description
:
"
Dockerfile
name"
...
...
@@ -83,6 +87,8 @@ include:
-
local
:
/default.yml
-
local
:
/vars.yml
stages
:
$[[ inputs.stages ]]
check:$[[ inputs.name ]]
:
stage
:
test
image
:
harbor.local/docker.io/hadolint/hadolint:latest-alpine
...
...
templates/armv7/template.yml
View file @
f6fd014e
...
...
@@ -4,7 +4,11 @@ spec:
stage
:
type
:
string
description
:
"
Build
stage"
default
:
deploy
default
:
build
stages
:
type
:
array
description
:
"
Build
stages"
default
:
[
test
,
build
,
deploy
]
dockerfile
:
type
:
string
description
:
"
Dockerfile
name"
...
...
@@ -83,6 +87,8 @@ include:
-
local
:
/default.yml
-
local
:
/vars.yml
stages
:
$[[ inputs.stages ]]
check:$[[ inputs.name ]]
:
stage
:
test
image
:
harbor.local/docker.io/hadolint/hadolint:latest-alpine
...
...
templates/multi/template.yml
View file @
f6fd014e
...
...
@@ -4,7 +4,11 @@ spec:
stage
:
type
:
string
description
:
"
Build
stage"
default
:
deploy
default
:
build
stages
:
type
:
array
description
:
"
Build
stages"
default
:
[
test
,
build
,
deploy
]
dockerfile
:
type
:
string
description
:
"
Dockerfile
name"
...
...
@@ -87,6 +91,8 @@ include:
-
local
:
/default.yml
-
local
:
/vars.yml
stages
:
$[[ inputs.stages ]]
check:$[[ inputs.name ]]
:
stage
:
test
image
:
harbor.local/docker.io/hadolint/hadolint:latest-alpine
...
...