Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
discourse
Manage
Activity
Members
Labels
Plan
Issues
9
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
Model registry
Operate
Environments
Monitor
Incidents
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
libre.sh
docker
discourse
Commits
f6d7bfdb
Commit
f6d7bfdb
authored
1 year ago
by
Pierre Ozoux
Browse files
Options
Downloads
Patches
Plain Diff
Adds debug.
parent
0ab49545
No related branches found
No related tags found
No related merge requests found
Pipeline
#1487
passed with stage
in 9 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-1
3 additions, 1 deletion
.gitlab-ci.yml
with
3 additions
and
1 deletion
.gitlab-ci.yml
+
3
−
1
View file @
f6d7bfdb
...
...
@@ -5,7 +5,7 @@ variables:
.compute_version
:
&compute_version
-
if [ "$CHANNEL" == "stable" ]; then export FILTER="grep -v beta"; else export FILTER="grep beta"; fi
-
export DISCOURSE_VERSION=`wget -qO- https://api.github.com/repos/discourse/discourse/tags | grep name | cut -d'"' -f4 | $FILTER | head -n1`
-
export DATE=`date "+%Y-%m-%dT%H-%M-%SZ"`
-
export DATE=`date "+%Y-%m-%dT%H-%M-%SZ"`
.test
:
image
:
...
...
@@ -16,6 +16,8 @@ variables:
script
:
-
*compute_version
-
export DISCOURSE_MAJOR=`echo $DISCOURSE_VERSION | cut -d"." -f1-3`
-
echo $DISCOURSE_MAJOR
-
echo $DISCOURSE_VERSION
-
/kaniko/executor --context . ${DESTINATION} --build-arg DISCOURSE_VERSION=$DISCOURSE_VERSION
except
:
-
master
...
...
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