]>
Commit | Line | Data |
---|---|---|
1d09f67e TL |
1 | # Licensed to the Apache Software Foundation (ASF) under one |
2 | # or more contributor license agreements. See the NOTICE file | |
3 | # distributed with this work for additional information | |
4 | # regarding copyright ownership. The ASF licenses this file | |
5 | # to you under the Apache License, Version 2.0 (the | |
6 | # "License"); you may not use this file except in compliance | |
7 | # with the License. You may obtain a copy of the License at | |
8 | # | |
9 | # http://www.apache.org/licenses/LICENSE-2.0 | |
10 | # | |
11 | # Unless required by applicable law or agreed to in writing, | |
12 | # software distributed under the License is distributed on an | |
13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
14 | # KIND, either express or implied. See the License for the | |
15 | # specific language governing permissions and limitations | |
16 | # under the License. | |
17 | ||
18 | version: 2 | |
19 | jobs: | |
20 | build: | |
21 | machine: | |
22 | image: ubuntu-1604:202004-01 | |
23 | {%- if env is defined %} | |
24 | environment: | |
25 | {%- for key, value in env.items() %} | |
26 | {{ key }}: {{ value }} | |
27 | {%- endfor %} | |
28 | {%- endif %} | |
29 | steps: | |
30 | - run: | | |
31 | docker -v | |
32 | docker-compose -v | |
33 | - run: | | |
34 | git clone --no-checkout {{ arrow.remote }} arrow | |
35 | git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }} | |
36 | git -C arrow checkout FETCH_HEAD | |
37 | git -C arrow submodule update --init --recursive | |
38 | - run: | |
39 | name: Execute Docker Build | |
40 | command: | | |
41 | pyenv versions | |
42 | pyenv global 3.6.10 | |
43 | pip install -e arrow/dev/archery[docker] | |
44 | archery docker run -e SETUPTOOLS_SCM_PRETEND_VERSION="{{ arrow.no_rc_version }}" {{ run }} | |
45 | no_output_timeout: "1h" | |
46 | ||
47 | workflows: | |
48 | version: 2 | |
49 | build: | |
50 | jobs: | |
51 | - build |