This is an automated email from the ASF dual-hosted git repository.

mbalassi pushed a commit to branch release-1.16.0.1-acs
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 4810b439beb515f821019dfce8651aa6eb016d9d
Author: Thomas Weise <t...@apache.org>
AuthorDate: Thu Aug 19 11:21:33 2021 -0700

    [apple] Add rio.yml
---
 rio.yml | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/rio.yml b/rio.yml
new file mode 100644
index 00000000000..2fde5b2d177
--- /dev/null
+++ b/rio.yml
@@ -0,0 +1,50 @@
+schemaVersion: 2.0
+timeout: 60
+pipelines:
+  # Pipeline to build Flink from Apple branch.
+  - name: publish-branch-1.14.3-apple
+    branchName: branch-1.14.3-apple
+    timeout: 120
+    machine:
+      baseImage: docker.apple.com/thomas-weise/flink-ci:latest
+    trigger:
+      gitPush: false
+    build:
+      template: freestyle:v4:publish
+      steps:
+        - cd /workspace
+        #- ls -la ~/.m2
+        #- mvn help:effective-settings -X -rf :flink-avro-confluent-registry
+        - rm -rf .staged-artifacts
+        - mvn clean deploy -Pdocs-and-source -DskipTests -Drat.skip 
-Dscala-2.12 
-DaltDeploymentRepository=local-staging::default::file://`pwd`/.staged-artifacts
+        # see 
https://docs.aci.apple.com/rio/guide-to-rio/package-and-publish/freeform.html
+        # must exclude maven-metadata.xml
+        - ci stage-lib --exclude maven-metadata.xml --exclude *.md5 --exclude 
*.sha1 --many-many-artifacts ./.staged-artifacts/**
+        #- ci stage-lib 
"./target/artifacts/org/apache/flink/*/*/*.jar,org/apache/flink/"
+        #- ci stage-lib 
"./target/artifacts/org/apache/flink/*/*/*.pom,org/apache/flink/"
+    package:
+      # enable for release (non -SNAPSHOT) builds
+      # release: true
+      freeform:
+        - publish:
+            - repo: m2:oss-patched
+
+  - name: pull-request-branch-1.14.3-apple
+    branchName: branch-1.14.3-apple
+    timeout: 120
+    machine:
+      baseImage: docker.apple.com/thomas-weise/flink-ci:latest
+    trigger:
+      gitPush: false
+    build:
+      template: freestyle:v4:prb
+      steps:
+        - cd /workspace
+        - rm -rf .staged-artifacts
+        - mvn clean deploy -Pdocs-and-source -DskipTests -Drat.skip 
-Dscala-2.12
+    package:
+      # enable for release (non -SNAPSHOT) builds
+      # release: true
+      freeform:
+        - publish:
+            - repo: m2:oss-patched

Reply via email to