Bug 1530908 - Always set USE_ARTIFACT from taskcluster for artifact builds. r=chmanchester
authorMike Hommey <mh+mozilla@glandium.org>
Wed, 06 Mar 2019 22:48:30 +0000
changeset 520606 c21559af66d690144c31865c1ebf6fd0cbef5534
parent 520605 ad8315f518076b67332cf5639aede5836c0bab7a
child 520607 8afb91736f7015b605e1f7ecbe56e0edec514296
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschmanchester
bugs1530908
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1530908 - Always set USE_ARTIFACT from taskcluster for artifact builds. r=chmanchester The artifact builds that are automatically derived using the artifact template set the USE_ARTIFACT environment variable from taskcluster. After the previous change, --artifact builds from try syntax do that too. That leaves us with only the artifact-build build not doing it, so for consistency, do it there. That makes it not necessary to set USE_ARTIFACT from mozconfig.artifact.automation anymore. Depends on D22056 Differential Revision: https://phabricator.services.mozilla.com/D21313
build/mozconfig.artifact.automation
taskcluster/ci/artifact-build/kind.yml
--- a/build/mozconfig.artifact.automation
+++ b/build/mozconfig.artifact.automation
@@ -1,8 +1,7 @@
 # Common options for artifact builds to set automation steps.
 # This gets included before mozconfig.automation.
 
 MOZ_AUTOMATION_BUILD_SYMBOLS=0
 MOZ_AUTOMATION_L10N_CHECK=0
 MOZ_AUTOMATION_PACKAGE_GENERATED_SOURCES=0
 MOZ_AUTOMATION_ARTIFACT_BUILDS=1
-USE_ARTIFACT=1
--- a/taskcluster/ci/artifact-build/kind.yml
+++ b/taskcluster/ci/artifact-build/kind.yml
@@ -27,16 +27,17 @@ jobs:
             tier: 2
         run-on-projects: ['trunk', 'try']
         worker-type: aws-provisioner-v1/gecko-{level}-b-linux
         worker:
             max-run-time: 3600
             env:
                 PERFHERDER_EXTRA_OPTIONS: artifact
                 MOZ_ARTIFACT_TASK: {task-reference: '<linux64-opt>'}
+                USE_ARTIFACT: '1'
         run:
             using: mozharness
             actions: [get-secrets, build]
             config:
                 - builds/releng_base_firefox.py
                 - builds/releng_sub_linux_configs/64_artifact.py
             script: "mozharness/scripts/fx_desktop_build.py"
             secrets: true