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 03:57:00 UTC

[jira] [Updated] (FLINK-15851) JDK 8 and 11 CI build pipeline for Stateful Functions with Azure Pipelines

     [ https://issues.apache.org/jira/browse/FLINK-15851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tzu-Li (Gordon) Tai updated FLINK-15851:
----------------------------------------
    Description: 
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 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.

  was:
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 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 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.


> JDK 8 and 11 CI build pipeline for Stateful Functions with Azure Pipelines
> --------------------------------------------------------------------------
>
>                 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
>
> 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 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)