Skip to content

Commit

Permalink
Merge pull request #53 from WorldCereal/fix-jenkins
Browse files Browse the repository at this point in the history
Attempt to fix jenkins build
  • Loading branch information
kvantricht authored Jun 5, 2024
2 parents ebfcc1b + bd9cb80 commit a441c8f
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 25 deletions.
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

0 comments on commit a441c8f

Please sign in to comment.