Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Mullvad Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Mullvad Browser
Commits
c202d47d
Commit
c202d47d
authored
4 years ago
by
Justin Wood
Browse files
Options
Downloads
Patches
Plain Diff
Bug 1646588 - Remove old esr52 code. r=aki
Differential Revision:
https://phabricator.services.mozilla.com/D79730
parent
70a05665
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
taskcluster/docker/periodic-updates/scripts/periodic_file_updates.sh
+2
-49
2 additions, 49 deletions
.../docker/periodic-updates/scripts/periodic_file_updates.sh
with
2 additions
and
49 deletions
taskcluster/docker/periodic-updates/scripts/periodic_file_updates.sh
+
2
−
49
View file @
c202d47d
...
...
@@ -29,7 +29,6 @@ DONTBUILD=false
APPROVAL
=
false
COMMIT_AUTHOR
=
'ffxbld <ffxbld@mozilla.com>'
REPODIR
=
''
APP_DIR
=
''
HGHOST
=
"hg.mozilla.org"
STAGEHOST
=
"archive.mozilla.org"
WGET
=
"wget -nv"
...
...
@@ -42,8 +41,6 @@ HG="$(command -v hg)"
DATADIR
=
"
${
BASEDIR
}
/data"
mkdir
-p
"
${
DATADIR
}
"
VERSION
=
''
MCVERSION
=
''
USE_MC
=
false
USE_TC
=
true
JQ
=
"
$(
command
-v
jq
)
"
...
...
@@ -88,26 +85,6 @@ SUFFIX_LIST_DIFF_ARTIFACT="${ARTIFACTS_DIR}/${SUFFIX_LIST_DIFF_ARTIFACT:-"effect
queue_base
=
"
$TASKCLUSTER_ROOT_URL
/api/queue/v1"
index_base
=
"
$TASKCLUSTER_ROOT_URL
/api/index/v1"
# Get the current in-tree version for a code branch.
function
get_version
{
VERSION_REPO
=
$1
VERSION_FILE
=
'version.txt'
# TODO bypass temporary file
cd
"
${
BASEDIR
}
"
VERSION_URL_HG
=
"
${
VERSION_REPO
}
/raw-file/default/
${
APP_DIR
}
/config/version.txt"
rm
-f
${
VERSION_FILE
}
${
WGET
}
-O
"
${
VERSION_FILE
}
"
"
${
VERSION_URL_HG
}
"
PARSED_VERSION
=
$(
cat
version.txt
)
if
[
"
${
PARSED_VERSION
}
"
==
""
]
;
then
echo
"ERROR: Unable to parse version from
$VERSION_FILE
"
>
&2
exit
21
fi
rm
-f
${
VERSION_FILE
}
echo
"
${
PARSED_VERSION
}
"
}
# Cleanup common artifacts.
function
preflight_cleanup
{
cd
"
${
BASEDIR
}
"
...
...
@@ -510,11 +487,9 @@ fi
# per-product constants
case
"
${
PRODUCT
}
"
in
thunderbird
)
APP_DIR
=
"mail"
COMMIT_AUTHOR
=
"tbirdbld <tbirdbld@thunderbird.net>"
;;
firefox
)
APP_DIR
=
"browser"
;;
*
)
echo
"Error: Invalid product specified"
...
...
@@ -539,30 +514,8 @@ case "${BRANCH}" in
;;
esac
MCREPO
=
"https://
${
HGHOST
}
/mozilla-central"
# Remove once 52esr is off support
VERSION
=
$(
get_version
"
${
HGREPO
}
"
)
MAJOR_VERSION
=
"
${
VERSION
%%.*
}
"
echo
"INFO: parsed version is
${
VERSION
}
"
if
[
"
${
USE_MC
}
"
==
"true"
]
;
then
MCVERSION
=
$(
get_version
"
${
MCREPO
}
"
)
echo
"INFO: parsed mozilla-central version is
${
MCVERSION
}
"
MAJOR_VERSION
=
"
${
MCVERSION
%%.*
}
"
fi
BROWSER_ARCHIVE
=
"
${
PRODUCT
}
-
${
VERSION
}
.en-US.
${
PLATFORM
}
.
${
PLATFORM_EXT
}
"
TESTS_ARCHIVE
=
"
${
PRODUCT
}
-
${
VERSION
}
.en-US.
${
PLATFORM
}
.common.tests.tar.gz"
if
[
"
${
USE_MC
}
"
==
"true"
]
;
then
BROWSER_ARCHIVE
=
"
${
PRODUCT
}
-
${
MCVERSION
}
.en-US.
${
PLATFORM
}
.
${
PLATFORM_EXT
}
"
TESTS_ARCHIVE
=
"
${
PRODUCT
}
-
${
MCVERSION
}
.en-US.
${
PLATFORM
}
.common.tests.tar.gz"
fi
# Simple name builds on >=53.0.0
if
[
"
${
MAJOR_VERSION
}
"
-ge
53
]
;
then
BROWSER_ARCHIVE
=
"target.
${
PLATFORM_EXT
}
"
TESTS_ARCHIVE
=
"target.common.tests.tar.gz"
fi
# End 'remove once 52esr is off support'
BROWSER_ARCHIVE
=
"target.
${
PLATFORM_EXT
}
"
TESTS_ARCHIVE
=
"target.common.tests.tar.gz"
preflight_cleanup
if
[
"
${
DO_HSTS
}
"
==
"true"
]
||
[
"
${
DO_HPKP
}
"
==
"true"
]
||
[
"
${
DO_PRELOAD_PINSET
}
"
==
"true"
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment