Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 1562223

Browse files
committed
refactor azure to specify BUILD_COMMIT once, not twice
1 parent 6c9a1df commit 1562223

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ where user is the ``ANACONDA_ORG`` value in the ``yml`` files.
5858
Triggering a build
5959
==================
6060

61-
You will likely want to edit the ``azure/*`` files to
61+
You will likely want to edit the ``azure-pipelines.yml`` files to
6262
specify the ``BUILD_COMMIT`` before triggering a build - see below.
6363

6464
You will need write permission to the github repository to trigger new builds.
@@ -75,7 +75,7 @@ Which numpy commit does the repository build?
7575

7676
PRs merged to this repo from a fork, and commits directly pushed to this repo
7777
will build the commit specified in the ``BUILD_COMMIT`` at the top of the
78-
``azure/windows.yml`` and ``azure/posix.yml`` files, the wheels will be
78+
``azure-pipelines.yml`` file, the wheels will be
7979
uploaded to https://anaconda.org/multibuild-wheels-staging/numpy. The
8080
``NIGHTLY_BUILD_COMMIT`` is built once a week (sorry for the misnomer),
8181
and uploaded to https://anaconda.org/scipy-wheels-nightly/.

azure-pipelines.yml

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ trigger:
1313
pr:
1414
- master
1515

16+
variables:
17+
BUILD_COMMIT: "master"
18+
1619
jobs:
1720
- template: azure/windows.yml
1821
parameters:

azure/posix.yml

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ jobs:
99
vmImage: ${{ parameters.vmImage }}
1010
variables:
1111
REPO_DIR: "numpy"
12-
BUILD_COMMIT: "master"
1312
PLAT: "x86_64"
1413
CYTHON_BUILD_DEP: "cython==0.29.16"
1514
NIGHTLY_BUILD_COMMIT: "master"

azure/windows.yml

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ jobs:
88
pool:
99
vmImage: ${{ parameters.vmImage }}
1010
variables:
11-
BUILD_COMMIT: "master"
1211
NIGHTLY_BUILD_COMMIT: "master"
1312
JUNITXML: "test-data.xml"
1413
TEST_DIR: '$(Agent.WorkFolder)/tmp_for_test'

0 commit comments

Comments
 (0)