You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/05/25 16:41:50 UTC

[GitHub] [arrow] assignUser commented on a diff in pull request #13149: ARROW-16403:[WIP][R][CI] Create Crossbow task for R nightly builds

assignUser commented on code in PR #13149:
URL: https://github.com/apache/arrow/pull/13149#discussion_r881888757


##########
.github/workflows/r_nightly.yml:
##########
@@ -0,0 +1,110 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: Upload R Nightly builds
+
+on:
+  workflow_dispatch:
+    inputs:
+      jobid:
+        description: Job id to use.
+        required: false
+        default: ''
+  schedule:
+    #Crossbow packagin runs at 0 8 * * *
+    - cron: '0 14 * * *'
+
+jobs:
+  upload:
+    env:
+      JOBID: ${{ github.event.inputs.prefix || ''}}
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout Arrow
+        uses: actions/checkout@v3
+        with:
+          fetch-depth: 1
+          path: arrow
+          repository: apache/arrow
+          ref: master
+          submodules: recursive
+      - name: Set up Python
+        uses: actions/setup-python@v3
+        with:
+          cache: 'pip'
+          python-version: 3.8
+      - name: Install Archery
+        shell: bash
+        run: pip install -e arrow/dev/archery[all]
+      - run: mkdir -p binaries
+      - name: Download Artifacts
+        working-directory: arrow
+        run: |
+          if [ -z $JOBID ]; then
+            JOBID=nightly-packaging-$(date +%Y-%m-%d)-0-github-r-nightly-packages
+          fi
+          
+          archery crossbow download-artifact -t ../binaries $JOBID

Review Comment:
   @kszucs is this bit correct?



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

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

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