Move Scripts Into Hack/ Directory (#9605)

* ensure build

* moved third party to toplevel:

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
Raul Jordan 2021-09-16 11:22:39 -05:00 committed by GitHub
parent 989daf267a
commit 8df96426ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
20 changed files with 6 additions and 6 deletions

View File

@ -21,7 +21,7 @@ run --host_force_python=PY2
build --sandbox_default_allow_network=false
# Stamp binaries with git information
build --workspace_status_command=./scripts/workspace_status.sh
build --workspace_status_command=./hack/workspace_status.sh
build --stamp
# Prevent PATH changes from rebuilding when switching from IDE to command line.

View File

@ -33,8 +33,8 @@ generates SSZ marshal related code based on defined data structures. These gener
also be updated and checked in as frequently.
```bash
./scripts/update-go-pbs.sh
./scripts/update-go-ssz.sh
./hack/update-go-pbs.sh
./hack/update-go-ssz.sh
```
*Recommendation: Use go build only for local development and use bazel build for production.*

View File

@ -13,7 +13,7 @@ curl https://deepsource.io/cli | sh
./bin/deepsource report --analyzer test-coverage --key go --value-file /tmp/cover.out
# Provide permission to execute script.
chmod +x ./scripts/codecov.sh
chmod +x ./hack/codecov.sh
# Upload to codecov (requires CODECOV_TOKEN environment variable)
./scripts/codecov.sh -s "$(./bazel.sh info bazel-testlogs)" -f '**/coverage.dat'
./hack/codecov.sh -s "$(./bazel.sh info bazel-testlogs)" -f '**/coverage.dat'

View File

@ -19,6 +19,6 @@ COPY --from=builder /workspace/bazel-bin/tools/interop/convert-keys/linux_amd64_
RUN mkdir /launch
COPY scripts/interop_start.sh /launch/start.sh
COPY hack/interop_start.sh /launch/start.sh
ENTRYPOINT ["start.sh"]