Skip to content

Commit

Permalink
remove aptos and ton dockers
Browse files Browse the repository at this point in the history
  • Loading branch information
DanL0 committed Jan 8, 2025
1 parent 99ce639 commit 64b5cd6
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 413 deletions.
134 changes: 0 additions & 134 deletions .github/workflows/reusable-publish-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,47 +50,6 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

#
# Build the Aptos node image and push it as digests
#
# We build the node images after we're done with the base so that we can use the docker layer cache
# instead of rebuilding the whole thing from scratch
#
build-node-aptos:
name: Build Aptos node image
runs-on: ubuntu-latest-16xlarge
needs:
- build-base

permissions:
contents: read
packages: write

strategy:
fail-fast: false
matrix:
platform:
- linux/amd64
- linux/arm64

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Build image & push the digest
uses: ./.github/workflows/actions/docker-build-image
with:
# The name of the image
image: devtools-dev-node-aptos-local-testnet
# The target stage of the Dockerfile
target: node-aptos-local-testnet
# Since the digests will be shared across jobs as artifacts,
# we need a unique name (per workflow) for these artifacts
digest-name: node-aptos-local-testnet
platform: ${{ matrix.platform }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

#
# Build the EVM node image and push it as digests
#
Expand Down Expand Up @@ -173,47 +132,6 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

#
# Build the TON node image and push it as digests
#
# We build the node images after we're done with the base so that we can use the docker layer cache
# instead of rebuilding the whole thing from scratch
#
build-node-ton:
name: Build TON node image
runs-on: ubuntu-latest-16xlarge
needs:
- build-base

permissions:
contents: read
packages: write

strategy:
fail-fast: false
matrix:
platform:
- linux/amd64
- linux/arm64

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Build image & push the digest
uses: ./.github/workflows/actions/docker-build-image
with:
# The name of the image
image: devtools-dev-node-ton-my-local-ton
# The target stage of the Dockerfile
target: node-ton-my-local-ton
# Since the digests will be shared across jobs as artifacts,
# we need a unique name (per workflow) for these artifacts
digest-name: node-ton-my-local-ton
platform: ${{ matrix.platform }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

#
# Collect the base image digests and push them to GHCR
#
Expand All @@ -240,32 +158,6 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

#
# Collect the Aptos node image digests and push them to GHCR
#
push-node-aptos:
name: Push Aptos node image
runs-on: ubuntu-latest-4xlarge
needs:
- build-node-aptos

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Push image
uses: ./.github/workflows/actions/docker-push-image
with:
# The name of the image
image: devtools-dev-node-aptos-local-testnet
# Since the digests will be shared across jobs as artifacts,
# we need a unique name (per workflow) for these artifacts
#
# This needs to match the digest name of the build stage
digest-name: node-aptos-local-testnet
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

#
# Collect the EVM node image digests and push them to GHCR
#
Expand Down Expand Up @@ -317,29 +209,3 @@ jobs:
digest-name: node-solana-test-validator
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

#
# Collect the TON node image digests and push them to GHCR
#
push-node-ton:
name: Push TON node image
runs-on: ubuntu-latest-4xlarge
needs:
- build-node-ton

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Push image
uses: ./.github/workflows/actions/docker-push-image
with:
# The name of the image
image: devtools-dev-node-ton-my-local-ton
# Since the digests will be shared across jobs as artifacts,
# we need a unique name (per workflow) for these artifacts
#
# This needs to match the digest name of the build stage
digest-name: node-ton-my-local-ton
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
2 changes: 0 additions & 2 deletions .github/workflows/reusable-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ jobs:
DEVTOOLS_BASE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-base:main
# And the prebuilt hardhat EVM node image
DEVTOOLS_EVM_NODE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-node-evm-hardhat:main
# And the prebuilt TON node image
DEVTOOLS_TON_NODE_IMAGE: ghcr.io/layerzero-labs/devtools-dev-node-ton-my-local-ton:main
# Provided we have good quality Solana RPCs, we can enable Solana tests
#
# FIXME The Solana tests need to be ported to either use a stable deployment
Expand Down
Loading

0 comments on commit 64b5cd6

Please sign in to comment.