Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • to-be-continuous/angular
  • AlexisDiabat/angular
  • ydisanto/tbc-angular
  • clement.bois/angular
  • another15y/to-be-continuous/angular
  • zokizuan/angular
  • contrib-tbc/angular
  • clementcontet/angular
  • HugoLS/angular
  • ahmed_aboukora/angular-template
  • ahmed_aboukora/angular
  • adrian.pena.iic/angular
  • geoffroy.veger/angular
  • msteiger1/angular
  • another15y/tbc/angular
  • shivanandn/angular
16 results
Show changes
Commits on Source (3)
......@@ -11,7 +11,7 @@ In order to include this template in your project, add the following to your `gi
```yaml
include:
- project: 'to-be-continuous/angular'
ref: '1.2.0'
ref: '2.0.0'
file: '/templates/gitlab-ci-angular.yml'
```
......@@ -152,7 +152,7 @@ This stage is bound to the `test` stage and uses the following variables :
|----------------------|------------------------------------------------------------|------------------------------------------|
| `NG_E2E_ARGS` | Angular [ng e2e](https://angular.io/cli/e2e) arguments | `e2e` |
| `NG_E2E_REPORT_PATH` | path where e2e reports are stored | `reports/e2e` |
| `NG_E2E_ENABLED` | enable or not the e2e tests execution | *none (disabled by default)* |
| `NG_E2E_ENABLED` | set to `true`to enable the e2e tests execution | *none (disabled by default)* |
Implementation rely on the official [Angular CLI](https://cli.angular.io/) tool (`ng build` and `ng test` commands).
......@@ -181,7 +181,7 @@ This job is bound to the `publish` stage, and uses the following variable:
| Name | description | default value |
|-----------------|------------------------------------------------------------|------------------------------------------|
| `NG_PUBLISH_ENABLED` | Variable to enable the publish job | none (disabled) |
| `NG_PUBLISH_ENABLED` | Set variable to `true` to enable the publish job | none (disabled) |
| `NG_PUBLISH_PROJECTS` | Space separated list of projects to publish | If no project is specified, the value of _angular.json_ `defaultProject` property is used |
| `NG_PUBLISH_ARGS` | NPM [publish](https://docs.npmjs.com/cli/v6/commands/npm-publish) arguments | `--verbose` |
| `NPM_PUBLISH_REGISTRY` | NPM registry to publish to | uses GitLab project npm packages registry |
......
......@@ -388,7 +388,7 @@ stages:
}
if [[ -z "$TEMPLATE_CHECK_UPDATE_DISABLED" ]]; then check_for_update angular "1.2.0"; fi
if [[ "$TEMPLATE_CHECK_UPDATE_DISABLED" != "true" ]]; then check_for_update angular "2.0.0"; fi
unscope_variables
# ENDSCRIPT
......@@ -400,7 +400,7 @@ stages:
image: $NG_CLI_IMAGE
services:
- name: "$CI_REGISTRY/to-be-continuous/tools/tracking:master"
command: ["--service", "angular", "1.2.0"]
command: ["--service", "angular", "2.0.0"]
# cache configuration
cache:
key: "$CI_COMMIT_REF_SLUG-angular"
......@@ -493,7 +493,7 @@ ng-e2e:
- if: $CI_MERGE_REQUEST_ID
when: never
# only run if feature is enabled
- if: '$NG_E2E_ENABLED'
- if: '$NG_E2E_ENABLED == "true"'
###############################################################################################
# publish stage: #
......@@ -516,5 +516,5 @@ npm-publish:
- if: $CI_MERGE_REQUEST_ID
when: never
# on production branche: manual
- if: '$NG_PUBLISH_ENABLED && $CI_COMMIT_REF_NAME =~ $PROD_REF'
- if: '$NG_PUBLISH_ENABLED == "true" && $CI_COMMIT_REF_NAME =~ $PROD_REF'
when: manual