-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from WorldCereal/fix-jenkins
Attempt to fix jenkins build
- Loading branch information
Showing
7 changed files
with
12 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,16 @@ | ||
#!/usr/bin/env groovy | ||
|
||
/* | ||
This Jenkinsfile is used to provide snapshot builds using the VITO CI system. Travis is used to provide publicly accessible test results. | ||
This Jenkinsfile uses the Jenkins shared library. (ssh://[email protected]:7999/biggeo/jenkinslib.git) | ||
Information about the pythonPipeline method can be found in pythonPipeline.groovy | ||
*/ | ||
/* Jenkinsfile for snapshot building with VITO CI system. */ | ||
|
||
@Library('lib')_ | ||
|
||
pythonPipeline { | ||
package_name = 'worldcereal-classification' | ||
test_module_name = 'worldcereal' | ||
wipeout_workspace = true | ||
python_version = ["3.10"] | ||
extras_require = 'dev' | ||
upload_dev_wheels = false | ||
pipeline_triggers = [cron('H H(0-6) * * *')] | ||
wheel_repo = 'python-packages-public' | ||
wheel_repo_dev = 'python-packages-public-snapshot' | ||
pep440 = true | ||
venv_rpm_deps = ['gcc', 'gcc-c++'] | ||
extra_env_variables = [ | ||
'OPENEO_AUTH_METHOD=client_credentials', | ||
] | ||
extra_env_secrets = [ | ||
// Secrets for Terrascope openEO backend (openeo.vito.be) | ||
'OPENEO_AUTH_PROVIDER_ID': 'TAP/big_data_services/openeo/openeo-cropclass-service-account provider_id', | ||
'OPENEO_AUTH_CLIENT_ID': 'TAP/big_data_services/openeo/openeo-cropclass-service-account client_id', | ||
'OPENEO_AUTH_CLIENT_SECRET': 'TAP/big_data_services/openeo/openeo-cropclass-service-account client_secret', | ||
// Secrets for CDSE openEO backend (openeo-staging.dataspace.copernicus.eu) | ||
'OPENEO_AUTH_CDSE_PROVIDER_ID': 'TAP/big_data_services/openeo/openeo-cropclass-service-account-cdse provider_id', | ||
'OPENEO_AUTH_CDSE_CLIENT_ID': 'TAP/big_data_services/openeo/openeo-cropclass-service-account-cdse client_id', | ||
'OPENEO_AUTH_CDSE_CLIENT_SECRET': 'TAP/big_data_services/openeo/openeo-cropclass-service-account-cdse client_secret', | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""Extract S2 data using OpenEO-GFMAP package.""" | ||
|
||
import argparse | ||
import json | ||
from datetime import datetime | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"""Extract S1 data using OpenEO-GFMAP package.""" | ||
|
||
import argparse | ||
import json | ||
import logging | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import worldcereal | ||
|
||
|
||
def test_import_worldcereal(): | ||
assert worldcereal |