Commit Graph

41 Commits (LT1AB)

Author SHA1 Message Date
Ryan Burns f96f9c998f Switch CircleCI test/test-cmake jobs to ubuntu 20.04 base image 2022-02-17 09:29:48 -08:00
Ryan Burns b59c53f4df Switch dockerfile over from hysds image to ubuntu 20.04 2022-02-17 09:29:44 -08:00
Ryan Burns 1ce15ee2b9 circleci: Match arbitrary python3 version
Trying to prevent the CI from barfing when the python version changes
2021-11-08 20:00:55 -08:00
Ryan Burns ddcd4d85b9
Merge pull request #256 from rtburns-jpl/pycuampcor-pybind11
Convert PyCuAmpcor to pybind11
2021-09-01 11:26:38 -07:00
Ryan Burns f20e8d33f8 Add topsApp preprocess test to CI
We can run topsApp up through the preprocess step without needing any
data. This will at least verify that the config is parsed properly.
2021-05-27 11:28:37 -07:00
Ryan Burns c6eae08c1b Add pybind11 to CI packages 2021-03-10 12:37:18 -08:00
Ryan Burns e120774c18 Fix circleci jobs
Prefer native apk over pip when possible
2021-03-05 11:08:41 -08:00
Ryan Burns 137573cd1c Add sanity check for sensors 2021-03-05 10:36:38 -08:00
Ryan Burns 337dc9c158
Fix python extension linking (#168)
* Silence annoying FindFFTW warnings

* Fix linker errors at import-time

Python extensions are weakly linked, so linker errors can only be
caught at runtime. This commit fixes any such broken extensions,
and adds automated import testing to ctests to prevent future
regressions.

It also adds a helper function `isce2_add_staticlib` which creates a
position-independent static library suitable for usage in multiple
python extensions. This matches the SCons build scripts more closely
and allows for future extensions to be declared in a more terse and
hygienic fashion.

* Update utilLib scripts

* Update combinedLib scripts

* Update offoutliers lib scripts

* Add asa_im_decode cdll

* Update alos lib scripts

* Show ctest output upon failure

* Update DataAccessor scripts

* Remove TARGET_FILE_BASE_NAME

* Remove incomplete stdproc modules (require stanford code)

Co-authored-by: Ryan Burns <rtburns-jpl@users.noreply.github.com>
2020-09-14 10:57:10 -07:00
Gerald Manipon 8f57972eb8 fix autoRIFT build on centos7 and conda python 3.8
- build autoRIFT using yum-installed opencv
- fix conda dependency resolution failure
- update SConfigISCE and SConfigISCE.cuda files for python 3.8
- fix CircleCI jobs
2020-09-12 16:22:44 -07:00
Ryan Burns 2b95d39d98 Add opencv to circleci builds 2020-07-21 18:15:17 -07:00
Ryan Burns 9d9bfa0a72
Update name of main branch in CI and docs (#161)
The name of the main branch is now "main".
Documentation and CI scripts are updated accordingly.

Co-authored-by: Ryan Burns <rtburns-jpl@users.noreply.github.com>
2020-07-17 09:10:33 -07:00
Gerald Manipon f09213eb33
various updates from ARIA-related projects (#149)
* add Dockerfile and SConfigISCE to build cuda-enabled modules

* add Dockerfile and SConfigISCE to build cuda-enabled modules

* set correct name

* update for centos7 and cuda-dev image

* restore

* disable GPUampcor

* update

* save

* sync up Dockerfile updates

* fix base image

* change docker image names

* create gpu vs. cpu specific tags

* update with nodata WBD Stitcher

* fix segmentation fault when running sciflo workflows

- remove dependencies that downgrade the `geos` conda package

* sync fix for segmentation fault to cuda builds

* ping ffi to version 1.12.2

Latest version of ffi, 1.13.0, breaks installation of fpm:
```
$ sudo gem install --no-ri --no-rdoc fpm
Fetching: cabin-0.9.0.gem (100%)
Successfully installed cabin-0.9.0
Fetching: backports-3.17.2.gem (100%)
Successfully installed backports-3.17.2
Fetching: arr-pm-0.0.10.gem (100%)
Successfully installed arr-pm-0.0.10
Fetching: clamp-1.0.1.gem (100%)
Successfully installed clamp-1.0.1
Fetching: ffi-1.13.0.gem (100%)
ERROR:  Error installing fpm:
        ffi requires Ruby version >= 2.3.
```
TODO: remove pin when ffi's backwards compatiblity is restored.

* comment out unused import

* add build circleci job to PR tests

* pin ffi in cuda build

* revert logging hackery

* fix "target_include_directories called with non-compilable target type" errors

* Keep source directory for topsStack

Co-authored-by: dustinlo <dustin.k.lo@jpl.nasa.gov>
Co-authored-by: shitong01 <stchin@ntu.edu.sg>
Co-authored-by: Ryan Burns <47790121+rtburns-jpl@users.noreply.github.com>
2020-07-16 16:08:57 -07:00
piyushrpt a6e95fa2d3 Updating circleci config to handle alpine changes 2020-06-09 13:01:44 -07:00
Ryan Burns 536c191cb7 Revert "Disable primary scons job temporarily"
This reverts commit 786f205fe8.
2020-05-02 14:54:27 -07:00
Ryan Burns b0207a6e25 Use relative python module path 2020-05-02 14:45:18 -07:00
Ryan Burns 35bd54b690 Fix typo 2020-05-02 14:31:16 -07:00
Ryan Burns f20015e720 Test using isce2 application path 2020-05-02 14:09:07 -07:00
Ryan Burns 4b2e6bf9c3 Build verbosely 2020-05-02 13:57:59 -07:00
Ryan Burns 786f205fe8 Disable primary scons job temporarily 2020-05-02 13:57:05 -07:00
Ryan Burns 61547b604e Install to conda prefix 2020-05-02 13:42:00 -07:00
Ryan Burns b2ffc09638 Use conda ctest 2020-05-02 13:33:36 -07:00
Ryan Burns 870c1c90ef Fix ctest workdir 2020-05-02 13:26:51 -07:00
Ryan Burns dcb46f96e9 Use python module dir 2020-05-02 13:13:52 -07:00
Ryan Burns 2caaede24c Add preliminary circleci config 2020-05-02 12:31:15 -07:00
Ryan Burns 5d6a731753 Remove internal usage of ISCE_HOME env variable
ISCE_HOME was only used to get the location of the default logging config.
Lots of scripts were using boilerplate to set up this config, so I added
an `isce.logging` helper module which is the same as builtin python logging
but already has the configuration defaults set up for isce.

ISCE_HOME setup is retained in the toplevel `__init__.py`
but can now be removed without affecting functionality.
2020-02-03 14:01:57 -08:00
vbrancat cf66fb0789 added astropy to conda installation 2019-11-18 08:29:50 -08:00
Gerald Manipon 702a78eea2 set the correct required job 2019-07-22 08:53:18 -07:00
Gerald Manipon 01d95c4b60 add circleci job to build and deploy a release
Deployed docker image should be able to be pulled via e.g. `docker pull isce2:v2.3.2`.
Doing a `docker pull isce2:latest` still pulls the deployed docker image from the
most recent of these three circleci jobs: PR merge, weekly build, or release.
2019-07-22 08:44:35 -07:00
Gerald Manipon 16ee36e04f more descriptive circleci job name 2019-05-10 14:30:22 +00:00
Gerald Manipon 1f96e8cdaf set SHA1 correctly 2019-05-09 20:09:28 +00:00
Gerald Manipon 6a441d0e8f setup remote docker 2019-05-09 18:56:07 +00:00
Gerald Manipon 0bd95e230d truncate CIRCLE_SHA1 to match github 2019-05-09 18:53:07 +00:00
Gerald Manipon bdae7a2c8e use docker image 2019-05-09 18:20:49 +00:00
Gerald Manipon 1ca8fec597 use circleci workflows for test, docker build, and deploy to dockerhub
- renamed "build" job to "test" and created "test" workflow
  - will run on all pull requests and merges into master
- "build" job now builds isce docker container
- "deploy" job will deploy docker image to dockerhub at isce/isce2 (https://cloud.docker.com/u/isce/repository/list)
  - need to configure DOCKER_PASS and DOCKER_USER in "Build Settings" -> "Envrionment Variables" on circleci
- created "build-deploy" workflow to run "build" job then "deploy" job on merge of PR to master
- created "build-periodically" workflow to run "build-periodically" job then "deploy" job once a week
2019-05-08 09:19:05 -07:00
Gerald Manipon 359ab771ba actual issue is missing libgfortran.so link in /lib64 2019-04-17 15:12:25 -07:00
Gerald Manipon ec27ebb129 try alternate method of linking to system-installed libgfortran 2019-04-17 12:24:37 -07:00
Gerald Manipon 12071e118a fix directory creation 2019-04-17 12:09:03 -07:00
Gerald Manipon 3471de1db6 link to system version of libuuid and libgfortran 2019-04-17 11:21:27 -07:00
piyushrpt a7d2f8a807 bare minimum ci 2019-04-05 22:09:50 -07:00
piyushrpt 2b1f2d8b82 Adding circleci config 2019-04-05 09:56:02 -07:00