Loading .gitlab-ci.yml +37 −42 Original line number Diff line number Diff line include: # $TBC_NAMESPACE is a group variable; can be globally overridden # Angular template - project: '$TBC_NAMESPACE/angular' ref: '4' file: '/templates/gitlab-ci-angular.yml' # # Playwright template # - project: 'to-be-continuous/playwright' # ref: '1.4.0' # file: '/templates/gitlab-ci-playwright.yml' - component: $CI_SERVER_FQDN/$TBC_NAMESPACE/angular/gitlab-ci-angular@4 inputs: cli-image: "registry.hub.docker.com/trion/ng-cli-karma:18.0.0" build-args: "build --configuration production" lint-args: "version" # Playwright template # - component: $CI_SERVER_FQDN/$TBC_NAMESPACE/playwright/gitlab-ci-playwright@1 # inputs: # image: 'mcr.microsoft.com/playwright:v1.45.2-jammy' # review-enabled: true # S3 template - project: '$TBC_NAMESPACE/s3' ref: '7' file: '/templates/gitlab-ci-s3.yml' variables: NG_CLI_IMAGE: 'registry.hub.docker.com/trion/ng-cli-karma:18.0.0' NG_BUILD_ARGS: 'build --configuration production' NG_LINT_ARGS: 'version' - component: $CI_SERVER_FQDN/$TBC_NAMESPACE/s3/gitlab-ci-s3@7 inputs: # deploy: landing page (static/), mkdocs build (public/), Angular build (kicker/dist/) and aggregated kicker (kicker-aggregated/) S3_DEPLOY_FILES: 'dist/kicker/browser/' S3_PROD_DISABLED: 'true' S3_STAGING_DISABLED: 'true' S3_REVIEW_PREFIX: ${CI_COMMIT_REF_SLUG} PLAYWRIGHT_IMAGE: 'mcr.microsoft.com/playwright:v1.45.2-jammy' REVIEW_ENABLED: "true" deploy-files: "dist/kicker/browser/" prod-disabled: true staging-disabled: true review-prefix: ${CI_COMMIT_REF_SLUG} # override Angular build job to run build only (no tests) ng-build: Loading @@ -41,7 +36,7 @@ pages: # generate build.info - echo -e "Build date= $(date)\nGit Commit Ref= $CI_COMMIT_REF_NAME\nGit Commit SHA= $CI_COMMIT_SHA\n" > public/build.info artifacts: name: 'kicker app from $CI_COMMIT_REF_SLUG' name: "kicker app from $CI_COMMIT_REF_SLUG" paths: - public expire_in: 1 day Loading Loading
.gitlab-ci.yml +37 −42 Original line number Diff line number Diff line include: # $TBC_NAMESPACE is a group variable; can be globally overridden # Angular template - project: '$TBC_NAMESPACE/angular' ref: '4' file: '/templates/gitlab-ci-angular.yml' # # Playwright template # - project: 'to-be-continuous/playwright' # ref: '1.4.0' # file: '/templates/gitlab-ci-playwright.yml' - component: $CI_SERVER_FQDN/$TBC_NAMESPACE/angular/gitlab-ci-angular@4 inputs: cli-image: "registry.hub.docker.com/trion/ng-cli-karma:18.0.0" build-args: "build --configuration production" lint-args: "version" # Playwright template # - component: $CI_SERVER_FQDN/$TBC_NAMESPACE/playwright/gitlab-ci-playwright@1 # inputs: # image: 'mcr.microsoft.com/playwright:v1.45.2-jammy' # review-enabled: true # S3 template - project: '$TBC_NAMESPACE/s3' ref: '7' file: '/templates/gitlab-ci-s3.yml' variables: NG_CLI_IMAGE: 'registry.hub.docker.com/trion/ng-cli-karma:18.0.0' NG_BUILD_ARGS: 'build --configuration production' NG_LINT_ARGS: 'version' - component: $CI_SERVER_FQDN/$TBC_NAMESPACE/s3/gitlab-ci-s3@7 inputs: # deploy: landing page (static/), mkdocs build (public/), Angular build (kicker/dist/) and aggregated kicker (kicker-aggregated/) S3_DEPLOY_FILES: 'dist/kicker/browser/' S3_PROD_DISABLED: 'true' S3_STAGING_DISABLED: 'true' S3_REVIEW_PREFIX: ${CI_COMMIT_REF_SLUG} PLAYWRIGHT_IMAGE: 'mcr.microsoft.com/playwright:v1.45.2-jammy' REVIEW_ENABLED: "true" deploy-files: "dist/kicker/browser/" prod-disabled: true staging-disabled: true review-prefix: ${CI_COMMIT_REF_SLUG} # override Angular build job to run build only (no tests) ng-build: Loading @@ -41,7 +36,7 @@ pages: # generate build.info - echo -e "Build date= $(date)\nGit Commit Ref= $CI_COMMIT_REF_NAME\nGit Commit SHA= $CI_COMMIT_SHA\n" > public/build.info artifacts: name: 'kicker app from $CI_COMMIT_REF_SLUG' name: "kicker app from $CI_COMMIT_REF_SLUG" paths: - public expire_in: 1 day Loading