Skip to content

Commit

Permalink
Implement frax DA changes
Browse files Browse the repository at this point in the history
  • Loading branch information
0xalex88 committed Sep 10, 2024
1 parent 4797ddb commit 5329228
Show file tree
Hide file tree
Showing 31 changed files with 480 additions and 262 deletions.
43 changes: 0 additions & 43 deletions .github/CODEOWNERS

This file was deleted.

7 changes: 0 additions & 7 deletions .github/actions/setup/action.yml

This file was deleted.

54 changes: 0 additions & 54 deletions .github/dependabot.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/close-stale.yml

This file was deleted.

50 changes: 50 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Release docker image

on:
workflow_dispatch:
inputs:
service:
description: Service to release
required: true
type: choice
options:
- op-node
- op-batcher
- op-proposer
- op-bootnode
version:
description: Service version to publish (will be the docker tag)
required: true

jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/bake-action@v4
env:
REGISTRY: ghcr.io
REPOSITORY: fraxfinance/fraxtal
PLATFORMS: linux/amd64,linux/arm64
GIT_COMMIT: ${{ github.sha }}
GIT_VERSION: ${{ inputs.version }}
IMAGE_TAGS: ${{ inputs.version }}
with:
push: true
set: |
*.cache-from=type=gha
*.cache-to=type=gha,mode=max
targets: ${{ inputs.service }}
32 changes: 0 additions & 32 deletions .github/workflows/slither.yml

This file was deleted.

66 changes: 0 additions & 66 deletions .github/workflows/tag-service.yml

This file was deleted.

6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,14 @@ devnet-test: pre-devnet ## Runs tests on the local devnet
make -C op-e2e test-devnet
.PHONY: devnet-test

devnet-down: ## Stops the local devnet
@(cd ./ops-bedrock && GENESIS_TIMESTAMP=$(shell date +%s) docker compose stop)
devnet-down:
@(cd ./ops-bedrock && GENESIS_TIMESTAMP=$(shell date +%s) docker compose rm -sf)
.PHONY: devnet-down

devnet-clean: ## Cleans up local devnet environment
rm -rf ./packages/contracts-bedrock/deployments/devnetL1
rm -rf ./.devnet
cd ./ops-bedrock && docker compose down
cd ./ops-bedrock && docker compose rm -sf
docker image ls 'ops-bedrock*' --format='{{.Repository}}' | xargs -r docker rmi
docker volume ls --filter name=ops-bedrock --format='{{.Name}}' | xargs -r docker volume rm
.PHONY: devnet-clean
Expand Down
Loading

0 comments on commit 5329228

Please sign in to comment.