Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
WindEnergyToolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Admin message
The Gitlab server is succesfully updated to version 17.10.3
Show more breadcrumbs
toolbox
WindEnergyToolbox
Commits
4000213b
Commit
4000213b
authored
1 year ago
by
Rasmus Sode Lund
Browse files
Options
Downloads
Patches
Plain Diff
Updated image used to deploy the website
parent
91efa31a
No related branches found
No related tags found
1 merge request
!221
Updated image used to deploy the website
Pipeline
#45706
failed
1 year ago
Stage: build
Stage: test
Stage: deploy
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-0
1 addition, 0 deletions
.gitlab-ci.yml
update_pyproject.py
+6
-1
6 additions, 1 deletion
update_pyproject.py
with
7 additions
and
1 deletion
.gitlab-ci.yml
+
1
−
0
View file @
4000213b
...
...
@@ -35,6 +35,7 @@ test:
pages
:
# "pages" is a job specifically for GitLab pages [1]
stage
:
# build, test, deploy defined by default [2]
deploy
image
:
continuumio/anaconda3:latest
script
:
# use sphinx to build docs, move to public page
-
apt-get update
-
pip install --upgrade pip
...
...
This diff is collapsed.
Click to expand it.
update_pyproject.py
+
6
−
1
View file @
4000213b
...
...
@@ -15,7 +15,12 @@ with open("README.md") as f:
# Getting the package version.
repo
=
git
.
cmd
.
Git
(
"
./
"
)
v
=
repo
.
describe
(
"
--tags
"
).
split
(
"
-
"
)
version_string
=
f
"
{
v
[
0
]
}
.dev
{
v
[
1
]
}
+
{
v
[
2
]
}
"
if
len
(
v
)
>
1
:
# Development/untagged version
version_string
=
f
"
{
v
[
0
]
}
.dev
{
v
[
1
]
}
+
{
v
[
2
]
}
"
elif
len
(
v
)
==
1
:
# Tagged version
version_string
=
f
"
{
v
[
0
]
}
"
# %% Applying the information to the template
...
...
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