Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
Orekit Website
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
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
Orekit
Orekit Website
Commits
a3939fb5
Commit
a3939fb5
authored
3 years ago
by
Sébastien Dinot
Browse files
Options
Downloads
Patches
Plain Diff
Automatically generated product version files to avoid oversights
parent
6013358c
No related branches found
No related tags found
No related merge requests found
Pipeline
#1467
failed
3 years ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+6
-2
6 additions, 2 deletions
.gitlab-ci.yml
bin/gen_versions_yml.sh
+23
-0
23 additions, 0 deletions
bin/gen_versions_yml.sh
with
29 additions
and
2 deletions
.gitlab-ci.yml
+
6
−
2
View file @
a3939fb5
...
...
@@ -9,9 +9,13 @@ variables:
variables
:
JEKYLL_OPTS
:
"
"
script
:
# Generate YAML files that provide the list of versions whose technical
# documentation is available on the website.
-
bin/gen_versions_yml.sh
# Generate the static website
-
jekyll build $JEKYLL_OPTS
# Add symbolic links for website
-
sh
bin/links.sh
-
bin/links.sh
artifacts
:
paths
:
-
_site
...
...
@@ -58,7 +62,7 @@ www:
##
-
mkdir -p ~/.ssh
-
chmod 700 ~/.ssh
##
## Add known hosts
##
...
...
This diff is collapsed.
Click to expand it.
bin/gen_versions_yml.sh
0 → 100755
+
23
−
0
View file @
a3939fb5
#/bin/bash
# Extract Orekit versions from the changes.xml file provided in the Orekit
# repository and ignore versions prior to 6.1 (they are no longer managed).
curl
-sSL
https://gitlab.orekit.org/orekit/orekit/-/raw/master/src/changes/changes.xml
\
| xmlstarlet sel
-T
-t
-m
'//document/body/release/@version'
-v
'concat("- ",.)'
-n
\
|
grep
-vE
'^- ([0-5]\.|6\.0)'
\
>
_data/orekit/versions.yml
# Extract Rugged versions from the changes.xml file provided in the Rugged
# repository
curl
-sSL
https://gitlab.orekit.org/orekit/rugged/-/raw/master/src/changes/changes.xml
\
| xmlstarlet sel
-T
-t
-m
'//document/body/release/@version'
-v
'concat("- ",.)'
-n
\
>
_data/rugged/versions.yml
# Extract Orekit Tutorials versions from the changes.xml file provided in the
# Orekit Tutorials repository
curl
-sSL
https://gitlab.orekit.org/orekit/orekit-tutorials/-/raw/master/src/changes/changes.xml
\
| xmlstarlet sel
-T
-t
-m
'//document/body/release/@version'
-v
'concat("- ",.)'
-n
\
>
_data/orekit-tutorials/versions.yml
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