-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: switch to free runners #2319
Merged
Merged
Changes from 22 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
24177fa
feat: hardcoded identity transfers in strategy tests
pauldelucia dacc6db
fix(drive): uncommitted state if db transaction fails (#2305)
shumkov 306b86c
fix(drive): apply batch is not using transaction in `remove_all_votes…
QuantumExplorer 99fe5fa
add comment
pauldelucia cee3098
Merge remote-tracking branch 'origin/v1.6-dev' into feat/hardcoded-id…
pauldelucia 0d3e091
comment
pauldelucia e421514
use into_iter instead of iter
pauldelucia 3d941ec
use current identities instead of hardcoded start identities
pauldelucia 4bc0a65
let transfer keys be any security level or key type
pauldelucia dc48827
fix
pauldelucia cafda11
feat: hardcoded identity transfers in strategy tests (#2312)
pauldelucia b86f4e0
Merge branch 'v1.6-dev' of github.com:dashpay/platform into v1.6-dev
shumkov ae97f47
ci: run devcontainers workflow only on push to master (#2295)
shumkov 48cca1a
ci: do not run test on push (#2308)
shumkov 5c80069
ci: use prebuilt librocksdb in github actions (#2316)
lklimek 2b9d715
ci: debug layer cache
shumkov 42fdd64
ci: update docker/build-push-action@
shumkov fe231e2
ci: try gha cache
shumkov 626a632
ci: pass push
shumkov 5a9d214
ci: disable mount cache
shumkov a333049
build: uncomment code in Dockerfile
shumkov 39e9d43
ci: store cargo and yarn cache mounts
shumkov d6cbbc2
ci: remove garbage
shumkov e31d501
ci: fix restore keys
shumkov 63c3d50
ci: specify correct version
shumkov 9ca6ffd
ci: fix expected JSON
shumkov 698a8a8
build: remove random port
shumkov ba2e477
ci: switch build js to free runner
shumkov 7531fc9
ci: cleanup
shumkov 25c31a6
ci: use platform input for unplugged cache
shumkov 01e09b6
ci: switch to free runners
shumkov 20eed8a
ci: switch more jobs to free runners
shumkov 3036336
Merge branch 'v1.6-dev' into ci/docker-layer-cache
shumkov 3a8b9a1
build: fix sccache error
shumkov b5e9ea0
ci: remove prefix
shumkov 9855b2a
ci: second try to remove prefix
shumkov 3d70254
ci: fix dashmate path
shumkov 33ad11b
ci: fix sed
shumkov fa5a188
ci: fix HOME var
shumkov 633e2ab
refactor: remove unused params
shumkov bd18a7e
ci: remove CHROME_BIN
shumkov ad83ebb
revert: unnecessary changes
shumkov 738d1a5
Merge branch 'v1.6-dev' into ci/docker-layer-cache
shumkov a8bd8ff
revert: mount cache
shumkov df8eb06
Merge remote-tracking branch 'origin/ci/docker-layer-cache' into ci/d…
shumkov ca7017a
ci: fix home dir
shumkov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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,55 @@ | ||
--- | ||
# This action builds and caches librocksdb. If we find that this solution consumes too much time, we can consider | ||
# prebuilding librocksdb outside of the pipeline (eg. in the grovedb release process), publish as an artifact, and | ||
# download it in the pipeline. | ||
name: "librocksdb" | ||
description: "Build and install librocksdb" | ||
inputs: | ||
version: | ||
description: RocksDB version, eg. "8.10.2" | ||
required: false | ||
default: "8.10.2" | ||
bucket: | ||
description: S3 bucket to use for caching | ||
required: false | ||
default: multi-runner-cache-x1xibo9c | ||
force: | ||
description: Force rebuild | ||
required: false | ||
default: "false" | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
# Cache librocksdb using s3 bucket | ||
- name: Restore cached librocksdb from S3 | ||
id: librocksdb-cache | ||
uses: strophy/actions-cache@opendal-update | ||
with: | ||
bucket: ${{ inputs.bucket }} | ||
path: /opt/rocksdb | ||
key: librocksdb/${{ inputs.version }}/${{ runner.os }}/${{ runner.arch }} | ||
|
||
- if: ${{ steps.librocksdb-cache.outputs.cache-hit != 'true' || inputs.force == 'true' }} | ||
shell: bash | ||
name: Build librocksdb | ||
run: | | ||
set -ex | ||
WORKDIR=/tmp/rocksdb-build | ||
mkdir -p ${WORKDIR}/rocksdb | ||
mkdir -p /opt/rocksdb/usr/local/lib/ | ||
pushd ${WORKDIR}/rocksdb | ||
|
||
# building rocksdb | ||
git clone https://github.com/facebook/rocksdb.git -b v${{ inputs.version }} --depth 1 . | ||
make -j$(nproc) static_lib | ||
make DESTDIR=/opt/rocksdb install-static | ||
set +x | ||
|
||
echo Done. | ||
echo Configuration: | ||
echo | ||
echo "ROCKSDB_STATIC='/opt/rocksdb/usr/local/lib/librocksdb.a'" | ||
echo "ROCKSDB_LIB_DIR='/opt/rocksdb/usr/local/lib'" | ||
|
||
popd |
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,23 @@ | ||
--- | ||
name: Rebuild cached dependencies | ||
|
||
on: | ||
workflow_dispatch: | ||
jobs: | ||
build-rust-deps: | ||
name: Prebuild and cache some Rust dependencies | ||
runs-on: ubuntu-24.04 | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
AWS_REGION: ${{ secrets.AWS_REGION }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
- name: Precompile librocksdb | ||
uses: ./.github/actions/librocksdb | ||
with: | ||
force: true |
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
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
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix invalid YAML syntax in RUN command.
These lines appear to be Dockerfile RUN commands mistakenly placed in the YAML file. They should be removed as they are causing syntax errors and don't belong in this workflow file.
Remove these lines as they appear to be accidentally copied from a Dockerfile.
🧰 Tools
🪛 yamllint
[error] 96-96: syntax error: could not find expected ':'
(syntax)