Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GHC for pandoc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Glasgow Haskell Compiler
GHC for pandoc
Commits
a4613e1c
Verified
Commit
a4613e1c
authored
2 years ago
by
Olivier Benz
Browse files
Options
Downloads
Patches
Plain Diff
Rename branch master to main
parent
88952927
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+4
-4
4 additions, 4 deletions
.gitlab-ci.yml
bootstrap/arm64.Dockerfile
+2
-2
2 additions, 2 deletions
bootstrap/arm64.Dockerfile
with
6 additions
and
6 deletions
.gitlab-ci.yml
+
4
−
4
View file @
a4613e1c
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
fi
fi
-
|
-
|
export CI_APP_REPO=${CI_APP_REPO:-$CI_REGISTRY_IMAGE}
export CI_APP_REPO=${CI_APP_REPO:-$CI_REGISTRY_IMAGE}
if [[ $CI_COMMIT_BRANCH == "ma
ster
" ]]; then
if [[ $CI_COMMIT_BRANCH == "ma
in
" ]]; then
export CI_APP_TAG=${CI_APP_TAG:-latest}
export CI_APP_TAG=${CI_APP_TAG:-latest}
elif [[ $CI_COMMIT_BRANCH == "freeze-version" ]]; then
elif [[ $CI_COMMIT_BRANCH == "freeze-version" ]]; then
export CI_APP_TAG=${CI_APP_TAG:-$GHC_VERSION_BUILD}
export CI_APP_TAG=${CI_APP_TAG:-$GHC_VERSION_BUILD}
...
@@ -55,7 +55,7 @@ build:latest-linux-amd64:
...
@@ -55,7 +55,7 @@ build:latest-linux-amd64:
docker push $CI_APP_REPO:$CI_APP_TAG-linux-amd64
docker push $CI_APP_REPO:$CI_APP_TAG-linux-amd64
docker push $CI_APP_REPO:$VERSION_MAJ_MIN_PAT-linux-amd64
docker push $CI_APP_REPO:$VERSION_MAJ_MIN_PAT-linux-amd64
rules
:
rules
:
-
if
:
$CI_COMMIT_BRANCH == "ma
ster
" && $CI_BUILD_PLATFORMS =~ /(linux\/amd64)/
-
if
:
$CI_COMMIT_BRANCH == "ma
in
" && $CI_BUILD_PLATFORMS =~ /(linux\/amd64)/
changes
:
changes
:
-
latest.Dockerfile
-
latest.Dockerfile
...
@@ -76,7 +76,7 @@ build:latest-linux-arm64v8:
...
@@ -76,7 +76,7 @@ build:latest-linux-arm64v8:
docker push $CI_APP_REPO:$CI_APP_TAG-linux-arm64v8
docker push $CI_APP_REPO:$CI_APP_TAG-linux-arm64v8
docker push $CI_APP_REPO:$VERSION_MAJ_MIN_PAT-linux-arm64v8
docker push $CI_APP_REPO:$VERSION_MAJ_MIN_PAT-linux-arm64v8
rules
:
rules
:
-
if
:
$CI_COMMIT_BRANCH == "ma
ster
" && $CI_BUILD_PLATFORMS =~ /(linux\/arm64\/v8)/
-
if
:
$CI_COMMIT_BRANCH == "ma
in
" && $CI_BUILD_PLATFORMS =~ /(linux\/arm64\/v8)/
changes
:
changes
:
-
latest.Dockerfile
-
latest.Dockerfile
...
@@ -149,7 +149,7 @@ build-manifest:latest-linux-multiarch:
...
@@ -149,7 +149,7 @@ build-manifest:latest-linux-multiarch:
fi
fi
docker manifest push $CI_APP_REPO:$VERSION_MAJ
docker manifest push $CI_APP_REPO:$VERSION_MAJ
rules
:
rules
:
-
if
:
$CI_COMMIT_BRANCH == "ma
ster
"
-
if
:
$CI_COMMIT_BRANCH == "ma
in
"
changes
:
changes
:
-
latest.Dockerfile
-
latest.Dockerfile
...
...
This diff is collapsed.
Click to expand it.
bootstrap/arm64.Dockerfile
+
2
−
2
View file @
a4613e1c
...
@@ -26,7 +26,7 @@ RUN apk add --update --no-cache \
...
@@ -26,7 +26,7 @@ RUN apk add --update --no-cache \
zlib-dev
zlib-dev
RUN
cd
/tmp/
\
RUN
cd
/tmp/
\
&&
wget https://gitlab.b-data.ch/ghc/ghc-bootstrap-aarch64/-/raw/ma
ster
/ghc-8.8.3-r0.apk
\
&&
wget https://gitlab.b-data.ch/ghc/ghc-bootstrap-aarch64/-/raw/ma
in
/ghc-8.8.3-r0.apk
\
&&
apk add
--allow-untrusted
ghc-8.8.3-r0.apk
\
&&
apk add
--allow-untrusted
ghc-8.8.3-r0.apk
\
&&
curl
-sSLO
https://downloads.haskell.org/~cabal/cabal-install-
$CABAL_VERSION
/cabal-install-
$CABAL_VERSION
.tar.gz
\
&&
curl
-sSLO
https://downloads.haskell.org/~cabal/cabal-install-
$CABAL_VERSION
/cabal-install-
$CABAL_VERSION
.tar.gz
\
&&
tar
zxf cabal-install-
$CABAL_VERSION
.tar.gz
\
&&
tar
zxf cabal-install-
$CABAL_VERSION
.tar.gz
\
...
@@ -74,7 +74,7 @@ RUN apk add --update --no-cache \
...
@@ -74,7 +74,7 @@ RUN apk add --update --no-cache \
zlib-dev
\
zlib-dev
\
#zlib-static
\
#zlib-static
\
&&
cd
/tmp/
\
&&
cd
/tmp/
\
&&
wget https://gitlab.b-data.ch/ghc/ghc-bootstrap-aarch64/-/raw/ma
ster
/ghc-8.8.3-r0.apk
\
&&
wget https://gitlab.b-data.ch/ghc/ghc-bootstrap-aarch64/-/raw/ma
in
/ghc-8.8.3-r0.apk
\
&&
apk add
--allow-untrusted
ghc-8.8.3-r0.apk
\
&&
apk add
--allow-untrusted
ghc-8.8.3-r0.apk
\
&&
cd
/
\
&&
cd
/
\
&&
rm
-rf
/tmp/
*
&&
rm
-rf
/tmp/
*
...
...
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