Loading .gitlab-ci.yml +1 −15 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ build-job: # This job runs in the build stage, which runs first. - ${INSTALL_PATH} expire_in: 1 day cache: key: ccache-gekko key: ccache-syscall paths: - $CCACHE_DIR Loading @@ -54,17 +54,3 @@ unit-test-job: # This job runs in the test stage. needs: ['build-job'] script: - ${INSTALL_PATH}/bin/opendevnull --syscall getpid lint-test-job: # This job also runs in the test stage. stage: test # It can run at the same time as unit-test-job (in parallel). script: - echo "Linting code... This will take about 10 seconds." - sleep 10 - echo "No lint issues found." deploy-job: # This job runs in the deploy stage. stage: deploy # It only runs when *both* jobs in the test stage complete successfully. environment: production script: - echo "Deploying application..." - echo "Application successfully deployed." Loading
.gitlab-ci.yml +1 −15 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ build-job: # This job runs in the build stage, which runs first. - ${INSTALL_PATH} expire_in: 1 day cache: key: ccache-gekko key: ccache-syscall paths: - $CCACHE_DIR Loading @@ -54,17 +54,3 @@ unit-test-job: # This job runs in the test stage. needs: ['build-job'] script: - ${INSTALL_PATH}/bin/opendevnull --syscall getpid lint-test-job: # This job also runs in the test stage. stage: test # It can run at the same time as unit-test-job (in parallel). script: - echo "Linting code... This will take about 10 seconds." - sleep 10 - echo "No lint issues found." deploy-job: # This job runs in the deploy stage. stage: deploy # It only runs when *both* jobs in the test stage complete successfully. environment: production script: - echo "Deploying application..." - echo "Application successfully deployed."