Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
management
Manage
Activity
Members
Labels
Plan
Issues
180
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dbnomics-fetchers
management
Commits
8b9c29d1
Commit
8b9c29d1
authored
4 years ago
by
Christophe Benz
Browse files
Options
Downloads
Patches
Plain Diff
Use dbnomics-fetcher-ops
parent
b20f832d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#167796
passed with stage
in 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-8
4 additions, 8 deletions
.gitlab-ci.yml
with
4 additions
and
8 deletions
.gitlab-ci.yml
+
4
−
8
View file @
8b9c29d1
...
...
@@ -14,17 +14,13 @@ Configure fetchers:
-
.cache/pip
-
venv/
before_script
:
-
wget https://git.nomics.world/dbnomics/dbnomics-gitlab-ci/-/raw/master/requirements.txt
-
wget https://git.nomics.world/dbnomics/dbnomics-gitlab-ci/-/raw/master/configure-fetcher.py
-
wget https://git.nomics.world/dbnomics/dbnomics-gitlab-ci/-/raw/master/ls-providers.py
-
pip install virtualenv
-
virtualenv venv
-
python -m venv venv
-
source venv/bin/activate
-
pip install
-r requirements.txt
-
pip install
dbnomics-fetcher-ops
script
:
-
|
for provider_slug in $(
python ls-providers.py
--no-legacy-pipeline --slug)
for provider_slug in $(
dbnomics-fetchers list
--no-legacy-pipeline --slug)
do
echo "Configuring fetcher for provider ${provider_slug}"
python configure-fetcher.py -v
--schedule-cron="0 1 * * *" $provider_slug
dbnomics-fetchers -v configure
--schedule-cron="0 1 * * *" $provider_slug
done
This diff is collapsed.
Click to expand it.
Preview
0%
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