Skip to content
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.

Merge master into devnet2 #954

Draft
wants to merge 93 commits into
base: devnet2
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
2a9312b
Add staging-devnet2 promotion to production
ravenac95 Aug 2, 2019
83f72e0
Merge pull request #861 from oasislabs/ravenac95/setup-devnet2-promotion
ravenac95 Aug 9, 2019
a016c4a
gateway: set uncles_hash to empty list (#874)
peterjgilbert Aug 9, 2019
485b6fc
update dependencies
ptrus Aug 15, 2019
c216062
update ekiden provisioning
ptrus Aug 15, 2019
4af3d1b
Merge pull request #876 from oasislabs/ptrus/update-ekiden
ptrus Aug 15, 2019
9003b16
buildkite/deploy: remove unexisting hwekiden reference
ptrus Aug 15, 2019
f1a2874
Merge pull request #877 from oasislabs/ptrus/remove-hwekiden-ref
ptrus Aug 15, 2019
58e8fa1
Remove old testnet config
peterjgilbert Aug 16, 2019
268210d
Update readme
peterjgilbert Aug 16, 2019
fa94644
Removed unused buildkite scripts
peterjgilbert Aug 16, 2019
613a743
Remove unused scripts
peterjgilbert Aug 16, 2019
4f50295
Merge pull request #878 from oasislabs/peterjgilbert/cleanup
peterjgilbert Aug 17, 2019
e6a9a08
Use master branch for buildkite badge (#880)
peterjgilbert Aug 19, 2019
fe198ab
init: Pass runtime version number to host
matevz Aug 19, 2019
1054c79
Merge pull request #879 from oasislabs/matevz/feature/version-runtimes
matevz Aug 22, 2019
e7e3552
Tag log topics by index (#884)
peterjgilbert Aug 24, 2019
5845adf
benchmarking: fix benchmarking docker image
ptrus Aug 26, 2019
569e350
Merge pull request #885 from oasislabs/ptrus/fix/benchmarks-image
ptrus Aug 26, 2019
b58aba6
Update single node config (#881)
peterjgilbert Aug 26, 2019
8dd4a9a
Update Cargo.lock to use oasis-parity with xcc (#875)
nhynes Aug 26, 2019
9c85ab3
Use jsonrpc fork (#887)
peterjgilbert Aug 27, 2019
b7c9c0b
buildkite: Remove old env variables (#888)
armaniferrante Aug 28, 2019
9847c53
Enable EIP 145 (#891)
armaniferrante Aug 30, 2019
bc4efd2
Proper runtime API errors (#896)
peterjgilbert Sep 3, 2019
dc0ba20
genesis_playback: set io_root to empty hash
ptrus Sep 5, 2019
f07644b
Merge pull request #897 from oasislabs/ptrus/fix/genesis-playback-ioroot
ptrus Sep 5, 2019
5c0771c
updating cargo dependencies
ptrus Sep 17, 2019
c64c953
Merge pull request #900 from oasislabs/ptrus/feature/cargo-update
ptrus Sep 17, 2019
f0c576c
cargo update
ptrus Sep 18, 2019
98a2bf2
Merge pull request #902 from oasislabs/ptrus/cargo-update
ptrus Sep 18, 2019
c392d39
Clarify test ConfidentialCtx comments (#903)
armaniferrante Sep 23, 2019
ed810aa
Fix clippy lints (#905)
nhynes Sep 24, 2019
ad162f5
cargo update
ptrus Sep 25, 2019
baf4e89
temporary disable e2e tests
ptrus Sep 26, 2019
b9a8583
Merge pull request #907 from oasislabs/ptrus/cargo-update
ptrus Sep 26, 2019
1d383f6
Revert "temporary disable e2e tests" (#910)
peterjgilbert Sep 27, 2019
7415b15
e2e-tests: detect panics on gateway
ptrus Sep 27, 2019
c55cc7a
Merge pull request #911 from oasislabs/ptrus/fix/tests-gateway-panics
ptrus Sep 27, 2019
6f8a137
Clarifying comments (#906)
peterjgilbert Sep 27, 2019
802526f
Optimize release builds (#912)
peterjgilbert Sep 27, 2019
9bdeb40
Don't use magic number for execution error code (#913)
peterjgilbert Sep 27, 2019
5f538b6
Update zeroize version (#915)
peterjgilbert Sep 27, 2019
d798909
Update single node config (#917)
peterjgilbert Oct 1, 2019
3fbcae5
gateway: listen on 127.0.0.1 by default
peterjgilbert Sep 27, 2019
bd4f9cd
Merge pull request #914 from oasislabs/peterjgilbert/gateway_interface
ptrus Oct 2, 2019
004dff4
gateway: remove web3.site as allowed host
peterjgilbert Oct 3, 2019
1be4139
Update Cargo.lock
peterjgilbert Oct 3, 2019
ec5fe82
Merge pull request #919 from oasislabs/peterjgilbert/network_cleanup
peterjgilbert Oct 3, 2019
06d5bc3
Add nhynes as codeowner (#921)
nhynes Oct 3, 2019
5f262f3
Use ekiden-net-runner for e2e tests (#922)
peterjgilbert Oct 8, 2019
bb0ccec
Update documentation (#926)
peterjgilbert Oct 8, 2019
7d16078
Refactor runtime-ethereum to oasis-runtime (#929)
peterjgilbert Oct 8, 2019
a2f2d45
Change runtime API from ethereum_transaction to tx (#930)
peterjgilbert Oct 8, 2019
f0bb5b5
Update docs and utils (#931)
peterjgilbert Oct 8, 2019
cf02ebc
Update github settings (#932)
peterjgilbert Oct 9, 2019
7311ae0
Add GPLv3 license (#935)
peterjgilbert Oct 10, 2019
fa31aee
bin/main.rs: use new_runtime() to determine remote EnclaveIDs
matevz Oct 8, 2019
07eb675
Merge pull request #925 from oasislabs/matevz/feature/runtime-dynamic…
matevz Oct 11, 2019
e20584a
Update for oasis-core
kostko Oct 14, 2019
b1350fd
Merge pull request #936 from oasislabs/kostko/fix/oasis-core
kostko Oct 14, 2019
7e906ee
ci: e2e tests updates (#938)
peterjgilbert Oct 14, 2019
14d3da5
.buildkite: cleanup
ptrus Oct 8, 2019
f9cd13f
Merge pull request #928 from oasislabs/ptrus/buildkite-changes
peterjgilbert Oct 14, 2019
e1ba1b0
.buildkite: open-source cleanup
ptrus Oct 14, 2019
f98fdc3
Merge pull request #939 from oasislabs/ptrus/feature/buildkite-os
peterjgilbert Oct 15, 2019
3e44b36
Fix typo in gateway.sh script
peterjgilbert Oct 16, 2019
01bdcfd
ci: upload log files as artifacts
peterjgilbert Oct 16, 2019
a4972d9
Update Cargo.lock
peterjgilbert Oct 16, 2019
9ebe508
ci: developer-gateway to oasis-gateway
peterjgilbert Oct 16, 2019
bc4185e
Merge pull request #940 from oasislabs/peterjgilbert/cargo_update
peterjgilbert Oct 16, 2019
cab0b4a
Update Cargo.lock (#942)
peterjgilbert Oct 17, 2019
6dfd53e
dockerfile renamings
ptrus Oct 17, 2019
bd4afc9
Merge pull request #941 from oasislabs/ptrus/fix/docker-image-renamings
ptrus Oct 18, 2019
b401d43
README: update ci badge
ptrus Oct 18, 2019
39c652b
Merge pull request #943 from oasislabs/ptrus/update-ci-badge
ptrus Oct 18, 2019
fb89a50
benchmarking/Dockerfile: fix binary paths
ptrus Oct 21, 2019
5bc9616
Merge pull request #946 from oasislabs/ptrus/fix/benchmarking-dockerfile
ptrus Oct 21, 2019
76e247f
scripts: remove realpath in symlink_artifacts
pro-wh Oct 18, 2019
56d13d9
Merge pull request #945 from oasislabs/pro-wh/bugfix/realpath
pro-wh Oct 22, 2019
af7b5c2
ci: fix oasis-core-ci pipeline references
peterjgilbert Oct 23, 2019
c50a178
Update Cargo.lock
peterjgilbert Oct 23, 2019
9110c6c
Merge pull request #947 from oasislabs/peterjgilbert/fix_ci
peterjgilbert Oct 23, 2019
ddf5c5e
Update Cargo.lock
peterjgilbert Oct 31, 2019
642e1e3
Remove unused testing certs/keys
peterjgilbert Nov 1, 2019
ab20035
Merge pull request #948 from oasislabs/peterjgilbert/cargo_update
peterjgilbert Nov 1, 2019
286440d
ci: Scope Buildkite build status badge to the master branch
tjanez Nov 7, 2019
4fee39f
Update flag to oasis-net-runner
nhynes Nov 7, 2019
7f39ab9
Merge pull request #950 from oasislabs/tjanez/scope-buildkite-badge
tjanez Nov 7, 2019
00c75de
ci: no longer need to exclude some gateway source from coverage (#951)
peterjgilbert Nov 8, 2019
bf0edd3
Update Cargo.lock
peterjgilbert Nov 22, 2019
e182561
Update Cargo.lock
peterjgilbert Dec 4, 2019
29fed49
Disable e2e tests
nhynes Dec 4, 2019
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
25 changes: 8 additions & 17 deletions .buildkite/benchmarking.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ docker_plugin: &docker_plugin_configuration
workdir: /workdir
volumes:
- .:/workdir
- /var/lib/buildkite-agent/.ssh:/root/.ssh
- /var/lib/buildkite-agent/.coveralls:/root/.coveralls
- /var/lib/buildkite-agent/.buildkite:/root/.buildkite
# Shared Rust target artifacts cache.
Expand All @@ -24,16 +23,14 @@ docker_plugin: &docker_plugin_configuration
- "CARGO_TARGET_DIR=/workdir/target"
- "CARGO_INSTALL_ROOT=/root/.cargo"
- "RUSTFLAGS=-C target-feature=+aes,+ssse3"
- "GOPROXY=https://proxy.golang.org/"
propagate-environment: true
unconfined: true

steps:
- label: Build artifacts
branches: master devnet2
branches: master
command:
- .buildkite/scripts/setup_gitconfig.sh
- eval $(ssh-agent -s)
- ssh-add
- .buildkite/scripts/build_benchmarking_context.sh context.tar.gz
artifact_paths:
- context.tar.gz
Expand All @@ -44,19 +41,13 @@ steps:

- wait

- label: Update benchmarking docker image tags (master branches only)
branches: master
command:
- .buildkite/scripts/build_tag_push_benchmark_image.sh context.tar.gz latest-benchmarking benchmarking-latest

- wait

- label: "Trigger benchmark run (master branches only)"
- label: ":rocket: Publish benchmarking docker image"
trigger: private-ops-oasis-runtime-benchmarking-publish-image
async: true
branches: master
trigger: private-ops-run-benchmarks
build:
message: "${BUILDKITE_MESSAGE}"
commit: HEAD
branch: master
env:
BENCHMARK_IMAGE: oasislabs/ekiden-runtime-ethereum:benchmarking-latest
OASIS_RUNTIME_JOB_ID: "${BUILDKITE_JOB_ID}"
OASIS_RUNTIME_COMMIT: "${BUILDKITE_COMMIT}"
OASIS_RUNTIME_BRANCH: "${BUILDKITE_BRANCH}"
13 changes: 2 additions & 11 deletions .buildkite/daily.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,9 @@
# to other pipelines that will be triggered daily.

steps:
- label: "Trigger e2e tests"
- label: Trigger benchmark build
branches: master
trigger: runtime-ethereum-e2e-tests
async: true
build:
message: "${BUILDKITE_MESSAGE}"
commit: HEAD
branch: "${BUILDKITE_BRANCH}"

- label: "Trigger benchmark run"
branches: master
trigger: runtime-ethereum-benchmarks
trigger: oasis-runtime-benchmarks-build-image-context
async: true
build:
message: "${BUILDKITE_MESSAGE}"
Expand Down
112 changes: 22 additions & 90 deletions .buildkite/deploy.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ docker_plugin: &docker_plugin_configuration
workdir: /workdir
volumes:
- .:/workdir
- /var/lib/buildkite-agent/.ssh:/root/.ssh
# Shared Rust incremental compile caches.
- /tmp/cargo_ic/release:/workdir/target/release/incremental
- /tmp/cargo_ic/release_sgx:/workdir/target/x86_64-fortanix-unknown-sgx/release/incremental
Expand All @@ -28,14 +27,14 @@ docker_plugin: &docker_plugin_configuration
propagate-environment: true

steps:
- label: Extract platform resources (master branches only)
- label: Extract platform resources
branches: master
command:
- .buildkite/scripts/extract_platform_resources.sh platform
artifact_paths:
- platform/*

- label: Extract platform resources (devnet2 branch only)
- label: Extract platform resources
branches: devnet2
command:
- .buildkite/scripts/extract_platform_resources.sh platform
Expand All @@ -44,14 +43,14 @@ steps:
env:
BASE_VARIANT: devnet2

- label: Extract production-track platform resources (master branches only)
- label: Extract production-track platform resources
branches: master
command:
- .buildkite/scripts/extract_platform_resources.sh platform-prod
artifact_paths:
- platform-prod/*

- label: Extract production-track platform resources (devnet2 branch only)
- label: Extract production-track platform resources
branches: devnet2
command:
- .buildkite/scripts/extract_platform_resources.sh platform-prod latest-devnet2
Expand All @@ -61,14 +60,12 @@ steps:
- wait

- label: Get docker tag and save it as metadata for use later
branches: master
command: .buildkite/scripts/set_docker_tag_meta_data.sh

- label: Build artifacts
- label: Build testing artifacts
branches: master devnet2
command:
- .buildkite/scripts/setup_gitconfig.sh
- eval $(ssh-agent -s)
- ssh-add
- .buildkite/scripts/build_deployment_context.sh platform context.tar.gz
artifact_paths:
- context.tar.gz
Expand All @@ -80,9 +77,6 @@ steps:
- label: Build benchmarking artifacts
branches: master devnet2
command:
- .buildkite/scripts/setup_gitconfig.sh
- eval $(ssh-agent -s)
- ssh-add
- .buildkite/scripts/build_deployment_context.sh platform context-bench.tar.gz
env:
BUILD_BENCHMARKING: "1"
Expand All @@ -96,9 +90,6 @@ steps:
- label: Build production-track artifacts
branches: master devnet2
command:
- .buildkite/scripts/setup_gitconfig.sh
- eval $(ssh-agent -s)
- ssh-add
- .buildkite/scripts/build_deployment_context.sh platform-prod context-prod.tar.gz
env:
BUILD_PRODUCTION_GENESIS: "1"
Expand All @@ -111,84 +102,25 @@ steps:

- wait

- label: Update testing docker image tags (master branches only)
branches: master
command:
- .buildkite/scripts/build_tag_push_deployment_image.sh context.tar.gz
- .buildkite/scripts/promote_deployment_image_to.sh latest-testing
env:
BASE_VARIANT: testing
DEPLOYMENT_VARIANT: testing

- label: Update testing docker image tags (devnet2 branch only)
branches: devnet2
command:
- .buildkite/scripts/build_tag_push_deployment_image.sh context.tar.gz
- .buildkite/scripts/promote_deployment_image_to.sh latest-testing-devnet2
env:
BASE_VARIANT: testing
DEPLOYMENT_VARIANT: testing

- label: Update benchmarking docker image tags (master branches only)
branches: master
command:
- .buildkite/scripts/build_tag_push_deployment_image.sh context-bench.tar.gz
- .buildkite/scripts/promote_deployment_image_to.sh latest-benchmarking
env:
BASE_VARIANT: testing
DEPLOYMENT_VARIANT: benchmarking

- label: Update staging docker image tags (master branches only)
branches: master
command:
- .buildkite/scripts/build_tag_push_deployment_image.sh context-prod.tar.gz
- .buildkite/scripts/promote_deployment_image_to.sh staging

- label: Update staging devnet2 docker image tags (devnet2 branch only)
branches: devnet2
command:
- .buildkite/scripts/build_tag_push_deployment_image.sh context-prod.tar.gz
- .buildkite/scripts/promote_deployment_image_to.sh staging-devnet2
env:
BASE_VARIANT: devnet2
DEPLOYMENT_VARIANT: devnet2

- wait

- label: "Trigger staging deployment (master branches only)"
trigger: private-ops-deploy-ekiden-staging
- label: ":rocket: Publish docker images"
trigger: private-ops-oasis-runtime-publish-image
async: true
branches: master
build:
message: "${BUILDKITE_MESSAGE}"
commit: HEAD
branch: master

- label: "Trigger staging devnet2 deployment (devnet2 branch only)"
trigger: private-ops-deploy-ekiden-devnet2-staging
env:
OASIS_RUNTIME_JOB_ID: "${BUILDKITE_JOB_ID}"
OASIS_RUNTIME_COMMIT: "${BUILDKITE_COMMIT}"
OASIS_RUNTIME_BRANCH: "${BUILDKITE_BRANCH}"

- label: ":rocket: Publish docker images"
trigger: private-ops-oasis-runtime-publish-image
async: true
branches: devnet2
build:
message: "${BUILDKITE_MESSAGE}"
commit: HEAD
branch: master

- label: "Trigger hardware staging deployment (master branches only)"
trigger: private-ops-deploy-ekiden-hardware-staging
branches: master
build:
message: "${BUILDKITE_MESSAGE}"
commit: HEAD
branch: master

- label: "Build and push all-in-one image (master branches only)"
branches: master
command:
- ./docker/all-in-one/build.sh
- docker tag local-aio:latest oasislabs/private-all-in-one:latest
- docker push oasislabs/private-all-in-one:latest

- label: "Build and push all-in-one image (devnet2 branch only)"
branches: devnet2
command:
- ./docker/all-in-one/build.sh
- docker tag local-aio:latest oasislabs/private-all-in-one:latest-devnet2
- docker push oasislabs/private-all-in-one:latest-devnet2
env:
OASIS_RUNTIME_JOB_ID: "${BUILDKITE_JOB_ID}"
OASIS_RUNTIME_COMMIT: "${BUILDKITE_COMMIT}"
OASIS_RUNTIME_BRANCH: "${BUILDKITE_BRANCH}"
IMAGE_VARIANT: devnet2
19 changes: 0 additions & 19 deletions .buildkite/deploy.production.pipeline.yml

This file was deleted.

54 changes: 0 additions & 54 deletions .buildkite/e2e-tests.pipeline.yml

This file was deleted.

Loading