Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
kubetest
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ConduitMiau
kubetest
Commits
3cb2b372
Commit
3cb2b372
authored
3 years ago
by
M9713
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
parent
32d93d12
No related branches found
No related tags found
No related merge requests found
Pipeline
#483239
failed
3 years ago
Stage: build backend
Stage: build frontend
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+13
-13
13 additions, 13 deletions
.gitlab-ci.yml
with
13 additions
and
13 deletions
.gitlab-ci.yml
+
13
−
13
View file @
3cb2b372
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
stages
:
stages
:
-
build backend
-
build backend
#
- build frontend
-
build frontend
# - test
# - test
# - deploy mongodb
# - deploy mongodb
# - deploy backend
# - deploy backend
...
@@ -45,25 +45,25 @@ build backend:
...
@@ -45,25 +45,25 @@ build backend:
#
build frontend:
build frontend
:
#
stage: build frontend
stage
:
build frontend
# when: manual
# when: manual
#
image:
image
:
#
name: gcr.io/kaniko-project/executor:debug
name
:
gcr.io/kaniko-project/executor:debug
#
entrypoint: [""]
entrypoint
:
[
"
"
]
#
script:
script
:
# Build Frontend
# Build Frontend
#
- echo "Building Frontend"
-
echo "Building Frontend"
#
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
#
- /kaniko/executor
-
/kaniko/executor
#
--context
$CI_PROJECT_DIR
/conduit-front
--context
git://gitlab.labranet.jamk.fi/conduitmiau
/conduit-front
#
--dockerfile
$CI_PROJECT_DIR/conduit-front/
Dockerfile
--dockerfile Dockerfile
#
--destination $CI_REGISTRY_IMAGE:front
: #${
CI_COMMIT_
TAG}
--destination $CI_REGISTRY_IMAGE:front
-$
CI_COMMIT_
SHORT_SHA
#deploy mongodb:
#deploy mongodb:
...
...
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