-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into add-full-sync-test
- Loading branch information
Showing
88 changed files
with
1,629 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# These owners will be the default owners for everything in | ||
# the repo. Unless a later match takes precedence, | ||
# this teams will be requested for review when someone opens a pull request. | ||
* @ZcashFoundation/network-reviewers @ZcashFoundation/cryptographic-reviewers | ||
|
||
# Network and Async Code | ||
# To be reviewed by Teor, Janito, or Alfredo. | ||
/tower-batch/ @ZcashFoundation/network-reviewers | ||
/tower-fallback/ @ZcashFoundation/network-reviewers | ||
/zebra-consensus/ @ZcashFoundation/network-reviewers | ||
/zebra-network/ @ZcashFoundation/network-reviewers | ||
/zebra-node-services/ @ZcashFoundation/network-reviewers | ||
/zebra-state/ @ZcashFoundation/network-reviewers | ||
/zebra-tests/src/mock_service.rs @ZcashFoundation/network-reviewers | ||
/zebra-tests/src/service_extensions.rs @ZcashFoundation/network-reviewers | ||
/zebra-tests/src/transcript.rs @ZcashFoundation/network-reviewers | ||
/zebra-utils/ @ZcashFoundation/network-reviewers | ||
/zebrad/src/commands/ @ZcashFoundation/network-reviewers | ||
/zebrad/src/components/ @ZcashFoundation/network-reviewers | ||
|
||
# Cryptographic Code | ||
# To be reviewed by Deirdre, Conrado, or Marek. | ||
/zebra-consensus/src/primitives/ @ZcashFoundation/cryptographic-reviewers | ||
/zebra-chain/src/primitives/ @ZcashFoundation/cryptographic-reviewers | ||
/zebra-chain/src/orchard/ @ZcashFoundation/cryptographic-reviewers | ||
/zebra-chain/src/sapling/ @ZcashFoundation/cryptographic-reviewers | ||
/zebra-chain/src/sprout/ @ZcashFoundation/cryptographic-reviewers | ||
/zebra-chain/src/transparent/ @ZcashFoundation/cryptographic-reviewers | ||
/zebra-chain/src/history_tree.rs @ZcashFoundation/cryptographic-reviewers | ||
/zebra-chain/src/history_tree/ @ZcashFoundation/cryptographic-reviewers | ||
|
||
# Devops Code | ||
# To be reviewed by Gustavo, Deirdre, Teor, or Conrado. | ||
/.github/ @ZcashFoundation/devops-reviewers | ||
/docker/ @ZcashFoundation/devops-reviewers | ||
cloudbuild.yaml @ZcashFoundation/devops-reviewers | ||
codecov.yml @ZcashFoundation/devops-reviewers | ||
.dockerignore @ZcashFoundation/devops-reviewers | ||
codecov.yml @ZcashFoundation/devops-reviewers | ||
firebase.json @ZcashFoundation/devops-reviewers | ||
katex-header.html @ZcashFoundation/devops-reviewers | ||
|
||
# Unsafe Code | ||
# To be reviewed by Teor, Janito, Conrado, or Marek. | ||
/zebra-script/ @ZcashFoundation/unsafe-rust-reviewers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: zcash-lightwalletd | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- 'main' | ||
paths: | ||
- 'zebra-rpc/**' | ||
- 'zebrad/tests/acceptance.rs' | ||
- 'zebrad/src/config.rs' | ||
- 'zebrad/src/commands/start.rs' | ||
- 'docker/zcash-lightwalletd/Dockerfile' | ||
- '.github/workflows/zcash-lightwalletd.yml' | ||
|
||
env: | ||
PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }} | ||
GAR_BASE: us-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/zebra | ||
GCR_BASE: gcr.io/${{ secrets.GCP_PROJECT_ID }} | ||
IMAGE_NAME: lightwalletd | ||
|
||
jobs: | ||
build: | ||
name: Build images | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2.4.0 | ||
with: | ||
repository: adityapk00/lightwalletd | ||
ref: 'master' | ||
persist-credentials: false | ||
|
||
- uses: actions/checkout@v2.4.0 | ||
with: | ||
path: zebra | ||
persist-credentials: false | ||
|
||
- name: Inject slug/short variables | ||
uses: rlespinasse/github-slug-action@v4 | ||
|
||
# Setup gcloud CLI | ||
- name: Authenticate to Google Cloud | ||
id: auth | ||
uses: google-github-actions/auth@v0.6.0 | ||
with: | ||
credentials_json: ${{ secrets.GOOGLE_CREDENTIALS }} | ||
|
||
# Setup Docker Buildx to allow use of docker cache layers from GH | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- name: Login to Google Artifact Registry | ||
uses: docker/login-action@v1.12.0 | ||
with: | ||
registry: us-docker.pkg.dev | ||
username: _json_key | ||
password: ${{ secrets.GOOGLE_CREDENTIALS }} | ||
|
||
# Build and push image to Google Artifact Registry | ||
- name: Build & push | ||
id: docker_build | ||
uses: docker/build-push-action@v2.9.0 | ||
with: | ||
target: builder | ||
context: . | ||
file: ./zebra/docker/zcash-lightwalletd/Dockerfile | ||
tags: | | ||
${{ env.GAR_BASE }}/${{ env.IMAGE_NAME }}:latest | ||
${{ env.GAR_BASE }}/${{ env.IMAGE_NAME }}:${{ env.GITHUB_SHA_SHORT }} | ||
push: true | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.