Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to fix jenkins build #53

Merged
merged 8 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 3 additions & 21 deletions Jenkinsfile
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',
]
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies = [
"rioxarray>=0.13.0",
"loguru>=0.7.2",
"h5netcdf>=1.2.0",
"openeo[localprocessing]",
"openeo>=0.29.0",
"cftime",
"pytest-depends",
"pyarrow",
Expand Down
1 change: 1 addition & 0 deletions scripts/extractions/extract_meteo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Extract AGERA5 (Meteo) data using OpenEO-GFMAP package."""

import argparse
from functools import partial
from pathlib import Path
Expand Down
1 change: 1 addition & 0 deletions scripts/extractions/extract_optical.py
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
Expand Down
1 change: 1 addition & 0 deletions scripts/extractions/extract_sar.py
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
Expand Down
3 changes: 0 additions & 3 deletions tests/worldcerealtests/test_openeo.py

This file was deleted.

5 changes: 5 additions & 0 deletions tests/worldcerealtests/test_worldcereal.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import worldcereal


def test_import_worldcereal():
assert worldcereal
Loading