Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
9382998d
Commit
9382998d
authored
Jun 07, 2023
by
Matthew Slipper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix indexer release action
parent
eb48e051
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
config.yml
.circleci/config.yml
+16
-1
ci-docker-tag-op-stack-release.sh
ops/scripts/ci-docker-tag-op-stack-release.sh
+1
-1
No files found.
.circleci/config.yml
View file @
9382998d
...
@@ -1533,7 +1533,7 @@ workflows:
...
@@ -1533,7 +1533,7 @@ workflows:
type
:
approval
type
:
approval
filters
:
filters
:
tags
:
tags
:
only
:
/^(fault-detector|proxyd|op-[a-z0-9\-]*)\/v.*/
only
:
/^(fault-detector|proxyd|
indexer|
op-[a-z0-9\-]*)\/v.*/
branches
:
branches
:
ignore
:
/.*/
ignore
:
/.*/
-
docker-release
:
-
docker-release
:
...
@@ -1647,6 +1647,21 @@ workflows:
...
@@ -1647,6 +1647,21 @@ workflows:
-
oplabs-gcr-release
-
oplabs-gcr-release
requires
:
requires
:
-
hold
-
hold
-
docker-release
:
name
:
indexer-docker-release
filters
:
tags
:
only
:
/^indexer\/v.*/
branches
:
ignore
:
/.*/
docker_file
:
indexer/Dockerfile
docker_name
:
indexer
docker_tags
:
<<pipeline.git.revision>>,<<pipeline.git.branch>>
docker_context
:
.
context
:
-
oplabs-gcr-release
requires
:
-
hold
release-ci-builder
:
release-ci-builder
:
jobs
:
jobs
:
-
docker-publish
:
-
docker-publish
:
...
...
ops/scripts/ci-docker-tag-op-stack-release.sh
View file @
9382998d
...
@@ -6,7 +6,7 @@ DOCKER_REPO=$1
...
@@ -6,7 +6,7 @@ DOCKER_REPO=$1
GIT_TAG
=
$2
GIT_TAG
=
$2
GIT_SHA
=
$3
GIT_SHA
=
$3
IMAGE_NAME
=
$(
echo
"
$GIT_TAG
"
|
grep
-Eow
'^(fault-detector|proxyd|op-[a-z0-9\-]*)'
||
true
)
IMAGE_NAME
=
$(
echo
"
$GIT_TAG
"
|
grep
-Eow
'^(fault-detector|proxyd|
indexer|
op-[a-z0-9\-]*)'
||
true
)
if
[
-z
"
$IMAGE_NAME
"
]
;
then
if
[
-z
"
$IMAGE_NAME
"
]
;
then
echo
"image name could not be parsed from git tag '
$GIT_TAG
'"
echo
"image name could not be parsed from git tag '
$GIT_TAG
'"
exit
1
exit
1
...
...
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