Skip to content

Commit

Permalink
Changed the names of each job correpsonding to each stage in GitLab CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ktsai7 committed Aug 30, 2018
1 parent 9d7a478 commit b97a49f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .gitlab-ci.yml
Expand Up @@ -4,7 +4,7 @@ stages:
- format
- deploy

NAME_JOB1:
build_ubuntu_mpi:
variables:
GLOBAL_CI_VARIABLE: "global_ci_value"
GIT_SUBMODULE_STRATEGY: none
Expand Down Expand Up @@ -64,7 +64,7 @@ NAME_JOB1:
- sudo make install
- cp -r /usr/local ${CI_PROJECT_DIR}/.

NAME_JOB2:
test_ubuntu_mpi:
variables:
GLOBAL_CI_VARIABLE: "global_ci_value"
DISTRO: "ubuntu"
Expand All @@ -73,7 +73,7 @@ NAME_JOB2:
image: laristra/flecsi-third-party:${DISTRO} #user: flecsi
stage: test
dependencies:
- NAME_JOB1
- build_ubuntu_mpi
artifacts:
expire_in: 1 hour
paths:
Expand All @@ -82,20 +82,20 @@ NAME_JOB2:
- cd ${CI_PROJECT_DIR}/build/
- make test ARGS="-V"

NAME_JOB3:
format_ubuntu_mpi:
variables:
GLOBAL_CI_VARIABLE: "global_ci_value"
DISTRO: "ubuntu"
RUNTIME: "mpi"
image: laristra/flecsi-third-party:${DISTRO} #user: flecsi
stage: format
dependencies:
- NAME_JOB2
- test_ubuntu_mpi
script:
- cd ${CI_PROJECT_DIR}/build/
- make format-FleCSI && git diff #--exit-code

NAME_JOB4:
deploy_ubuntu_mpi:
variables:
GLOBAL_CI_VARIABLE: "global_ci_value"
DISTRO: "ubuntu"
Expand All @@ -106,7 +106,7 @@ NAME_JOB4:
services:
- docker:dind
dependencies:
- NAME_JOB2
- test_ubuntu_mpi
artifacts:
expire_in: 1 hour
paths:
Expand Down

0 comments on commit b97a49f

Please sign in to comment.