Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
427557e9
Unverified
Commit
427557e9
authored
Mar 13, 2020
by
Oli Evans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip: remove release tag. use more recent docker.
License: MIT Signed-off-by:
Oli Evans
<
oli@tableflip.io
>
parent
9f6349b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
13 deletions
+11
-13
.circleci/config.yml
.circleci/config.yml
+6
-5
bin/push-docker-tags.sh
bin/push-docker-tags.sh
+5
-8
No files found.
.circleci/config.yml
View file @
427557e9
...
...
@@ -310,7 +310,8 @@ jobs:
executor
:
dockerizer
steps
:
-
checkout
-
setup_remote_docker
-
setup_remote_docker
:
version
:
"
18.09.3"
-
run
:
name
:
Build Docker image
command
:
|
...
...
@@ -326,7 +327,8 @@ jobs:
executor
:
dockerizer
steps
:
-
checkout
-
setup_remote_docker
-
setup_remote_docker
:
version
:
"
18.09.3"
-
attach_workspace
:
at
:
/tmp/workspace
-
run
:
...
...
@@ -374,12 +376,11 @@ workflows:
-
interop
-
go-ipfs-api
-
go-ipfs-http-client
-
ipfs-webui
-
ipfs-webui
filters
:
branches
:
only
:
only
:
-
master
-
release
-
feat/stabilize-dht
# NOTE: CircleCI only builds tags if you explicitly filter for them. That
...
...
bin/push-docker-tags.sh
View file @
427557e9
...
...
@@ -59,20 +59,17 @@ pushTag () {
fi
}
if
[[
$GIT_TAG
=
~ ^v[0-9]+
]]
;
then
if
[[
$GIT_TAG
=
~ ^v[0-9]+
]]
;
then
pushTag
"
$GIT_TAG
"
pushTag
"latest"
elif
[
"
$GIT_BRANCH
"
=
"feat/stabilize-dht"
]
;
then
elif
[
"
$GIT_BRANCH
"
=
"feat/stabilize-dht"
]
;
then
pushTag
"bifrost-
${
BUILD_NUM
}
-
${
GIT_SHA1_SHORT
}
"
pushTag
"bifrost-latest"
elif
[
"
$GIT_BRANCH
"
=
"release"
]
;
then
pushTag
"release"
pushTag
"latest"
elif
[
"
$GIT_BRANCH
"
=
"master"
]
;
then
elif
[
"
$GIT_BRANCH
"
=
"master"
]
;
then
pushTag
"master-
${
BUILD_NUM
}
-
${
GIT_SHA1_SHORT
}
"
pushTag
"master"
pushTag
"master
-latest
"
else
echo
"Nothing to do. No docker tag defined for branch:
$GIT_BRANCH
, tag:
$GIT_TAG
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment