From 15e95e3ffae00ac87a54797c192975a7aa026e20 Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Tue, 20 Dec 2022 14:05:13 -0600 Subject: [PATCH] Rebrand --- .github/ISSUE_TEMPLATE/bug_report.md | 83 ----------------------- .github/ISSUE_TEMPLATE/epic.md | 62 ----------------- .github/ISSUE_TEMPLATE/feature_request.md | 41 ----------- .github/workflows/generic-testing.yml | 14 ++-- .github/workflows/issues-notion-sync.yml | 29 -------- .github/workflows/on-publish.yml | 46 ++++++------- .github/workflows/system-tests.yml | 4 +- Dockerfile | 4 +- 8 files changed, 34 insertions(+), 249 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md delete mode 100644 .github/ISSUE_TEMPLATE/epic.md delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md delete mode 100644 .github/workflows/issues-notion-sync.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 0f8d51f..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,83 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: "[Bug]" -labels: bug -assignees: "" ---- - -- [Overview](#overview) -- [Describe the bug](#describe-the-bug) -- [To Reproduce](#to-reproduce) -- [Expected behavior](#expected-behavior) -- [Evidence](#evidence) - - [Logs](#logs) - - [Screenshots](#screenshots) -- [Additional context](#additional-context) - -Table of contents generated with markdown-toc - -# Overview - -- **Requester**: @ the requestor. -- **Epic Link**: Link the epic. - -# Describe the bug - - - -# To Reproduce - -Steps to reproduce the behavior: - - - -# Expected behavior - - - -# Evidence - - - -## Logs - - - -## Screenshots - - - -# Additional context - - - -**Desktop (please complete the following information):** - -- OS: [e.g. iOS] -- Browser [e.g. chrome, safari] -- Version [e.g. 22] - -**Smartphone (please complete the following information):** - -- Device: [e.g. iPhone6] -- OS: [e.g. iOS8.1] -- Browser [e.g. stock browser, safari] -- Version [e.g. 22] diff --git a/.github/ISSUE_TEMPLATE/epic.md b/.github/ISSUE_TEMPLATE/epic.md deleted file mode 100644 index bccbbd9..0000000 --- a/.github/ISSUE_TEMPLATE/epic.md +++ /dev/null @@ -1,62 +0,0 @@ ---- -name: Epic -about: Template for creating an Epic -title: "[EPIC]" -labels: epic -assignees: "" ---- - -- [Overview](#overview) - - [Description](#description) -- [Dependencies](#dependencies) -- [Context](#context) -- [Issues](#issues) -- [Acceptance criteria](#acceptance-criteria) - - [Proof](#proof) - -Table of contents generated with markdown-toc - -# Overview - -- **Owner**: @ the owner. -- **Stakeholder Point of Contact**: @ the point of contact. - -## Description - - - -# Dependencies - - - -# Context - - - -# Issues - - - -- [ ] Issue one -- [ ] issue two -- [ ] issue three - -# Acceptance criteria - - - -## Proof - - diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index f9e857f..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: "[Feature]" -labels: feature -assignees: "" ---- - -- [Overview](#overview) - - [Request](#request) -- [Potential Solution](#potential-solution) - - [Alternative Solutions](#alternative-solutions) -- [Additional Context](#additional-context) - -Table of contents generated with markdown-toc - -# Overview - -- **Requester**: @ the requestor. -- **Epic Link**: Link the epic. - -## Request - - - -# Potential Solution - - - -## Alternative Solutions - - - -# Additional Context - - diff --git a/.github/workflows/generic-testing.yml b/.github/workflows/generic-testing.yml index f4bf81e..4b87b65 100644 --- a/.github/workflows/generic-testing.yml +++ b/.github/workflows/generic-testing.yml @@ -33,13 +33,13 @@ jobs: with: ref: ${{ env.stack-orchestrator-ref }} path: "./stack-orchestrator/" - repository: vulcanize/stack-orchestrator + repository: cerc-io/stack-orchestrator fetch-depth: 0 - uses: actions/checkout@v3 with: ref: ${{ env.ipld-eth-beacon-db-ref }} - repository: vulcanize/ipld-eth-beacon-db + repository: cerc-io/ipld-eth-beacon-db path: "./ipld-eth-beacon-db/" ssh-key: ${{secrets.GHA_KEY}} fetch-depth: 0 @@ -89,13 +89,13 @@ jobs: with: ref: ${{ env.stack-orchestrator-ref }} path: "./stack-orchestrator/" - repository: vulcanize/stack-orchestrator + repository: cerc-io/stack-orchestrator fetch-depth: 0 - uses: actions/checkout@v3 with: ref: ${{ env.ipld-eth-beacon-db-ref }} - repository: vulcanize/ipld-eth-beacon-db + repository: cerc-io/ipld-eth-beacon-db path: "./ipld-eth-beacon-db/" ssh-key: ${{ secrets.GHA_KEY }} fetch-depth: 0 @@ -103,7 +103,7 @@ jobs: - uses: actions/checkout@v3 with: ref: ${{ env.ssz-data-ref }} - repository: vulcanize/ssz-data + repository: cerc-io/ssz-data path: "./ipld-eth-beacon-indexer/pkg/beaconclient/ssz-data" fetch-depth: 0 @@ -150,13 +150,13 @@ jobs: with: ref: ${{ env.stack-orchestrator-ref }} path: "./stack-orchestrator/" - repository: vulcanize/stack-orchestrator + repository: cerc-io/stack-orchestrator fetch-depth: 0 - uses: actions/checkout@v3 with: ref: ${{ env.ipld-eth-beacon-db-ref }} - repository: vulcanize/ipld-eth-beacon-db + repository: cerc-io/ipld-eth-beacon-db path: "./ipld-eth-beacon-db/" ssh-key: ${{secrets.GHA_KEY}} fetch-depth: 0 diff --git a/.github/workflows/issues-notion-sync.yml b/.github/workflows/issues-notion-sync.yml deleted file mode 100644 index 551362b..0000000 --- a/.github/workflows/issues-notion-sync.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Notion Sync - -on: - workflow_dispatch: - issues: - types: - [ - opened, - edited, - labeled, - unlabeled, - assigned, - unassigned, - milestoned, - demilestoned, - reopened, - closed, - ] - -jobs: - notion_job: - runs-on: ubuntu-latest - name: Add GitHub Issues to Notion - steps: - - name: Add GitHub Issues to Notion - uses: vulcanize/notion-github-action@v1.2.4-issueid - with: - notion-token: ${{ secrets.NOTION_TOKEN }} - notion-db: ${{ secrets.NOTION_DATABASE }} diff --git a/.github/workflows/on-publish.yml b/.github/workflows/on-publish.yml index 7ed6b38..e941418 100644 --- a/.github/workflows/on-publish.yml +++ b/.github/workflows/on-publish.yml @@ -33,28 +33,28 @@ jobs: - name: Run docker build run: make docker-build - name: Tag docker image - run: docker tag vulcanize/ipld-eth-beacon-indexer docker.pkg.github.com/vulcanize/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer:${{steps.vars.outputs.sha}} + run: docker tag cerc-io/ipld-eth-beacon-indexer git.vdb.to/cerc-io/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer:${{steps.vars.outputs.sha}} - name: Docker Login - run: echo ${{ secrets.GITHUB_TOKEN }} | docker login https://docker.pkg.github.com -u vulcanize --password-stdin + run: echo ${{ secrets.GITHUB_TOKEN }} | docker login https://git.vdb.to -u cerccicd --password-stdin - name: Docker Push - run: docker push docker.pkg.github.com/vulcanize/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer:${{steps.vars.outputs.sha}} - push_to_registries: - name: Push Docker image to Docker Hub - runs-on: ubuntu-latest - needs: build - steps: - - name: Get the version - id: vars - run: | - echo ::set-output name=sha::$(echo ${GITHUB_SHA:0:7}) - echo ::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/}) - - name: Docker Login to Github Registry - run: echo ${{ secrets.GITHUB_TOKEN }} | docker login https://docker.pkg.github.com -u vulcanize --password-stdin - - name: Docker Pull - run: docker pull docker.pkg.github.com/vulcanize/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer:${{steps.vars.outputs.sha}} - - name: Docker Login to Docker Registry - run: echo ${{ secrets.VULCANIZEJENKINS_PAT }} | docker login -u vulcanizejenkins --password-stdin - - name: Tag docker image - run: docker tag docker.pkg.github.com/vulcanize/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer:${{steps.vars.outputs.sha}} vulcanize/ipld-eth-beacon-indexer:${{steps.vars.outputs.tag}} - - name: Docker Push to Docker Hub - run: docker push vulcanize/ipld-eth-beacon-indexer:${{steps.vars.outputs.tag}} + run: docker push git.vdb.to/cerc-io/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer:${{steps.vars.outputs.sha}} +# push_to_registries: +# name: Push Docker image to Docker Hub +# runs-on: ubuntu-latest +# needs: build +# steps: +# - name: Get the version +# id: vars +# run: | +# echo ::set-output name=sha::$(echo ${GITHUB_SHA:0:7}) +# echo ::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/}) +# - name: Docker Login to Github Registry +# run: echo ${{ secrets.GITHUB_TOKEN }} | docker login https://git.vdb.to -u cerccicd --password-stdin +# - name: Docker Pull +# run: docker pull git.vdb.to/cerc-io/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer:${{steps.vars.outputs.sha}} +# - name: Docker Login to Docker Registry +# run: echo ${{ secrets.VULCANIZEJENKINS_PAT }} | docker login -u vulcanizejenkins --password-stdin +# - name: Tag docker image +# run: docker tag git.vdb.to/cerc-io/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer:${{steps.vars.outputs.sha}} cerc-io/ipld-eth-beacon-indexer:${{steps.vars.outputs.tag}} +# - name: Docker Push to Docker Hub +# run: docker push cerc-io/ipld-eth-beacon-indexer:${{steps.vars.outputs.tag}} diff --git a/.github/workflows/system-tests.yml b/.github/workflows/system-tests.yml index 914e3c5..b89e11c 100644 --- a/.github/workflows/system-tests.yml +++ b/.github/workflows/system-tests.yml @@ -42,13 +42,13 @@ jobs: with: ref: ${{ env.stack-orchestrator-ref }} path: "./stack-orchestrator/" - repository: vulcanize/stack-orchestrator + repository: cerc-io/stack-orchestrator fetch-depth: 0 - uses: actions/checkout@v3 with: ref: ${{ env.ipld-eth-beacon-db-ref }} - repository: vulcanize/ipld-eth-beacon-db + repository: cerc-io/ipld-eth-beacon-db path: "./ipld-eth-beacon-db/" ssh-key: ${{secrets.GHA_KEY}} fetch-depth: 0 diff --git a/Dockerfile b/Dockerfile index fe321d2..fe2246c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM golang:1.18-alpine as builder -WORKDIR /go/src/github.com/vulcanize/ipld-eth-beacon-indexer +WORKDIR /go/src/github.com/cerc-io/ipld-eth-beacon-indexer RUN apk --no-cache add ca-certificates make git g++ linux-headers libstdc++ ENV GO111MODULE=on @@ -15,7 +15,7 @@ RUN chmod +x ipld-eth-beacon-indexer FROM frolvlad/alpine-bash:latest RUN apk --no-cache add ca-certificates libstdc++ busybox-extras gettext libintl WORKDIR /root/ -COPY --from=builder /go/src/github.com/vulcanize/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer /root/ipld-eth-beacon-indexer +COPY --from=builder /go/src/github.com/cerc-io/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer /root/ipld-eth-beacon-indexer ADD entrypoint.sh . ADD ipld-eth-beacon-config-docker.json . ENTRYPOINT ["./entrypoint.sh"]