Commit 1c079d28 authored by Энвер Шукуров's avatar Энвер Шукуров
Browse files

change to docker runner

No related merge requests found
Showing with 4 additions and 4 deletions
+4 -4
...@@ -33,7 +33,7 @@ workflow: ...@@ -33,7 +33,7 @@ workflow:
build-application: # This job runs in the build stage, which runs first. build-application: # This job runs in the build stage, which runs first.
stage: build stage: build
tags: tags:
- shell-runner - docker
script: script:
- echo "Compiling the code..." - echo "Compiling the code..."
- echo "Compile complete." - echo "Compile complete."
...@@ -41,7 +41,7 @@ build-application: # This job runs in the build stage, which runs first. ...@@ -41,7 +41,7 @@ build-application: # This job runs in the build stage, which runs first.
unit-test-job: # This job runs in the test stage. unit-test-job: # This job runs in the test stage.
stage: testing stage: testing
tags: tags:
- shell-runner # It only starts when the job in the build stage completes successfully. - docker # It only starts when the job in the build stage completes successfully.
script: script:
- echo "Running unit tests... This will take about 60 seconds." - echo "Running unit tests... This will take about 60 seconds."
- echo "Code coverage is 90%" - echo "Code coverage is 90%"
...@@ -52,7 +52,7 @@ lint-test-job: # This job also runs in the test stage. ...@@ -52,7 +52,7 @@ lint-test-job: # This job also runs in the test stage.
- master - master
- develop - develop
tags: tags:
- shell-runner - docker
script: script:
- echo "Linting code... This will take about 10 seconds." - echo "Linting code... This will take about 10 seconds."
- echo "No lint issues found." - echo "No lint issues found."
...@@ -67,7 +67,7 @@ packaging: ...@@ -67,7 +67,7 @@ packaging:
- shell-runner - shell-runner
script: script:
- echo "Packaging ms-cat... Take approx. 5 seconds." - echo "Packaging ms-cat... Take approx. 5 seconds."
- docker build --tag $TAG ms-cat/ - docker build --tag cat ms-cat/
- docker push pieland/ms-child:$TAG - docker push pieland/ms-child:$TAG
- echo "Packing ms-cat done." - echo "Packing ms-cat done."
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment