Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tutorials-and-use-cases
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
data-infrastructure-services
tutorials-and-use-cases
Merge requests
!81
Setup for ci
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Setup for ci
setup-for-ci
into
master
Overview
0
Commits
26
Pipelines
4
Changes
2
Merged
Fabian Wachsmann
requested to merge
setup-for-ci
into
master
2 years ago
Overview
0
Commits
26
Pipelines
4
Changes
2
Expand
0
0
Merge request reports
Viewing commit
c7099831
Prev
Next
Show latest version
2 files
+
5
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
c7099831
Updated env
· c7099831
Fabian Wachsmann
authored
2 years ago
docs/leave_required_nbooks.sh
+
2
−
2
Options
@@ -2,12 +2,12 @@
if
[
"
${
CI_COMMIT_BRANCH
}
"
!=
"master"
]
;
then
a
=
$(
git diff
--name-only
$CI_COMMIT_BEFORE_SHA
$CI_COMMIT_SHA
|
grep
ipynb | rev |
cut
-d
'/'
-f
-1
| rev |
tr
'\n'
' '
)
for
nb
in
$(
ls source
/
*
.ipynb
)
;
do
sed
-i
"s;exclude_patterns:;exclude_patterns:
\n
-
${
nb
}
;g"
source
/_config.yml
sed
-i
"s;exclude_patterns:;exclude_patterns:
\n
-
\'
${
nb
}
\'
;g"
source
/_config.yml
done
for
nb
in
$a
;
do
echo
$nb
sed
-i
"s;
\n
-
${
nb
}
;;g"
source
/_config.yml
sed
-i
"s;
\n
-
\'
${
nb
}
\'
;;g"
source
/_config.yml
done
fi
cd
../notebooks/
Loading