Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
plugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Cosy-Bio
Drugst.One
plugin
Commits
d3fc875c
Commit
d3fc875c
authored
3 years ago
by
Andreas Maier
Browse files
Options
Downloads
Patches
Plain Diff
deactivated auto build of frontend for now
parent
b5f6c7a7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#11037
failed
3 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+77
-77
77 additions, 77 deletions
.gitlab-ci.yml
with
77 additions
and
77 deletions
.gitlab-ci.yml
+
77
−
77
View file @
d3fc875c
stages
:
-
setup
-
check
-
build
-
deploy
#
stages:
#
- setup
#
- check
#
- build
#
- deploy
cache
:
paths
:
-
node_modules/
#
cache:
#
paths:
#
- node_modules/
setup
:
image
:
trion/ng-cli-karma
stage
:
setup
script
:
-
npm install
tags
:
-
drugstone
#
setup:
#
image: trion/ng-cli-karma
#
stage: setup
#
script:
#
- npm install
#
tags:
#
- drugstone
check:lint
:
image
:
trion/ng-cli-karma
stage
:
check
script
:
-
npm install
-
npm run lint
dependencies
:
-
setup
tags
:
-
drugstone
#
check:lint:
#
image: trion/ng-cli-karma
#
stage: check
#
script:
#
- npm install
#
- npm run lint
#
dependencies:
#
- setup
#
tags:
#
- drugstone
#check:test:
# image: trion/ng-cli-karma
...
...
@@ -36,19 +36,19 @@ check:lint:
# dependencies:
# - setup
build
:
image
:
trion/ng-cli-karma
stage
:
build
artifacts
:
paths
:
-
dist
script
:
-
npm install
-
npm run build:netex
dependencies
:
-
check:lint
tags
:
-
drugstone
#
build:
#
image: trion/ng-cli-karma
#
stage: build
#
artifacts:
#
paths:
#
- dist
#
script:
#
- npm install
#
- npm run build:netex
#
dependencies:
#
- check:lint
#
tags:
#
- drugstone
# - check:test
#deploy:release:
...
...
@@ -79,43 +79,43 @@ build:
# tags:
# - drugstone
deploy:dev
:
image
:
docker
stage
:
deploy
only
:
-
master
services
:
-
docker:dind
variables
:
CONTAINER_HOSTNAME
:
docker
before_script
:
-
docker info
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script
:
-
docker build -t gitlab.lrz.de:5005/netex/frontend:dev -f ./Dockerfile.dev .
-
docker push gitlab.lrz.de:5005/netex/frontend:dev
dependencies
:
-
build
tags
:
-
drugstone
#
deploy:dev:
#
image: docker
#
stage: deploy
#
only:
#
- master
#
services:
#
- docker:dind
#
variables:
#
CONTAINER_HOSTNAME: docker
#
before_script:
#
- docker info
#
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
#
script:
#
- docker build -t gitlab.lrz.de:5005/netex/frontend:dev -f ./Dockerfile.dev .
#
- docker push gitlab.lrz.de:5005/netex/frontend:dev
#
dependencies:
#
- build
#
tags:
#
- drugstone
deploy:prod
:
image
:
docker
stage
:
deploy
only
:
-
production
when
:
manual
services
:
-
docker:dind
variables
:
CONTAINER_HOSTNAME
:
docker
before_script
:
-
docker info
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script
:
-
docker build -t gitlab.lrz.de:5005/netex/frontend:prod -f ./Dockerfile.prod .
-
docker push gitlab.lrz.de:5005/netex/frontend:prod
dependencies
:
-
build
tags
:
-
drugstone
#
deploy:prod:
#
image: docker
#
stage: deploy
#
only:
#
- production
#
when: manual
#
services:
#
- docker:dind
#
variables:
#
CONTAINER_HOSTNAME: docker
#
before_script:
#
- docker info
#
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
#
script:
#
- docker build -t gitlab.lrz.de:5005/netex/frontend:prod -f ./Dockerfile.prod .
#
- docker push gitlab.lrz.de:5005/netex/frontend:prod
#
dependencies:
#
- build
#
tags:
#
- drugstone
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment