Skip to content

Commit

Permalink
Release
Browse files Browse the repository at this point in the history
  • Loading branch information
glitch003 committed Dec 8, 2023
0 parents commit 642bb89
Show file tree
Hide file tree
Showing 1,075 changed files with 292,396 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Default reviewers
* @hwrdtm @glitch003 @GTC6244 @rahul-ramesh @joshLong145 @Adarsh-Kumar28 @egeyar @lispwisp @mikelodder7
92 changes: 92 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG-REPORT.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: "🐛 Bug Report"
description: Create a new ticket for a bug.
title: "🐛 [BUG] - <title>"
labels: [
"bug"
]
body:
- type: textarea
id: description
attributes:
label: "Description"
description: Please enter an explicit description of your issue
placeholder: Short and explicit description of your incident...
validations:
required: true
- type: textarea
id: expected_behavior
attributes:
label: "Expected Behavior"
description: Please describe what the expected behavior is
placeholder: Short description of the expected behavior
validations:
required: true
- type: textarea
id: reprod
attributes:
label: "Reproduction steps"
description: Please enter an explicit description of your issue
value: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
render: bash
validations:
required: true
- type: textarea
id: screenshot
attributes:
label: "Screenshots"
description: If applicable, add screenshots to help explain your problem.
value: |
![DESCRIPTION](LINK.png)
render: bash
validations:
required: false
- type: textarea
id: logs
attributes:
label: "Logs"
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: bash
validations:
required: false
- type: dropdown
id: project
attributes:
label: "Project"
description: Which project are you seeing the problem?
multiple: true
options:
- blockchain/contracts
- rust/lit-core
- rust/lit-node
- rust/lit-os
- rust/lit-services
validations:
required: true
- type: textarea
id: os
attributes:
label: "OS"
description: What is the impacted environment?
placeholder: Describe what platform & version of your hardware, software
validations:
required: false
- type: textarea
id: proposed_solution
attributes:
label: "Proposed Solution"
description: Please provide any ideas for possibly resolving this issue
placeholder: Describe the implementation details for fixing this issue
validations:
required: false
- type: textarea
id: misc
attributes:
label: "Miscellaneous"
description: Please enter any additional details, context or comments
placeholder: Description of any additional information that is useful
validations:
required: false
63 changes: 63 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: "💡 Feature Request"
description: Create a new ticket for a new feature request
title: "💡 [REQUEST] - <title>"
labels: [
"question"
]
body:
- type: textarea
id: summary
attributes:
label: "Summary"
description: Provide a brief explanation of the feature
placeholder: Describe in a few lines your feature request
validations:
required: true
- type: textarea
id: reference_issues
attributes:
label: "Reference Issues"
description: Common issues
placeholder: "#Issues IDs"
validations:
required: false
- type: textarea
id: basic_example
attributes:
label: "Basic Example"
description: Indicate here some basic examples of your feature.
placeholder: A few specific words about your feature request.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: "Alternative Solutions"
description: What are the alternative solutions feature request?
placeholder: Explain what other approaches you have considered and why this solution is the best
validations:
required: false
- type: textarea
id: drawbacks
attributes:
label: "Drawbacks"
description: What are the drawbacks/impacts of your feature request ?
placeholder: Identify the drawbacks and impacts while being neutral on your feature request
validations:
required: true
- type: textarea
id: unresolved_question
attributes:
label: "Unresolved questions"
description: What questions still remain unresolved ?
placeholder: Identify any unresolved issues.
validations:
required: false
- type: textarea
id: misc
attributes:
label: "Miscellaneous"
description: Please enter any additional details, context or comments
placeholder: Description of any additional information that is useful
validations:
required: false
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
29 changes: 29 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# What

<enter the Linear ticket here if applicable, eg. LIT-123>

<enter the Github issue number if applicable>

_Describe what this PR proposes to change._

# Why

_Describe why this PR is necessary._

# Background

_Describe any background information that is useful to help the reviewer._

# Testing

_Describe the steps for reviewers to test the changes (unit, integration, e2e, load, performance etc.) in this PR, and provide evidence that the expected behavior has been reached._

# Risks

_Describe what are the associated risks of merging and deploying this PR._

# Misc

_Describe any additional context / information._

_Tag the key people that you would like to review this PR._
84 changes: 84 additions & 0 deletions .github/workflows/blockchain-contracts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
name: blockchain/contracts
on:
workflow_dispatch: {}
workflow_call:
push:
paths:
- blockchain/contracts/**
- .github/workflows/blockchain-contracts.yml
- scripts/github/**
branches:
- master
- develop

defaults:
run:
shell: bash
working-directory: blockchain/contracts

jobs:
test_deployment_tool:
runs-on: buildjet-8vcpu-ubuntu-2204 # change to LargeRunner to run on github. Change to self-hosted to run on our own runner. Change to buildjet-8vcpu-ubuntu-2204 to run on buildjet with 8 cpus

steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: buildjet/setup-node@v3
with:
node-version: 18.17.0
cache: npm
cache-dependency-path: ${{ github.workspace }}/blockchain/contracts/package-lock.json
- name: Install dependencies
run: npm install
- name: Test deployment tool
run: npm run deploy -- --deploy-config scripts/deployConfig/configs/ci-config.json --verbose

services:
anvil:
image: litptcl/anvil-lit:latest
ports:
- 8545:8545
credentials:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

test_contracts:
runs-on: buildjet-8vcpu-ubuntu-2204 # change to LargeRunner to run on github. Change to self-hosted to run on our own runner. Change to buildjet-8vcpu-ubuntu-2204 to run on buildjet with 8 cpus

steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: buildjet/setup-node@v3
with:
node-version: 18.17.0
cache: npm
cache-dependency-path: ${{ github.workspace }}/blockchain/contracts/package-lock.json
- name: Install dependencies
run: npm install
- name: Run tests
run: npm run test

services:
anvil:
image: litptcl/anvil-lit:latest
ports:
- 8545:8545
credentials:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

prettier_check:
runs-on: buildjet-8vcpu-ubuntu-2204 # change to LargeRunner to run on github. Change to self-hosted to run on our own runner. Change to buildjet-8vcpu-ubuntu-2204 to run on buildjet with 8 cpus

steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: buildjet/setup-node@v3
with:
node-version: 18.17.0
cache: npm
cache-dependency-path: ${{ github.workspace }}/blockchain/contracts/package-lock.json
- name: Install dependencies
run: npm install
- name: Run prettier formatting check
run: npm run prettier:check
27 changes: 27 additions & 0 deletions .github/workflows/docker-ubuntu2204-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: "LIT Assets Docker Image CI"

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: LargeRunner
steps:
- uses: actions/checkout@v3
- id: pre-step
shell: bash
run: echo "release-version=$(date +%s)" >> $GITHUB_OUTPUT

- name: Publish the Docker image
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: litptcl/lit-assets
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
dockerfile: docker/ubuntu2204/Dockerfile
tags: ${{ steps.pre-step.outputs.release-version }}
Loading

0 comments on commit 642bb89

Please sign in to comment.