Compare commits
1 Commits
telackey/r
...
main
Author | SHA1 | Date | |
---|---|---|---|
8ded6246dc |
83
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
83
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
---
|
||||||
|
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)
|
||||||
|
|
||||||
|
<small><i><a href='http://ecotrust-canada.github.io/markdown-toc/'>Table of contents generated with markdown-toc</a></i></small>
|
||||||
|
|
||||||
|
# Overview
|
||||||
|
|
||||||
|
- **Requester**: @ the requestor.
|
||||||
|
- **Epic Link**: Link the epic.
|
||||||
|
|
||||||
|
# Describe the bug
|
||||||
|
|
||||||
|
<!---
|
||||||
|
A clear and concise description of what the bug is.
|
||||||
|
--->
|
||||||
|
|
||||||
|
# To Reproduce
|
||||||
|
|
||||||
|
Steps to reproduce the behavior:
|
||||||
|
|
||||||
|
<!---
|
||||||
|
1. Go to '...'
|
||||||
|
2. Click on '....'
|
||||||
|
3. Scroll down to '....'
|
||||||
|
4. See error
|
||||||
|
--->
|
||||||
|
|
||||||
|
# Expected behavior
|
||||||
|
|
||||||
|
<!---
|
||||||
|
A clear and concise description of what you expected to happen.
|
||||||
|
--->
|
||||||
|
|
||||||
|
# Evidence
|
||||||
|
|
||||||
|
<!---
|
||||||
|
Provide any supporting documentation.
|
||||||
|
--->
|
||||||
|
|
||||||
|
## Logs
|
||||||
|
|
||||||
|
<!---
|
||||||
|
Provide any logs if applicable.
|
||||||
|
--->
|
||||||
|
|
||||||
|
## Screenshots
|
||||||
|
|
||||||
|
<!---
|
||||||
|
If applicable, add screenshots to help explain your problem.
|
||||||
|
--->
|
||||||
|
|
||||||
|
# Additional context
|
||||||
|
|
||||||
|
<!---
|
||||||
|
Add any other context about the problem here.
|
||||||
|
--->
|
||||||
|
|
||||||
|
**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]
|
62
.github/ISSUE_TEMPLATE/epic.md
vendored
Normal file
62
.github/ISSUE_TEMPLATE/epic.md
vendored
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
---
|
||||||
|
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)
|
||||||
|
|
||||||
|
<small><i><a href='http://ecotrust-canada.github.io/markdown-toc/'>Table of contents generated with markdown-toc</a></i></small>
|
||||||
|
|
||||||
|
# Overview
|
||||||
|
|
||||||
|
- **Owner**: @ the owner.
|
||||||
|
- **Stakeholder Point of Contact**: @ the point of contact.
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
<!---
|
||||||
|
Describe what this epic is supposed to solve.
|
||||||
|
--->
|
||||||
|
|
||||||
|
# Dependencies
|
||||||
|
|
||||||
|
<!---
|
||||||
|
What are the dependencies for this epic.
|
||||||
|
--->
|
||||||
|
|
||||||
|
# Context
|
||||||
|
|
||||||
|
<!---
|
||||||
|
Provide any useful context.
|
||||||
|
--->
|
||||||
|
|
||||||
|
# Issues
|
||||||
|
|
||||||
|
<!---
|
||||||
|
Link any issues
|
||||||
|
--->
|
||||||
|
|
||||||
|
- [ ] Issue one
|
||||||
|
- [ ] issue two
|
||||||
|
- [ ] issue three
|
||||||
|
|
||||||
|
# Acceptance criteria
|
||||||
|
|
||||||
|
<!---
|
||||||
|
What needs to occur for this to be successful.
|
||||||
|
--->
|
||||||
|
|
||||||
|
## Proof
|
||||||
|
|
||||||
|
<!---
|
||||||
|
Link any PR's, documents, other evidence highlighting that the acceptance criteria were met.
|
||||||
|
--->
|
41
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
41
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
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)
|
||||||
|
|
||||||
|
<small><i><a href='http://ecotrust-canada.github.io/markdown-toc/'>Table of contents generated with markdown-toc</a></i></small>
|
||||||
|
|
||||||
|
# Overview
|
||||||
|
|
||||||
|
- **Requester**: @ the requestor.
|
||||||
|
- **Epic Link**: Link the epic.
|
||||||
|
|
||||||
|
## Request
|
||||||
|
|
||||||
|
<!---
|
||||||
|
Explain what you want and why. If this feature is related to a problem please highlight it here.**
|
||||||
|
--->
|
||||||
|
|
||||||
|
# Potential Solution
|
||||||
|
|
||||||
|
<!---Provide any details for a potential solution.
|
||||||
|
--->
|
||||||
|
|
||||||
|
## Alternative Solutions
|
||||||
|
|
||||||
|
<!---Provide any alternative solutions.
|
||||||
|
--->
|
||||||
|
|
||||||
|
# Additional Context
|
||||||
|
|
||||||
|
<!---Provide Additional Context.
|
||||||
|
--->
|
14
.github/workflows/generic-testing.yml
vendored
14
.github/workflows/generic-testing.yml
vendored
@ -33,13 +33,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: ${{ env.stack-orchestrator-ref }}
|
ref: ${{ env.stack-orchestrator-ref }}
|
||||||
path: "./stack-orchestrator/"
|
path: "./stack-orchestrator/"
|
||||||
repository: cerc-io/stack-orchestrator
|
repository: vulcanize/stack-orchestrator
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ env.ipld-eth-beacon-db-ref }}
|
ref: ${{ env.ipld-eth-beacon-db-ref }}
|
||||||
repository: cerc-io/ipld-eth-beacon-db
|
repository: vulcanize/ipld-eth-beacon-db
|
||||||
path: "./ipld-eth-beacon-db/"
|
path: "./ipld-eth-beacon-db/"
|
||||||
ssh-key: ${{secrets.GHA_KEY}}
|
ssh-key: ${{secrets.GHA_KEY}}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@ -89,13 +89,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: ${{ env.stack-orchestrator-ref }}
|
ref: ${{ env.stack-orchestrator-ref }}
|
||||||
path: "./stack-orchestrator/"
|
path: "./stack-orchestrator/"
|
||||||
repository: cerc-io/stack-orchestrator
|
repository: vulcanize/stack-orchestrator
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ env.ipld-eth-beacon-db-ref }}
|
ref: ${{ env.ipld-eth-beacon-db-ref }}
|
||||||
repository: cerc-io/ipld-eth-beacon-db
|
repository: vulcanize/ipld-eth-beacon-db
|
||||||
path: "./ipld-eth-beacon-db/"
|
path: "./ipld-eth-beacon-db/"
|
||||||
ssh-key: ${{ secrets.GHA_KEY }}
|
ssh-key: ${{ secrets.GHA_KEY }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@ -103,7 +103,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ env.ssz-data-ref }}
|
ref: ${{ env.ssz-data-ref }}
|
||||||
repository: cerc-io/ssz-data
|
repository: vulcanize/ssz-data
|
||||||
path: "./ipld-eth-beacon-indexer/pkg/beaconclient/ssz-data"
|
path: "./ipld-eth-beacon-indexer/pkg/beaconclient/ssz-data"
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
@ -150,13 +150,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: ${{ env.stack-orchestrator-ref }}
|
ref: ${{ env.stack-orchestrator-ref }}
|
||||||
path: "./stack-orchestrator/"
|
path: "./stack-orchestrator/"
|
||||||
repository: cerc-io/stack-orchestrator
|
repository: vulcanize/stack-orchestrator
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ env.ipld-eth-beacon-db-ref }}
|
ref: ${{ env.ipld-eth-beacon-db-ref }}
|
||||||
repository: cerc-io/ipld-eth-beacon-db
|
repository: vulcanize/ipld-eth-beacon-db
|
||||||
path: "./ipld-eth-beacon-db/"
|
path: "./ipld-eth-beacon-db/"
|
||||||
ssh-key: ${{secrets.GHA_KEY}}
|
ssh-key: ${{secrets.GHA_KEY}}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
29
.github/workflows/issues-notion-sync.yml
vendored
Normal file
29
.github/workflows/issues-notion-sync.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
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 }}
|
46
.github/workflows/on-publish.yml
vendored
46
.github/workflows/on-publish.yml
vendored
@ -33,28 +33,28 @@ jobs:
|
|||||||
- name: Run docker build
|
- name: Run docker build
|
||||||
run: make docker-build
|
run: make docker-build
|
||||||
- name: Tag docker image
|
- name: Tag docker image
|
||||||
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}}
|
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}}
|
||||||
- name: Docker Login
|
- name: Docker Login
|
||||||
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login https://git.vdb.to -u cerccicd --password-stdin
|
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login https://docker.pkg.github.com -u vulcanize --password-stdin
|
||||||
- name: Docker Push
|
- name: Docker Push
|
||||||
run: docker push git.vdb.to/cerc-io/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer:${{steps.vars.outputs.sha}}
|
run: docker push docker.pkg.github.com/vulcanize/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer:${{steps.vars.outputs.sha}}
|
||||||
# push_to_registries:
|
push_to_registries:
|
||||||
# name: Push Docker image to Docker Hub
|
name: Push Docker image to Docker Hub
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# needs: build
|
needs: build
|
||||||
# steps:
|
steps:
|
||||||
# - name: Get the version
|
- name: Get the version
|
||||||
# id: vars
|
id: vars
|
||||||
# run: |
|
run: |
|
||||||
# echo ::set-output name=sha::$(echo ${GITHUB_SHA:0:7})
|
echo ::set-output name=sha::$(echo ${GITHUB_SHA:0:7})
|
||||||
# echo ::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/})
|
echo ::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/})
|
||||||
# - name: Docker Login to Github Registry
|
- name: Docker Login to Github Registry
|
||||||
# run: echo ${{ secrets.GITHUB_TOKEN }} | docker login https://git.vdb.to -u cerccicd --password-stdin
|
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login https://docker.pkg.github.com -u vulcanize --password-stdin
|
||||||
# - name: Docker Pull
|
- name: Docker Pull
|
||||||
# run: docker pull git.vdb.to/cerc-io/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer:${{steps.vars.outputs.sha}}
|
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
|
- name: Docker Login to Docker Registry
|
||||||
# run: echo ${{ secrets.VULCANIZEJENKINS_PAT }} | docker login -u vulcanizejenkins --password-stdin
|
run: echo ${{ secrets.VULCANIZEJENKINS_PAT }} | docker login -u vulcanizejenkins --password-stdin
|
||||||
# - name: Tag docker image
|
- 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}}
|
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
|
- name: Docker Push to Docker Hub
|
||||||
# run: docker push cerc-io/ipld-eth-beacon-indexer:${{steps.vars.outputs.tag}}
|
run: docker push vulcanize/ipld-eth-beacon-indexer:${{steps.vars.outputs.tag}}
|
||||||
|
4
.github/workflows/system-tests.yml
vendored
4
.github/workflows/system-tests.yml
vendored
@ -42,13 +42,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: ${{ env.stack-orchestrator-ref }}
|
ref: ${{ env.stack-orchestrator-ref }}
|
||||||
path: "./stack-orchestrator/"
|
path: "./stack-orchestrator/"
|
||||||
repository: cerc-io/stack-orchestrator
|
repository: vulcanize/stack-orchestrator
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ env.ipld-eth-beacon-db-ref }}
|
ref: ${{ env.ipld-eth-beacon-db-ref }}
|
||||||
repository: cerc-io/ipld-eth-beacon-db
|
repository: vulcanize/ipld-eth-beacon-db
|
||||||
path: "./ipld-eth-beacon-db/"
|
path: "./ipld-eth-beacon-db/"
|
||||||
ssh-key: ${{secrets.GHA_KEY}}
|
ssh-key: ${{secrets.GHA_KEY}}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM golang:1.18-alpine as builder
|
FROM golang:1.18-alpine as builder
|
||||||
|
|
||||||
WORKDIR /go/src/github.com/cerc-io/ipld-eth-beacon-indexer
|
WORKDIR /go/src/github.com/vulcanize/ipld-eth-beacon-indexer
|
||||||
RUN apk --no-cache add ca-certificates make git g++ linux-headers libstdc++
|
RUN apk --no-cache add ca-certificates make git g++ linux-headers libstdc++
|
||||||
|
|
||||||
ENV GO111MODULE=on
|
ENV GO111MODULE=on
|
||||||
@ -12,10 +12,10 @@ COPY . .
|
|||||||
RUN GCO_ENABLED=0 GOOS=linux go build -race -ldflags="-s -w" -o ipld-eth-beacon-indexer .
|
RUN GCO_ENABLED=0 GOOS=linux go build -race -ldflags="-s -w" -o ipld-eth-beacon-indexer .
|
||||||
RUN chmod +x ipld-eth-beacon-indexer
|
RUN chmod +x ipld-eth-beacon-indexer
|
||||||
|
|
||||||
FROM frolvlad/alpine-bash:latest
|
FROM alpine:latest
|
||||||
RUN apk --no-cache add ca-certificates libstdc++ busybox-extras gettext libintl
|
RUN apk --no-cache add ca-certificates libstdc++ busybox-extras gettext libintl bash gawk sed grep bc coreutils
|
||||||
WORKDIR /root/
|
WORKDIR /root/
|
||||||
COPY --from=builder /go/src/github.com/cerc-io/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer /root/ipld-eth-beacon-indexer
|
COPY --from=builder /go/src/github.com/vulcanize/ipld-eth-beacon-indexer/ipld-eth-beacon-indexer /root/ipld-eth-beacon-indexer
|
||||||
ADD entrypoint.sh .
|
ADD entrypoint.sh .
|
||||||
ADD ipld-eth-beacon-config-docker.json .
|
ADD ipld-eth-beacon-config-docker.json .
|
||||||
ENTRYPOINT ["./entrypoint.sh"]
|
ENTRYPOINT ["./entrypoint.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user