Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
head.hackage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jappie Klooster
head.hackage
Commits
b28158c5
Commit
b28158c5
authored
7 months ago
by
Matthew Pickering
Browse files
Options
Downloads
Patches
Plain Diff
Update to debian12 job names
parent
b3471d5c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ci/discover_tarball.sh
+78
-35
78 additions, 35 deletions
ci/discover_tarball.sh
with
78 additions
and
35 deletions
ci/discover_tarball.sh
+
78
−
35
View file @
b28158c5
...
...
@@ -15,41 +15,84 @@ ARCH="$(uname -m)"
# `needs` field in ghc/ghc .gitlab-ci.yml to avoid triggering the downstream job
# too early.
case
$ARCH
in
aarch64
)
if
[
-n
"
$NIGHTLY
"
]
;
then
BINDIST_NAME
=
"ghc-aarch64-linux-deb10-validate.tar.xz"
JOB_NAME
=
"nightly-aarch64-linux-deb10-validate"
elif
[
"
$RELEASE_JOB
"
==
"yes"
]
;
then
BINDIST_NAME
=
"ghc-aarch64-linux-deb10-release+no_split_sections.tar.xz"
JOB_NAME
=
"release-aarch64-linux-deb10-release+no_split_sections"
else
BINDIST_NAME
=
"ghc-aarch64-linux-deb10-validate.tar.xz"
JOB_NAME
=
"aarch64-linux-deb10-validate"
fi
;;
*
)
if
[
-n
"
$SLOW_VALIDATE
"
]
;
then
BINDIST_NAME
=
"ghc-x86_64-linux-deb10-numa-slow-validate.tar.xz"
if
[
-n
"
$NIGHTLY
"
]
;
then
JOB_NAME
=
"nightly-x86_64-linux-deb10-numa-slow-validate"
elif
[
"
$RELEASE_JOB
"
==
"yes"
]
;
then
echo
"No slow validate build in release job"
exit
2
else
JOB_NAME
=
"x86_64-linux-deb10-numa-slow-validate"
fi
else
BINDIST_NAME
=
"ghc-x86_64-linux-fedora33-release.tar.xz"
if
[
-n
"
$NIGHTLY
"
]
;
then
JOB_NAME
=
"nightly-x86_64-linux-fedora33-release"
elif
[
"
$RELEASE_JOB
"
==
"yes"
]
;
then
JOB_NAME
=
"release-x86_64-linux-fedora33-release"
else
JOB_NAME
=
"x86_64-linux-fedora33-release"
fi
fi
;;
# Before the update to deb12, we use the deb10 bindists
case
$UPSTREAM_BRANCH_NAME
in
ghc-9.6|ghc-9.8|ghc-9.10
)
case
$ARCH
in
aarch64
)
if
[
-n
"
$NIGHTLY
"
]
;
then
BINDIST_NAME
=
"ghc-aarch64-linux-deb10-validate.tar.xz"
JOB_NAME
=
"nightly-aarch64-linux-deb10-validate"
elif
[
"
$RELEASE_JOB
"
==
"yes"
]
;
then
BINDIST_NAME
=
"ghc-aarch64-linux-deb10-release+no_split_sections.tar.xz"
JOB_NAME
=
"release-aarch64-linux-deb10-release+no_split_sections"
else
BINDIST_NAME
=
"ghc-aarch64-linux-deb10-validate.tar.xz"
JOB_NAME
=
"aarch64-linux-deb10-validate"
fi
;;
*
)
if
[
-n
"
$SLOW_VALIDATE
"
]
;
then
BINDIST_NAME
=
"ghc-x86_64-linux-deb10-numa-slow-validate.tar.xz"
if
[
-n
"
$NIGHTLY
"
]
;
then
JOB_NAME
=
"nightly-x86_64-linux-deb10-numa-slow-validate"
elif
[
"
$RELEASE_JOB
"
==
"yes"
]
;
then
echo
"No slow validate build in release job"
exit
2
else
JOB_NAME
=
"x86_64-linux-deb10-numa-slow-validate"
fi
else
BINDIST_NAME
=
"ghc-x86_64-linux-fedora33-release.tar.xz"
if
[
-n
"
$NIGHTLY
"
]
;
then
JOB_NAME
=
"nightly-x86_64-linux-fedora33-release"
elif
[
"
$RELEASE_JOB
"
==
"yes"
]
;
then
JOB_NAME
=
"release-x86_64-linux-fedora33-release"
else
JOB_NAME
=
"x86_64-linux-fedora33-release"
fi
fi
;;
esac
;;
*
)
# Post update to use deb12
case
$ARCH
in
aarch64
)
if
[
-n
"
$NIGHTLY
"
]
;
then
BINDIST_NAME
=
"ghc-aarch64-linux-deb12-validate.tar.xz"
JOB_NAME
=
"nightly-aarch64-linux-deb12-validate"
elif
[
"
$RELEASE_JOB
"
==
"yes"
]
;
then
BINDIST_NAME
=
"ghc-aarch64-linux-deb12-release+no_split_sections.tar.xz"
JOB_NAME
=
"release-aarch64-linux-deb12-release+no_split_sections"
else
BINDIST_NAME
=
"ghc-aarch64-linux-deb12-validate.tar.xz"
JOB_NAME
=
"aarch64-linux-deb12-validate"
fi
;;
*
)
if
[
-n
"
$SLOW_VALIDATE
"
]
;
then
BINDIST_NAME
=
"ghc-x86_64-linux-deb12-numa-slow-validate.tar.xz"
if
[
-n
"
$NIGHTLY
"
]
;
then
JOB_NAME
=
"nightly-x86_64-linux-deb12-numa-slow-validate"
elif
[
"
$RELEASE_JOB
"
==
"yes"
]
;
then
echo
"No slow validate build in release job"
exit
2
else
JOB_NAME
=
"x86_64-linux-deb12-numa-slow-validate"
fi
else
BINDIST_NAME
=
"ghc-x86_64-linux-fedora33-release.tar.xz"
if
[
-n
"
$NIGHTLY
"
]
;
then
JOB_NAME
=
"nightly-x86_64-linux-fedora33-release"
elif
[
"
$RELEASE_JOB
"
==
"yes"
]
;
then
JOB_NAME
=
"release-x86_64-linux-fedora33-release"
else
JOB_NAME
=
"x86_64-linux-fedora33-release"
fi
fi
;;
esac
;;
esac
>
&2
echo
"BINDIST_NAME=
${
BINDIST_NAME
}
"
...
...
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