Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
siibra-explorer
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiao Gui
siibra-explorer
Commits
1cc09fd8
Commit
1cc09fd8
authored
3 years ago
by
Xiao Gui
Browse files
Options
Downloads
Patches
Plain Diff
chore: update build text
parent
2dc42a3a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/docker_img.yml
+11
-1
11 additions, 1 deletion
.github/workflows/docker_img.yml
.openshift/okd_branch_tmpl.yaml
+4
-1
4 additions, 1 deletion
.openshift/okd_branch_tmpl.yaml
with
15 additions
and
2 deletions
.github/workflows/docker_img.yml
+
11
−
1
View file @
1cc09fd8
...
...
@@ -94,6 +94,14 @@ jobs:
echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV
echo "Branch is $BRANCH_NAME ."
if [[ "$BRANCH_NAME" == 'master' ]]
then
echo "BUILD_TEXT=" >> $GITHUB_ENV
else
echo "BUILD_TEXT=$BRANCH_NAME" >> $GITHUB_ENV
fi
if [[ "$BRANCH_NAME" == 'master' ]] || [[ "$BRANCH_NAME" == 'staging' ]]
then
echo "OKD_URL=https://okd.hbp.eu:443" >> $GITHUB_ENV
...
...
@@ -106,6 +114,7 @@ jobs:
echo "OKD_SECRET=${{ secrets.OKD_DEV_SECRET }}" >> $GITHUB_ENV
echo "OKD_PROJECT=interactive-atlas-viewer" >> $GITHUB_ENV
echo "PATH_POSTFIX=-dev" >> $GITHUB_ENV
echo "BUILD_TEXT=$BRANCH_NAME" >> $GITHUB_ENV
echo "Deploy on dev cluster..."
fi
-
name
:
'
Login
via
oc
cli
&
deploy'
...
...
@@ -129,7 +138,8 @@ jobs:
oc new-app --template siibra-explorer-branch-deploy \
-p BRANCH_NAME=$BRANCH_NAME \
-p SANITIZED_BRANCH_NAME=$SANITIZED_BRANCH_NAME \
-p PATH_POSTFIX=$PATH_POSTFIX
-p PATH_POSTFIX=$PATH_POSTFIX \
-p BUILD_TEXT=$BUILD_TEXT
fi
-
name
:
'
Update
status
badge'
if
:
success()
...
...
This diff is collapsed.
Click to expand it.
.openshift/okd_branch_tmpl.yaml
+
4
−
1
View file @
1cc09fd8
...
...
@@ -34,7 +34,7 @@ objects:
-
name
:
IAV_STAGE
value
:
${SANITIZED_BRANCH_NAME}
-
name
:
BUILD_TEXT
value
:
${
SANITIZED_BRANCH_NAME
}
value
:
${
BUILD_TEXT
}
-
name
:
SCRIPT_SRC
value
:
'
["stats-dev.humanbrainproject.eu"]'
-
name
:
REDIS_PASSWORD
...
...
@@ -140,5 +140,8 @@ parameters:
-
name
:
PATH_POSTFIX
description
:
url path postfix. either '-dev' or '' (empty string)
value
:
'
'
-
name
:
BUILD_TEXT
description
:
'
UI
displaying
which
build'
value
:
'
dev
build'
labels
:
template
:
siibra-explorer-branch-deploy-template
This diff is collapsed.
Click to expand it.
Preview
0%
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