Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
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
555 changes: 555 additions & 0 deletions .github/ts-tasks/package-lock.json

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions .github/workflows/docker-build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,26 @@ name: "Build+Test Docker Images"
on: # build on main branch OR when a PR is labeled with `CICD:build-images`
# Allow us to run this specific workflow without a PR
workflow_dispatch:
pull_request_target:
types: [labeled, opened, synchronize, reopened, auto_merge_enabled]
push:
branches:
- main
# pull_request_target:
# types: [labeled, opened, synchronize, reopened, auto_merge_enabled]
# push:
# branches:
# - main
# release branches
- devnet
- testnet
- mainnet
- aptos-node-v*
- aptos-release-v*
# - devnet
# - testnet
# - mainnet
# - aptos-node-v*
# - aptos-release-v*
# experimental branches
- performance_benchmark
- preview
- preview-networking
# - performance_benchmark
# - preview
# - preview-networking
# grpc release branches
- aptos-indexer-grpc-devnet
- aptos-indexer-grpc-testnet
- aptos-indexer-grpc-mainnet
- aptos-indexer-grpc-v*
# - aptos-indexer-grpc-devnet
# - aptos-indexer-grpc-testnet
# - aptos-indexer-grpc-mainnet
# - aptos-indexer-grpc-v*

# cancel redundant builds
concurrency:
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Build Docker Images

on:
push:
branches: [ main, ci/* ]
workflow_dispatch:
inputs:
GIT_SHA:
description: 'Git SHA to build'
required: false
FEATURES:
description: 'Cargo features to enable'
required: false
PROFILE:
description: 'Cargo build profile'
required: false
default: 'release'

# Add permissions block to ensure the workflow has access to packages
permissions:
contents: read
packages: write

jobs:
build:
runs-on: buildjet-16vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history
ref: ${{ github.ref }} # Use the full ref to ensure we're on the right branch
token: ${{ secrets.GH_PAT }} # Use PAT for checkout

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ secrets.GH_USER }} # Use the PAT owner's username
password: ${{ secrets.GH_PAT }} # Use PAT instead of GITHUB_TOKEN

- name: Build and Push Images
run: |
export TARGET_CACHE_ID=${GITHUB_REF#refs/heads/}
export GHCR_ORG="movementlabsxyz"
export PROFILE=${PROFILE:-release}
export FEATURES=${FEATURES:-""}
export CARGO_TARGET_DIR="target/${FEATURES:-default}"

docker/builder/docker-bake-rust-all.sh
10 changes: 5 additions & 5 deletions .github/workflows/fuzzer-test.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: "Fuzzers test"

on:
pull_request:
types: [labeled, opened, synchronize, reopened, auto_merge_enabled]
push:
branches:
- main
# pull_request:
# types: [labeled, opened, synchronize, reopened, auto_merge_enabled]
# push:
# branches:
# - main
workflow_dispatch:

jobs:
Expand Down
Loading
Loading