Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
quasseldroid-landing
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
Janne Mareike Koschinski
quasseldroid-landing
Commits
fb9abe2b
Verified
Commit
fb9abe2b
authored
5 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
Updated build scripts
parent
bc2132f6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+14
-0
14 additions, 0 deletions
Makefile
build.sh
+0
-9
0 additions, 9 deletions
build.sh
deploy.sh
+0
-8
0 additions, 8 deletions
deploy.sh
with
14 additions
and
17 deletions
Makefile
0 → 100644
+
14
−
0
View file @
fb9abe2b
IMAGE
:=
k8r.eu/justjanne/
$(
shell
basename
$(
shell git remote get-url origin
)
.git
)
TAGS
:=
$(
shell git describe
--always
--tags
HEAD
)
.PHONY
:
build
build
:
docker build
--pull
-t
$(
IMAGE
)
:
$(
TAGS
)
.
docker tag
$(
IMAGE
)
:
$(
TAGS
)
$(
IMAGE
)
:latest
@
echo
Successfully tagged
$(
IMAGE
)
:
$(
TAGS
)
as latest
.PHONY
:
push
push
:
build
docker push
$(
IMAGE
)
:
$(
TAGS
)
docker push
$(
IMAGE
)
:latest
@
echo
Successfully pushed
$(
IMAGE
)
:
$(
TAGS
)
as latest
This diff is collapsed.
Click to expand it.
build.sh
deleted
100755 → 0
+
0
−
9
View file @
bc2132f6
#!/bin/sh
IMAGE
=
k8r.eu/justjanne/quasseldroid-landing
TAGS
=
$(
git describe
--always
--tags
HEAD
)
docker build
-t
$IMAGE
:
$TAGS
.
docker tag
$IMAGE
:
$TAGS
$IMAGE
:latest
echo
Successfully tagged
$IMAGE
:latest
docker push
$IMAGE
:
$TAGS
docker push
$IMAGE
:latest
This diff is collapsed.
Click to expand it.
deploy.sh
deleted
100755 → 0
+
0
−
8
View file @
bc2132f6
#!/bin/sh
IMAGE
=
k8r.eu/justjanne/quasseldroid-landing
TAGS
=
$(
git describe
--always
--tags
HEAD
)
NAMESPACE
=
quasseldroid
DEPLOYMENT
=
landing
CONTAINER
=
landing
kubectl
-n
$NAMESPACE
set
image deployment/
$DEPLOYMENT
$CONTAINER
=
$IMAGE
:
$TAGS
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