Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uffd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
thies
uffd
Commits
8fe58b2e
Verified
Commit
8fe58b2e
authored
3 years ago
by
sistason
Browse files
Options
Downloads
Patches
Plain Diff
use ci for everything
parent
959f5823
Branches
Branches containing commit
Tags
release/calendar/4.6.3
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+26
-15
26 additions, 15 deletions
.gitlab-ci.yml
with
26 additions
and
15 deletions
.gitlab-ci.yml
+
26
−
15
View file @
8fe58b2e
...
@@ -16,23 +16,34 @@ before_script:
...
@@ -16,23 +16,34 @@ before_script:
-
python3 -m coverage --version
-
python3 -m coverage --version
-
echo "${CI_COMMIT_TAG}" | grep -qE "v[0-9]+[.][0-9]+[.][0-9]+.*" && export UFFD_PACKAGE_VERSION="${CI_COMMIT_TAG#v}" || export UFFD_PACKAGE_VERSION="${CI_COMMIT_SHA}"
-
echo "${CI_COMMIT_TAG}" | grep -qE "v[0-9]+[.][0-9]+[.][0-9]+.*" && export UFFD_PACKAGE_VERSION="${CI_COMMIT_TAG#v}" || export UFFD_PACKAGE_VERSION="${CI_COMMIT_SHA}"
build_test_instance_path
:
.test_instance_path
:
image
:
name
:
gcr.io/kaniko-project/executor:debug-v0.24.0
entrypoint
:
[
"
"
]
stage
:
build
before_script
:
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
script
:
-
/kaniko/executor --context "$CI_PROJECT_DIR" --dockerfile Dockerfile --destination "${CI_REGISTRY_IMAGE}:test-instance-path"
test_instance_path
:
stage
:
test
stage
:
test
image
:
registry.git.cccv.de/uffd/uffd:test-instance-path
image
:
python:3.7
variables
:
FLASK_APP
:
uffd
FLASK_ENV
:
development
before_script
:
before_script
:
-
python --version
-
pip3 install flask==1.1.2 Flask-SQLAlchemy==2.1 qrcode==6.1 fido2==0.5.0 oauthlib==2.1.0 Flask-OAuthlib==0.9.5 \
script
:
Flask-Migrate==2.1.1 Flask-Babel==2.0.0 alembic==1.0.0 argon2-cffi==18.3.0 certifi==2018.8.24 cffi==1.15.0 \
-
FLASK_APP=uffd CONFIG_PATH=/etc/uffd/uffd.cfg flask db upgrade
chardet==3.0.4 click==7.0 cryptography==2.6.1 idna==2.6 itsdangerous==0.24 Jinja2==2.11 MarkupSafe==1.1.0 \
pyasn1==0.4.2 pycparser==2.19 requests==2.21.0 requests-oauthlib==1.0.0 six==1.12.0 SQLAlchemy==1.2.18 \
urllib3==1.24.1 Werkzeug==1 python-dateutil==2.7.3 Mako==1.0.7 \
pyyaml==6.0 uwsgi==2.0.20
-
useradd uffd; mkdir /etc/uffd /usr/share/uffd; echo "SECRET_KEY='foo'" > /etc/uffd/uffd.cfg
-
mv uffd /usr/share/uffd/; mv uwsgi.ini /etc/uffd/
-
pybabel compile -d /usr/share/uffd/uffd/translations
-
sed -i "s/^plugin/#plugin/g" /etc/uffd/uwsgi.ini
script
:
-
uwsgi /etc/uffd/uwsgi.ini --http 0.0.0.0:8080
test_instance_path_37
:
image
:
python:3.7
test_instance_path_38
:
image
:
python:3.8
test_instance_path_39
:
image
:
python:3.9
test_instance_path_310
:
image
:
python:3.10
.build
:
.build
:
stage
:
build
stage
:
build
...
...
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