Skip to content

Commit

Permalink
ci(cargo): use git cli and patch global git base url (#114)
Browse files Browse the repository at this point in the history
* chore(cargo): use git cli

* chore(docker): ignore .cargo in docker env

* Squashed commit of the following:

commit 2b3c586
Author: Matthias Seitz <[email protected]>
Date:   Mon Jun 14 10:05:29 2021 +0200

    revert naming conventions

commit e0efb1c
Author: Matthias Seitz <[email protected]>
Date:   Mon Jun 14 10:05:05 2021 +0200

    add license header

commit 94364b3
Author: Matthias Seitz <[email protected]>
Date:   Sat Jun 12 22:59:37 2021 +0200

    revert config name change

commit eeacea5
Author: Matthias Seitz <[email protected]>
Date:   Sat Jun 12 22:59:12 2021 +0200

    revert new pallet balances types

commit c9323f0
Author: Matthias Seitz <[email protected]>
Date:   Sat Jun 12 22:58:53 2021 +0200

    update runtime

commit 254ca23
Author: Matthias Seitz <[email protected]>
Date:   Sat Jun 12 22:58:20 2021 +0200

    switch to polkadot v0.9.4 branches

commit ea76fe6
Author: Matthias Seitz <[email protected]>
Date:   Sat Jun 12 21:51:35 2021 +0200

    update chainlink

commit 0a895b5
Author: Matthias Seitz <[email protected]>
Date:   Sat Jun 12 11:59:02 2021 +0200

    add sp-runtime as optional dependency

commit c2374ab
Author: Matthias Seitz <[email protected]>
Date:   Fri Jun 11 16:41:36 2021 +0200

    update tests

commit 7e345ea
Author: Matthias Seitz <[email protected]>
Date:   Fri Jun 11 15:59:16 2021 +0200

    update to master

commit b964a20
Author: Matthias Seitz <[email protected]>
Date:   Fri Jun 11 12:47:47 2021 +0200

    use compact Cargo.toml fromat everywhere

commit 716db61
Author: Matthias Seitz <[email protected]>
Date:   Fri Jun 11 11:27:21 2021 +0200

    update polkadot deps

commit 03e4dd5
Author: Matthias Seitz <[email protected]>
Date:   Fri Jun 11 01:33:29 2021 +0200

    use chainlink master

commit 836241a
Author: Matthias Seitz <[email protected]>
Date:   Fri Jun 11 01:23:49 2021 +0200

    fix: breaking changes from latest relase branch

commit a167d16
Author: Matthias Seitz <[email protected]>
Date:   Fri Jun 11 01:22:31 2021 +0200

    chore(deps): use latest polkadot release branch

commit 845e6ae
Author: Matthias Seitz <[email protected]>
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
  • Loading branch information
clearloop authored Jun 15, 2021
1 parent e36f810 commit c85a1d5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[net]
git-fetch-with-cli = true
8 changes: 5 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ commands:
steps:
- run:
name: Download Substrate Dependencies
command: sudo apt-get update && sudo apt-get install -y git clang curl libssl-dev
command: |
sudo apt-get update \
&& sudo apt-get install -y git clang curl libssl-dev \
&& git config --global url."https://github.com/paritytech/".insteadOf https://github.com/paritytech//
cargo_audit_setup:
description: Install cargo-audit
steps:
Expand Down Expand Up @@ -60,8 +63,7 @@ commands:
curl https://sh.rustup.rs -sSf | sh -s -- -y \
--default-toolchain "$RUSTC_TOOLCHAIN" \
-c clippy rustfmt \
-t wasm32-unknown-unknown \
--profile minimal
-t wasm32-unknown-unknown
- restore_cache:
key: cargo-package-cache-{{ checksum "Cargo.lock" }}-{{ arch }}
- sccache_setup
Expand Down
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/.cargo/config.toml
/target
/Dockerfile
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@

.DS_Store

# The cache for docker container dependency
.cargo

# The cache for chain data in container
.local

Expand Down

0 comments on commit c85a1d5

Please sign in to comment.