Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
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
gershomb
GHC
Commits
90ceafa8
Commit
90ceafa8
authored
6 years ago
by
Ben Gamari
Browse files
Options
Downloads
Patches
Plain Diff
gitlab: Drop submodules hack
parent
f109865f
No related branches found
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
+1
-20
1 addition, 20 deletions
.gitlab-ci.yml
.gitlab/fix-submodules.py
+0
-8
0 additions, 8 deletions
.gitlab/fix-submodules.py
with
1 addition
and
28 deletions
.gitlab-ci.yml
+
1
−
20
View file @
90ceafa8
variables
:
GIT_SSL_NO_VERIFY
:
"
1"
before_script
:
-
python3 .gitlab/fix-submodules.py
-
git submodule sync --recursive
-
git submodule update --init --recursive
-
git checkout .gitmodules
GIT_SUBMODULES_STRATEGY
:
"
recursive"
stages
:
-
lint
...
...
@@ -53,10 +48,6 @@ validate-x86_64-linux-deb8-hadrian:
before_script
:
# workaround for docker permissions
-
sudo chown ghc:ghc -R .
-
python3 .gitlab/fix-submodules.py
-
git submodule sync --recursive
-
git submodule update --init --recursive
-
git checkout .gitmodules
tags
:
-
x86_64-linux
...
...
@@ -100,11 +91,6 @@ validate-x86_64-darwin:
# Only Sierra and onwards supports clock_gettime. See #12858
ac_cv_func_clock_gettime
:
"
no"
before_script
:
-
python .gitlab/fix-submodules.py
-
git submodule sync --recursive
-
git submodule update --init --recursive
-
git checkout .gitmodules
-
bash .gitlab/darwin-init.sh
-
PATH="`pwd`/toolchain/bin:$PATH"
# Disable sphinx PDF output as MacTeX apparently doesn't provide xelatex
...
...
@@ -125,11 +111,6 @@ validate-x86_64-darwin:
tags
:
-
x86_64-linux
before_script
:
-
python3 .gitlab/fix-submodules.py
-
git submodule sync --recursive
-
git submodule update --init --recursive
-
git checkout .gitmodules
-
bash .circleci/prepare-system.sh
# workaround for docker permissions
-
sudo chown ghc:ghc -R .
...
...
This diff is collapsed.
Click to expand it.
.gitlab/fix-submodules.py
deleted
100644 → 0
+
0
−
8
View file @
f109865f
#!/usr/bin/python
import
re
x
=
open
(
'
.gitmodules
'
).
read
()
x
=
re
.
sub
(
r
"
url *= *\.\.
"
,
"
url = https://git.haskell.org
"
,
x
)
open
(
'
.gitmodules
'
,
'
w
'
).
write
(
x
)
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