Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.devtools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Show more breadcrumbs
bob
bob.devtools
Commits
1d97d996
Commit
1d97d996
authored
3 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
[ci] Run pre-commit on ci
parent
69b02709
No related branches found
No related tags found
No related merge requests found
Pipeline
#52918
passed
3 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-0
6 additions, 0 deletions
.gitlab-ci.yml
with
6 additions
and
0 deletions
.gitlab-ci.yml
+
6
−
0
View file @
1d97d996
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
variables
:
variables
:
PYTHONUNBUFFERED
:
"
1"
PYTHONUNBUFFERED
:
"
1"
CONDA_ROOT
:
"
${CI_PROJECT_DIR}/miniconda"
CONDA_ROOT
:
"
${CI_PROJECT_DIR}/miniconda"
PRE_COMMIT_HOME
:
"
${CI_PROJECT_DIR}/.cache/pre-commit"
# Definition of our build pipeline order
# Definition of our build pipeline order
...
@@ -19,6 +20,7 @@ stages:
...
@@ -19,6 +20,7 @@ stages:
cache
:
cache
:
paths
:
paths
:
-
miniconda.sh
-
miniconda.sh
-
${PRE_COMMIT_HOME}
build_linux
:
build_linux
:
...
@@ -35,6 +37,8 @@ build_linux:
...
@@ -35,6 +37,8 @@ build_linux:
-
python3 ./bob/devtools/bootstrap.py -vv build
-
python3 ./bob/devtools/bootstrap.py -vv build
-
source ${CONDA_ROOT}/etc/profile.d/conda.sh
-
source ${CONDA_ROOT}/etc/profile.d/conda.sh
-
conda activate base
-
conda activate base
-
pip install pre-commit
-
pre-commit run --all-files
-
python3 ./bob/devtools/build.py -vv --twine-check
-
python3 ./bob/devtools/build.py -vv --twine-check
artifacts
:
artifacts
:
paths
:
paths
:
...
@@ -57,6 +61,8 @@ build_macos_intel:
...
@@ -57,6 +61,8 @@ build_macos_intel:
-
python3 ./bob/devtools/bootstrap.py -vv build
-
python3 ./bob/devtools/bootstrap.py -vv build
-
source ${CONDA_ROOT}/etc/profile.d/conda.sh
-
source ${CONDA_ROOT}/etc/profile.d/conda.sh
-
conda activate base
-
conda activate base
-
pip install pre-commit
-
pre-commit run --all-files
-
python3 ./bob/devtools/build.py -vv
-
python3 ./bob/devtools/build.py -vv
artifacts
:
artifacts
:
paths
:
paths
:
...
...
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