Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Backend
Commits
bc028aca
Commit
bc028aca
authored
6 years ago
by
Erwan Rouchet
Browse files
Options
Downloads
Patches
Plain Diff
Detect and move local_settings.py when releasing
parent
92fd2de1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!136
Detect and move local_settings.py when releasing
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+2
-0
2 additions, 0 deletions
Makefile
with
2 additions
and
0 deletions
Makefile
+
2
−
0
View file @
bc028aca
...
...
@@ -25,8 +25,10 @@ build:
docker build
$(
ROOT_DIR
)
-t
$(
TAG_APP
)
:
$(
VERSION
)
-t
$(
TAG_APP
)
:latest
--build-arg
FRONTEND_BRANCH
=
$(
FRONTEND_BRANCH
)
publish-version
:
require-docker-auth
[
-f
$(
ROOT_DIR
)
/arkindex/project/local_settings.py
]
&&
mv
$(
ROOT_DIR
)
/arkindex/project/local_settings.py
$(
ROOT_DIR
)
/arkindex/project/local_settings.py.bak
||
true
$(
MAKE
)
build
TAG_APP
=
registry.gitlab.com/arkindex/backend
docker push registry.gitlab.com/arkindex/backend:
$(
VERSION
)
[
-f
$(
ROOT_DIR
)
/arkindex/project/local_settings.py.bak
]
&&
mv
$(
ROOT_DIR
)
/arkindex/project/local_settings.py.bak
$(
ROOT_DIR
)
/arkindex/project/local_settings.py
||
true
latest
:
$(
MAKE
)
publish-version
VERSION
=
latest
...
...
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