You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Tzu-Li (Gordon) Tai (Jira)" <ji...@apache.org> on 2020/02/03 17:04:00 UTC

[jira] [Commented] (FLINK-15851) JDK 8 and 11 CI build pipeline for Stateful Functions

    [ https://issues.apache.org/jira/browse/FLINK-15851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17029090#comment-17029090 ] 

Tzu-Li (Gordon) Tai commented on FLINK-15851:
---------------------------------------------

We decided to go with Travis for the time being for Stateful Functions, until Azure Pipelines integration with ASF is resolved.
It's much easier and is pretty sufficient for the repo's current CI needs.

> JDK 8 and 11 CI build pipeline for Stateful Functions
> -----------------------------------------------------
>
>                 Key: FLINK-15851
>                 URL: https://issues.apache.org/jira/browse/FLINK-15851
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Stateful Functions, Test Infrastructure
>    Affects Versions: statefun-1.1
>            Reporter: Tzu-Li (Gordon) Tai
>            Assignee: Tzu-Li (Gordon) Tai
>            Priority: Blocker
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> If we choose to use Travis, setting this up should be fairly straightforward.
> On the other hand, if we choose to use Azure Pipelines to be consistent with the community's recent discussion to migrate from Travis to Azure Pipelines for {{apache/flink}}, things will be a bit more complicated.
> As with {{apache/flink}}'s integration with Azure Pipelines, there is a problem with Azure Pipelines requiring write access for a proper integration, which ASF does not allow.
> Therefore, for Stateful Functions we also need to follow the approach that all branches / PR are mirrored to a CI repository not managed by ASF, on which Azure Pipelines monitors.
> The proposed concrete steps for setting this up for Stateful Functions with Azure Pipelines is as follows:
> # Add a minimal {{azure-pipelines.yml}} to {{apache/flink-statefun}} that runs containerized builds with JDK 8 and JDK 11. Stateful Functions should not require a custom container for the CI build environment, for now. The official Maven images {{maven:3.x.x-jdk-8/11}} should be sufficient for our current needs.
> # Request a new "ci repository" at {{flink-ci/flink-statefun}}. Setup Azure Pipelines for the ci repository.
> # Setup a CIBot instance to observe on {{apache/flink-statefun}}, replicate to {{flink-ci/flink-statefun}}, and reports back build checks to {{apache/flink-statefun}}. We should be able to reuse {{flink-ci/ci-bot}}, probably with a change that allows it to run without a Travis auth token (because Stateful Functions would not have Travis integration from the beginning).
> # Update project wiki with details on the setup.
> We need to reach out to Ververica for steps 2. and 3, since the current CI repo {{flink-ci}} and the CIBot instances are managed by them.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)