Skip to content
This repository was archived by the owner on Feb 28, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
c6ee337
docs: document all config options, includes a unit test for verification
drahnr May 30, 2020
13cb2b5
chore: add a localhost dummy config
drahnr Nov 12, 2020
0ad1360
feat/deps: update dependencies
drahnr Nov 16, 2020
ef5071d
feat/rustls: replace openssl with rustls, rsa, ring, picky
drahnr Nov 16, 2020
51a3a39
chore/dist/http: simplify a bit
drahnr Nov 16, 2020
4b62c1e
fix/dist: reduce warnings
drahnr Nov 17, 2020
5fe0954
Initial ci (#8)
TriplEight Nov 17, 2020
a072fc7
fix (fmt): make fmt green; remove unneded CI var
TriplEight Nov 17, 2020
13706db
fix: blip due to missing CI
drahnr Nov 17, 2020
860fec3
better includes
drahnr Nov 17, 2020
df988ef
fix (CI): fix nightly build
TriplEight Nov 17, 2020
2d7636b
bump rsa-export dependency
drahnr Nov 18, 2020
2303db4
make sure ring uses std::error::Error
drahnr Nov 18, 2020
594f135
port 3000 is overused
drahnr Nov 18, 2020
6bad55a
assure s3 prefix is used
drahnr Nov 18, 2020
e5ab7de
fix: cargo clippy happyness
TriplEight Nov 19, 2020
30746f0
chore/ci: remove legacy, add autorebase [skip ci]
TriplEight Nov 19, 2020
d5653b0
better assert messages
drahnr Apr 2, 2020
4f565d8
chore/cleanup: use alias of compiler proxy map
drahnr Apr 3, 2020
1ef4bf4
chore/clippy: I am clippy, how can I help you today?
drahnr Apr 2, 2020
dc1fc93
chore: qed -> Q.E.D.
drahnr Nov 19, 2020
b1ece14
test: fixup fallout
drahnr Nov 19, 2020
4ae46a6
fix/ci: remove EXTRA_FEATURES again
drahnr Nov 19, 2020
e04803f
fix/test: assure more caching than anticipated, use a regex
drahnr Nov 19, 2020
f10ab0a
fix/ci: feature flag sanity, rely on default features
drahnr Nov 19, 2020
06cc173
fix/cargo: all feature is now deprecated
drahnr Nov 19, 2020
a9b3d9b
chore: clippy
drahnr Nov 19, 2020
82e77d4
chore/deps: update cc to 1.0.63
drahnr Nov 19, 2020
f1718d4
chore: cargo fmt
drahnr Nov 19, 2020
6ed43d6
fix: re-use harness
drahnr Nov 19, 2020
ac6baf0
test/gcc/pgo: adjust integration test for pgo usage
drahnr Nov 19, 2020
bbe2b87
chore/deps: bump env_logger for is_test(bool) sake, + others
drahnr Nov 20, 2020
a33747f
chore: use the pkg name for test binary name
drahnr Nov 20, 2020
87deda7
fix/test: after preproc, it's still the same file
drahnr Nov 20, 2020
bda7270
chore/ci: always show the gcc/clang version used in ci
drahnr Nov 20, 2020
16f827e
chore: show rustc version explicitly
drahnr Nov 20, 2020
759693d
ci: differing results between CI and local test execution
drahnr Nov 20, 2020
a4f0a8f
refactor: Convert server.rs to use async await
Apr 29, 2020
4b70f5a
make the shutdown period a const, lower to 25secs
drahnr Nov 20, 2020
666d95e
chore: remove unnecessary explicit default impl
drahnr Nov 20, 2020
b940b56
Use rusoto for S3 cache
Hugal31 Aug 11, 2020
5422a4b
Remove simples3 module, migrate backends to v0.3 futures
drahnr Nov 23, 2020
a5efa98
funkster
drahnr Nov 27, 2020
acdcb47
yaaaay!
drahnr Dec 2, 2020
2db3177
fooo
drahnr Dec 2, 2020
be4db84
remove cleanupn
drahnr Dec 2, 2020
a91a2a9
not compiling
drahnr Dec 2, 2020
fba68cd
compiling
drahnr Dec 2, 2020
3d5aa6f
Re-add the possibility to specify region and endpoint for S3 cache
Hugal31 Aug 14, 2020
88b02c2
Update README to document S3 configuration
Hugal31 Sep 2, 2020
2124aae
[s3] support anonymous reads from public buckets
rexhoffman Oct 18, 2020
e5b6ef7
chore cargo manifest alphabetical order
drahnr Dec 3, 2020
30d5b20
gcs fixes
drahnr Dec 3, 2020
4afa5eb
chore format
drahnr Dec 3, 2020
484c3ac
error handling
drahnr Dec 4, 2020
43efc02
fix gcs compilation
drahnr Dec 4, 2020
1d2d464
add comment about how to improve gcs creds locking
drahnr Dec 4, 2020
7baf9de
fixup redis
drahnr Dec 4, 2020
35cc21f
fixup redis, remove commented code
drahnr Dec 4, 2020
53c9707
fix: status negation missing
drahnr Dec 7, 2020
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
32 changes: 32 additions & 0 deletions .github/workflows/autorebase.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
on:
# Run on every push on every branch
push:
branches-ignore:
# Ignore branches automatically created by github-rebase
- rebase-pull-request**
- cherry-pick-rebase-pull-request**
# Run when pull requests get labeled
pull_request:
types: [labeled]

jobs:
auto-rebase:
name: AutoRebase
runs-on: ubuntu-latest
steps:
# We can't use the built-in secrets.GITHUB_TOKEN yet because of this limitation:
# https://github.community/t5/GitHub-Actions/Triggering-a-new-workflow-from-another-workflow/td-p/31676
# In the meantime, use a token granting write access on the repo:
# - a GitHub App token
# See https://github.com/marketplace/actions/github-app-token.
- name: GitHub App token
id: token-generator
uses: tibdex/github-app-token@v1.0.2
with:
app_id: ${{ secrets.TOKEN_GEN_APP_ID }}
private_key: ${{ secrets.TOKEN_GEN_PRIVATE_KEY }}

- name: Auto Rebase
uses: Label305/AutoRebase@v0.1
with:
github_token: ${{ steps.token-generator.outputs.token }}
40 changes: 0 additions & 40 deletions .github/workflows/ci.yml

This file was deleted.

91 changes: 91 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# .gitlab-ci.yml
#
# sccache


stages:
- check
- test
- deploy

variables:
GIT_STRATEGY: fetch
GIT_DEPTH: 100
CARGO_INCREMENTAL: 0

workflow:
rules:
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH

.docker-env: &docker-env
image: paritytech/ink-ci-linux:latest
before_script:
- which gcc && gcc --version
- which clang && clang --version
- rustc +stable --version
- rustc +nightly --version
- sccache -s
retry:
max: 2
when:
- runner_system_failure
- unknown_failure
- api_failure
interruptible: true
tags:
- linux-docker
rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_COMMIT_REF_NAME == "master"
- if: $CI_COMMIT_REF_NAME == "tags"
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1

.collect-artifacts: &collect-artifacts
artifacts:
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
when: on_success
expire_in: 7 days
paths:
- artifacts/

#### stage: check

fmt:
<<: *docker-env
stage: check
script:
- cargo fmt -- --check
allow_failure: true

clippy:
<<: *docker-env
stage: check
script:
- cargo clippy --all-targets
allow_failure: true

#### stage: test

nightly-test:
<<: *docker-env
stage: test
variables:
EXTRA_FEATURES: "unstable"
script:
- cargo +nightly build --verbose --features="${EXTRA_FEATURES}" || exit 1
- RUST_BACKTRACE=1 cargo +nightly test --workspace --verbose --features="${EXTRA_FEATURES}"

stable-test:
stage: test
<<: *docker-env
<<: *collect-artifacts
before_script:
- mkdir -p ./artifacts/sccache/
script:
- cargo +stable build --verbose
- RUST_BACKTRACE=1 cargo +stable test --workspace --verbose
- cargo +stable build --release --features="dist-client,dist-server"
- mv ./target/release/sccache ./artifacts/sccache/.
Loading