Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jinhojang6 authored Nov 29, 2023
0 parents commit 151df05
Show file tree
Hide file tree
Showing 22 changed files with 15,499 additions and 0 deletions.
129 changes: 129 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
# Official labels
- name: bug
description: Something isn't working
color: d73a4a
- name: documentation
description: Improvements or additions to documentation
color: 0075ca
- name: duplicate
description: This issue or pull request already exists
color: cfd3d7
- name: enhancement
description: New feature or request
color: a2eeef
- name: good first issue
description: Good for newcomers
color: 7057ff
- name: help wanted
description: Extra attention is needed
color: 008672
- name: invalid
description: This doesn't seem right
color: e4e669
- name: question
description: Further information is requested
color: d876e3
- name: wontfix
description: This will not be worked on
color: ffffff

# Generally useful labels
- name: blocked
description: This issue is blocked by some other work
color: e0af74
- name: critical
description: This issue needs critical attention
color: B60205
- name: infra
description: Infra, devops, CI and related tasks
color: 277196
- name: milestone
description: Milestone issue with a subset of issues within a specific track
color: 1CC0B0

# Waku Product labels
- name: rqt:platforms
description: Requirement coming from a platform
color: A51BB5

# Tracks primarily within Secure Messaging or Waku Product project
- name: track:rln
description: RLN Track - (Secure Messaging/Applied ZK), relay and applications
color: C89BC6
- name: track:anonymity
description: Anonymity track (Secure Messaging)
color: 06B6C8
- name: track:operator-outreach
description: Operator outreach track (Secure Messaging/Waku Product)
color: B888AB
- name: track:ft-store
description: FT-Store track (Secure Messaging)
color: F5FD62
- name: track:discovery
description: Discovery track (Secure Messaging/Waku Product)
color: 6BEB61
- name: track:protocol-incentivization
description: Protocol Incentivization track (Secure Messaging), e.g. service credentials
color: 0037E3
- name: track:restricted-run
description: Restricted run track (Secure Messaging/Waku Product), e.g. filter, WebRTC
color: D91C35
- name: track:conversational-security
description: Conversational security track (Secure Messaging)
color: CC6B00
- name: track:nwaku-productionization
description: nwaku-productionization track (Waku Product)
color: 9DEA79
- name: track:nwaku-maintenance
description: nwaku-maintenance track (Waku Product)
color: 40F9F0
- name: track:network-testing
description: network-testing track (Secure Messaging/Waku Product)
color: bfd4f2
- name: track:platform-outreach
description: Platform outreach track (Waku Product)
color: 06B6C8
- name: track:sdks
description: SDKS track (Waku Product), including bindings
color: 34D557
- name: track:go-waku-productionization
description: go-waku-productionization track (Waku Product)
color: 9DEA79

# Tracks within zk-WASM project
- name: track:kickoff
description: Kickoff track (zk-WASM)
color: 06B6C8

# Tracks within RAD project
- name: track:waku-specs
description: Waku specs track (RAD)
color: 1d76db
- name: track:logos-specs
description: Logos specs track (RAD)
color: CA105D
- name: track:codex-specs
description: Codex specs track (RAD)
color: D9714D
- name: track:rfc-process
description: RFC process track (RAD)
color: BB9BAD
- name: track:status-specs
description: Status specs track (RAD)
color: 0052CC
- name: track:research-outreach
description: Research outreach track (RAD)
color: ACAD2D

# Tracks primarily within Applied ZK/Explorations project
- name: track:validator-privacy
description: Validator privacy track (Applied ZK/Explorations)
color: 53AE45
- name: track:zerokit
description: Zerokit track (Applied ZK/Explorations)
color: DF1D12

# Meta track for Vac org
- name: track:vac-org
description: Vac Org track (Meta)
color: 1A28E8
22 changes: 22 additions & 0 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Add new issues and PRs to Vac Research project board

on:
issues:
types: [opened]
pull_request:
types: [opened]

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
# You can target a repository in a different organization
# to the issue
project-url: https://github.com/orgs/vacp2p/projects/6
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
# NOTE Currently all issues are added, might want to limit this
#labeled: bug, needs-triage
#label-operator: OR
17 changes: 17 additions & 0 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Sync labels
on:
push:
branches:
- master
paths:
- .github/labels.yml
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: micnncim/action-label-syncer@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
manifest: .github/labels.yml
26 changes: 26 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Dependencies
/node_modules

# Production
/build

# Generated files
.docusaurus
.cache-loader

# Misc
.DS_Store
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
.yalc
yalc.lock
.idea

static/search-index.json
2 changes: 2 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

# yarn prettier:staged
yarn typecheck
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.mdx
*.md
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"trailingComma": "all"
}
61 changes: 61 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
pipeline {
agent { label 'linux' }

options {
disableConcurrentBuilds()
/* manage how many builds we keep */
buildDiscarder(logRotator(
numToKeepStr: '20',
daysToKeepStr: '30',
))
}

environment {
GIT_COMMITTER_NAME = 'status-im-auto'
GIT_COMMITTER_EMAIL = '[email protected]'
PROD_SITE = 'vac.dev'
DEV_SITE = 'dev.vac.dev'
DEV_HOST = '[email protected]'
SCP_OPTS = 'StrictHostKeyChecking=no'
}

stages {
stage('Install') {
steps {
sh "yarn install"
}
}

stage('Build') {
steps {
sh 'yarn build'
sh "echo ${env.PROD_SITE} > build/CNAME"
}
}

stage('Publish Prod') {
when { expression { env.GIT_BRANCH ==~ /.*master/ } }
steps {
sshagent(credentials: ['status-im-auto-ssh']) {
sh "ghp-import -p build"
}
}
}

stage('Publish Devel') {
when { expression { env.GIT_BRANCH ==~ /.*develop/ } }
steps {
sshagent(credentials: ['jenkins-ssh']) {
sh """
rsync -e 'ssh -o ${SCP_OPTS}' -r --delete build/. \
${env.DEV_HOST}:/var/www/${env.DEV_SITE}/
"""
}
}
}
}

post {
cleanup { cleanWs() }
}
}
Loading

0 comments on commit 151df05

Please sign in to comment.