Skip to content
This repository has been archived by the owner on Apr 29, 2023. It is now read-only.

Commit

Permalink
[gitlab-ci] move stage declaration into .gitlab-ci.yml from template
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew-Beckett committed May 16, 2021
1 parent 0e0536b commit 315813b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
stages:
- image_build
- dependent_image_build

include:
- local: .gitlab/templates/dkr_image_build.yml

nxagent:
extends: .image_build
stage: image_build
variables:
DOCKERFILE_PATH: nxagent

server:
extends: .image_build
stage: image_build
variables:
DOCKERFILE_PATH: server

webui:
extends: .image_build
stage: image_build
variables:
DOCKERFILE_PATH: webui

webuirest:
extends: .image_build
stage: dependent_image_build
variables:
DOCKERFILE_PATH: webuirest
DOCKERFILE_PATH: webuirest
needs:
- webui
1 change: 0 additions & 1 deletion .gitlab/templates/dkr_image_build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.image_build:
image: docker:latest
stage: image_build
services:
- docker:dind
variables:
Expand Down

0 comments on commit 315813b

Please sign in to comment.