Skip to content

Commit c85a1d5

Browse files
authored
ci(cargo): use git cli and patch global git base url (#114)
* chore(cargo): use git cli * chore(docker): ignore .cargo in docker env * Squashed commit of the following: commit 2b3c586 Author: Matthias Seitz <matthias.seitz@outlook.de> Date: Mon Jun 14 10:05:29 2021 +0200 revert naming conventions commit e0efb1c Author: Matthias Seitz <matthias.seitz@outlook.de> Date: Mon Jun 14 10:05:05 2021 +0200 add license header commit 94364b3 Author: Matthias Seitz <matthias.seitz@outlook.de> Date: Sat Jun 12 22:59:37 2021 +0200 revert config name change commit eeacea5 Author: Matthias Seitz <matthias.seitz@outlook.de> Date: Sat Jun 12 22:59:12 2021 +0200 revert new pallet balances types commit c9323f0 Author: Matthias Seitz <matthias.seitz@outlook.de> Date: Sat Jun 12 22:58:53 2021 +0200 update runtime commit 254ca23 Author: Matthias Seitz <matthias.seitz@outlook.de> Date: Sat Jun 12 22:58:20 2021 +0200 switch to polkadot v0.9.4 branches commit ea76fe6 Author: Matthias Seitz <matthias.seitz@outlook.de> Date: Sat Jun 12 21:51:35 2021 +0200 update chainlink commit 0a895b5 Author: Matthias Seitz <matthias.seitz@outlook.de> Date: Sat Jun 12 11:59:02 2021 +0200 add sp-runtime as optional dependency commit c2374ab Author: Matthias Seitz <matthias.seitz@outlook.de> Date: Fri Jun 11 16:41:36 2021 +0200 update tests commit 7e345ea Author: Matthias Seitz <matthias.seitz@outlook.de> Date: Fri Jun 11 15:59:16 2021 +0200 update to master commit b964a20 Author: Matthias Seitz <matthias.seitz@outlook.de> Date: Fri Jun 11 12:47:47 2021 +0200 use compact Cargo.toml fromat everywhere commit 716db61 Author: Matthias Seitz <matthias.seitz@outlook.de> Date: Fri Jun 11 11:27:21 2021 +0200 update polkadot deps commit 03e4dd5 Author: Matthias Seitz <matthias.seitz@outlook.de> Date: Fri Jun 11 01:33:29 2021 +0200 use chainlink master commit 836241a Author: Matthias Seitz <matthias.seitz@outlook.de> Date: Fri Jun 11 01:23:49 2021 +0200 fix: breaking changes from latest relase branch commit a167d16 Author: Matthias Seitz <matthias.seitz@outlook.de> Date: Fri Jun 11 01:22:31 2021 +0200 chore(deps): use latest polkadot release branch commit 845e6ae Author: Matthias Seitz <matthias.seitz@outlook.de> Date: Thu Jun 10 21:32:02 2021 +0200 chore(deps): update substrate cumulus polkadot deps * ci(rustup): remove minimal profile * ci(git): force replace paritytech// with paritytech/ * ci(cargo): use git cli * ci(git): paritytech/ insteandof paritytech// * ci(git): replace base url * Revert "Squashed commit of the following:" This reverts commit d222d24. * chore(cargo): kill EOF
1 parent e36f810 commit c85a1d5

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[net]
2+
git-fetch-with-cli = true

.circleci/config.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ commands:
1818
steps:
1919
- run:
2020
name: Download Substrate Dependencies
21-
command: sudo apt-get update && sudo apt-get install -y git clang curl libssl-dev
21+
command: |
22+
sudo apt-get update \
23+
&& sudo apt-get install -y git clang curl libssl-dev \
24+
&& git config --global url."https://github.com/paritytech/".insteadOf https://github.com/paritytech//
2225
cargo_audit_setup:
2326
description: Install cargo-audit
2427
steps:
@@ -60,8 +63,7 @@ commands:
6063
curl https://sh.rustup.rs -sSf | sh -s -- -y \
6164
--default-toolchain "$RUSTC_TOOLCHAIN" \
6265
-c clippy rustfmt \
63-
-t wasm32-unknown-unknown \
64-
--profile minimal
66+
-t wasm32-unknown-unknown
6567
- restore_cache:
6668
key: cargo-package-cache-{{ checksum "Cargo.lock" }}-{{ arch }}
6769
- sccache_setup

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
/.cargo/config.toml
12
/target
23
/Dockerfile

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
.DS_Store
88

9-
# The cache for docker container dependency
10-
.cargo
11-
129
# The cache for chain data in container
1310
.local
1411

0 commit comments

Comments
 (0)