Re: Long queue time on travis-ci

2020-11-08 Thread Felix Cheung
Hello,

There has been, in the past, incidents where the shared Travis resource is
exhausted.

It might help if you restrict to build one branch (like main) only.

Some projects have acquired corporate sponsorship for a separate Travis
instance.

Some has moved to another system, like GitHub Action (eg superset or
airflow)
https://cwiki.apache.org/confluence/display/INFRA/Github+Actions+to+DockerHub
(I am not certain if there is any fee involved)

ASF has no policy against using other CI or test system.


On Sun, Nov 8, 2020 at 11:23 AM Jia Yu  wrote:

> Hi Felix,
>
> I notice that recently, the Travis-CI auto-build on our PRs and commits
> seem to have a very long queue time (
> https://travis-ci.org/github/apache/incubator-sedona/builds/742278311)
>
> Is this because we are under Apache organization and there are hundreds of
> builds going on? Or is this because the build is based on a non-master
> branch? If we push the commit to the master branch, will the build be
> faster?
>
> Thanks,
> Jia
>


[GitHub] [incubator-sedona] Imbruced commented on pull request #487: [SEDONA-3] Sedona release 3.0 python adapter [WIP]

2020-11-08 Thread GitBox


Imbruced commented on pull request #487:
URL: https://github.com/apache/incubator-sedona/pull/487#issuecomment-723544195


   @jiayuasu I dicided to add python-adapter for simplicity reasons, only 
sedona-python-adapter is required to get all functionality. As you can see 
within travis script. 
   
   ```yml
   - find python-adapter/target/ -iregex 
"python-adapter\/target\/sedona-python-adapter-[0-9]\.[0-9]\.[0-9]-incubator\(-SNAPSHOT\)?\.jar"
 -exec cp {} $SPARK_HOME/jars \;
   - (cd python;pipenv run pytest tests)
   ```
   Assuming that user has Spark installed and properly set up Spark 
environment, he needs to add only one jar file. He can do that using 
SparkSession config argument or by putting the jar file within $SPARK_HOME/jars 
location.
   
   I removed confusing upload_jars function (and also dependency, 
**find_spark** which can cause issues with other libraries versions). 
sedona-python-adapter.jar file will be included as additional files on PyPI and 
I think it should not be uploaded on maven.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org