diff --git a/.circleci/check-releases.sh b/.circleci/check-releases.sh deleted file mode 100755 index f3595e1320..0000000000 --- a/.circleci/check-releases.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -set -euo pipefail - -LATEST_RELEASE=$(curl -s --fail -L \ - -H "Accept: application/vnd.github+json" \ - -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/ethereum/go-ethereum/releases \ - | jq -r '(.[] | select(.draft==false) | select(.prerelease==false)).tag_name' | head -n 1) - -echo "Detected latest go-ethereum release as ${LATEST_RELEASE}" - -git remote add upstream https://github.com/ethereum/go-ethereum -git fetch upstream > /dev/null - -if git branch --contains "${LATEST_RELEASE}" 2>&1 | grep -e '^[ *]*optimism$' > /dev/null -then - echo "Up to date with latest release. Great job! 🎉" -else - echo "Release has not been merged" - exit 1 -fi diff --git a/.circleci/ci-docker-tag-op-geth-release.sh b/.circleci/ci-docker-tag-op-geth-release.sh deleted file mode 100755 index 7b66e789a4..0000000000 --- a/.circleci/ci-docker-tag-op-geth-release.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -DOCKER_REPO=$1 -GIT_TAG=$2 -GIT_SHA=$3 - -IMAGE_NAME="op-geth" -IMAGE_TAG=$GIT_TAG - -SOURCE_IMAGE_TAG="$DOCKER_REPO/$IMAGE_NAME:$GIT_SHA" -TARGET_IMAGE_TAG="$DOCKER_REPO/$IMAGE_NAME:$IMAGE_TAG" -TARGET_IMAGE_TAG_LATEST="$DOCKER_REPO/$IMAGE_NAME:latest" - -echo "Checking if docker images exist for '$IMAGE_NAME'" -echo "" -tags=$(gcloud container images list-tags "$DOCKER_REPO/$IMAGE_NAME" --limit 1 --format json) -if [ "$tags" = "[]" ]; then - echo "No existing docker images were found for '$IMAGE_NAME'. The code tagged with '$GIT_TAG' may not have an associated dockerfile or docker build job." - echo "If this service has a dockerfile, add a docker-publish job for it in the circleci config." - echo "" - echo "Exiting" - exit 0 -fi - -echo "Tagging $SOURCE_IMAGE_TAG with '$IMAGE_TAG'" -gcloud container images add-tag -q "$SOURCE_IMAGE_TAG" "$TARGET_IMAGE_TAG" - -# Do not tag with latest if the release is a release candidate. -if [[ "$IMAGE_TAG" == *"rc"* ]]; then - echo "Not tagging with 'latest' because the release is a release candidate." - exit 0 -fi - -echo "Tagging $SOURCE_IMAGE_TAG with 'latest'" -gcloud container images add-tag -q "$SOURCE_IMAGE_TAG" "$TARGET_IMAGE_TAG_LATEST" - diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index bff7146a59..0000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,46 +0,0 @@ -version: 2.1 - -jobs: - build-geth: - docker: - - image: cimg/go:1.19 - resource_class: large - steps: - - checkout - - run: - command: go run build/ci.go install - unit-test: - resource_class: large - docker: - - image: cimg/go:1.19 - steps: - - checkout - - run: - command: | - curl -L https://foundry.paradigm.xyz | SHELL=/usr/bin/bash bash - ~/.foundry/bin/foundryup - - run: - command: make geth - - run: - command: PATH="~/.foundry/bin:${PATH}" e2e_test/run_all_tests.sh - - run: - command: go run build/ci.go test - lint-geth: - resource_class: medium - docker: - - image: cimg/go:1.19 - steps: - - checkout - - run: - command: go run build/ci.go lint - - -workflows: - main: - jobs: - - build-geth: - name: Build geth - - unit-test: - name: Run unit tests for geth - - lint-geth: - name: Run linter over geth