Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

CI: Remove unnecessary pipes #9681

Merged
merged 40 commits into from
Oct 1, 2018
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
aa34dfa
ci: reduce gitlab pipelines significantly
5chdn Oct 1, 2018
94cf19d
ci: build pipeline for PR
5chdn Oct 1, 2018
ff311d4
ci: remove dead weight
5chdn Oct 1, 2018
ffadc7f
ci: remove github release script
5chdn Oct 1, 2018
32c812a
ci: remove forever broken aura tests
5chdn Oct 1, 2018
42f3100
ci: add random stuff to the end of the pipes
5chdn Oct 1, 2018
99e8652
ci: add wind and mac to the end of the pipe
5chdn Oct 1, 2018
bc3c111
ci: remove snap artifacts
5chdn Oct 1, 2018
e18270f
ci: (re)move dockerfiles
5chdn Oct 1, 2018
88b6169
ci: clarify job names
5chdn Oct 1, 2018
244528e
ci: add cargo audit job
5chdn Oct 1, 2018
ab9c371
ci: make audit script executable
5chdn Oct 1, 2018
269d7c1
ci: ignore snap and docker files for rust check
5chdn Oct 1, 2018
f0f123c
ci: simplify audit script
5chdn Oct 1, 2018
597bbfc
ci: rename misc to optional
5chdn Oct 1, 2018
d41e3bc
ci: add publish script to releaseable branches
5chdn Oct 1, 2018
8eb65a9
ci: more verbose cp command for windows build
5chdn Oct 1, 2018
ab61722
ci: fix weird binary checksum logic in push script
5chdn Oct 1, 2018
a86d005
ci: fix regex in push script for windows
5chdn Oct 1, 2018
0190876
ci: simplify gitlab caching
5chdn Oct 1, 2018
9da093a
docs: align README with ci changes
5chdn Oct 1, 2018
0e8263b
ci: specify default cargo target dir
5chdn Oct 1, 2018
e915d5d
ci: print verbose environment
5chdn Oct 1, 2018
4da8e25
ci: proper naming of scripts
5chdn Oct 1, 2018
f4774c5
ci: restore docker files
5chdn Oct 1, 2018
91d732f
ci: use docker hub file
5chdn Oct 1, 2018
a125169
ci: use cargo home instead of cargo target dir
5chdn Oct 1, 2018
8e8cb9a
ci: touch random rust file to trigger real builds
5chdn Oct 1, 2018
885aab6
ci: set cargo target dir for audit script
5chdn Oct 1, 2018
778493a
ci: remove temp file
5chdn Oct 1, 2018
d890ab3
ci: don't export the cargo target dir in the audit script
5chdn Oct 1, 2018
a99c6a3
ci: fix windows unbound variable
5chdn Oct 1, 2018
506842b
docs: fix gitlab badge path
5chdn Oct 1, 2018
da0f3cc
rename deprecated gitlab ci variables
gabreal Oct 1, 2018
f749b0e
ci: fix git compare for nightly builds
5chdn Oct 1, 2018
0ababae
test: skip c++ example for all platforms but linux
5chdn Oct 1, 2018
b1f501a
Merge branch 'a5-gitlab-light' of github.com:paritytech/parity-ethere…
5chdn Oct 1, 2018
a02990e
ci: add random rust file to trigger tests
5chdn Oct 1, 2018
4783af1
ci: remove random rust file
5chdn Oct 1, 2018
c146243
disable cpp lib test for mac, win and beta (#9686)
gabreal Oct 1, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
313 changes: 73 additions & 240 deletions .gitlab-ci.yml

Large diffs are not rendered by default.

40 changes: 0 additions & 40 deletions docker/README.md

This file was deleted.

43 changes: 0 additions & 43 deletions docker/alpine/Dockerfile

This file was deleted.

28 changes: 0 additions & 28 deletions docker/centos/Dockerfile

This file was deleted.

25 changes: 0 additions & 25 deletions docker/centos/Dockerfile.build

This file was deleted.

29 changes: 0 additions & 29 deletions docker/centos/build.sh

This file was deleted.

45 changes: 0 additions & 45 deletions docker/ubuntu-aarch64/Dockerfile

This file was deleted.

45 changes: 0 additions & 45 deletions docker/ubuntu-arm/Dockerfile

This file was deleted.

12 changes: 0 additions & 12 deletions scripts/aura-test.sh

This file was deleted.

12 changes: 12 additions & 0 deletions scripts/gitlab/audit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

set -e # fail on any error
set -u # treat unset variables as error

rustup default stable

git submodule update --init --recursive
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't really need submodules here

cargo +stable install cargo-audit
cargo +stable audit

would be enough

Btw, is this job required or allowed to fail? Looks like you've removed all allow_failures.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, for cargo installs it'd nice to specify CARGO_TARGET_DIR to enable caching (see https://github.com/jtgeibel/cargo/blob/a81b1437de95920618119272c7a92bab9974ee30/src/etc/man/cargo-install.1#L45-L47).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was under the impression we cache all jobs? see line 16 in .gitlab.yml

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is at the end of the pipeline and can happily fail :)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was under the impression we cache all jobs? see line 16 in .gitlab.yml

Yes, but it looks like we specify CARGO_TARGET_DIR only in wasm-tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we default to ./target everywhere and that should be cached per job name, just double-checked.


rustup show
cargo install cargo-audit
cargo audit
7 changes: 0 additions & 7 deletions scripts/gitlab/clippy.sh

This file was deleted.

20 changes: 0 additions & 20 deletions scripts/gitlab/coverage.sh

This file was deleted.

File renamed without changes.
8 changes: 0 additions & 8 deletions scripts/gitlab/install-readme.sh

This file was deleted.

24 changes: 0 additions & 24 deletions scripts/gitlab/package-snap.sh

This file was deleted.

Loading