Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
funkwhale
Manage
Activity
Members
Labels
Plan
Issues
473
Issue boards
Milestones
Wiki
Code
Merge requests
10
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
funkwhale
funkwhale
Merge requests
!527
Fixed broken CI release
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fixed broken CI release
fix-buildf
into
develop
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Agate
requested to merge
fix-buildf
into
develop
6 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
👍
0
👎
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
169cab0b
1 commit,
6 years ago
1 file
+
4
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
4
−
3
Options
@@ -235,12 +235,13 @@ pages:
docker_release
:
stage
:
deploy
image
:
bash
before_script
:
-
docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD
-
cp -r front/dist api/frontend
-
(if [ "$CI_COMMIT_REF_NAME" == "develop" ]; then ./scripts/set-api-build-metadata.sh $(echo $CI_COMMIT_SHA | cut -c 1-8); fi);
-
cd api
script
:
-
(if [ "$CI_COMMIT_REF_NAME" == "develop" ]; then ./scripts/set-api-build-metadata.sh $CI_COMMIT_SHORT_SHA; fi);
-
docker build -t $IMAGE .
-
docker push $IMAGE
only
:
@@ -252,13 +253,13 @@ docker_release:
build_api
:
# Simply publish a zip containing api/ directory
stage
:
deploy
image
:
b
usybox
image
:
b
ash
artifacts
:
name
:
"
api_${CI_COMMIT_REF_NAME}"
paths
:
-
api
script
:
-
(if [ "$CI_COMMIT_REF_NAME" == "develop" ]; then ./scripts/set-api-build-metadata.sh $CI_COMMIT_SH
ORT_SHA
; fi);
-
(if [ "$CI_COMMIT_REF_NAME" == "develop" ]; then ./scripts/set-api-build-metadata.sh
$(echo
$CI_COMMIT_SH
A | cut -c 1-8)
; fi);
-
chmod -R 750 api
-
echo Done!
only
:
Loading