Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanchow committed Feb 16, 2022
0 parents commit ea9c669
Show file tree
Hide file tree
Showing 29 changed files with 1,232 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/experiment-review-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Experiment Review Request
about: 'Get your experiment reviewed '
title: 'Request for Review of Experiment - '
labels: request for review
assignees: ''

---

## *Experiment Review Request*
Use this to get experiment reviewed.

1. *Exp Name*:<!--Fill the name of the experiment-->
2. *Domain*:<!-- Fill the domain/discipline that the experiment belongs to-->
3. *Lab Name*:<!-- Fill the name of the lab that the experiment belongs to-->
4. *Testing URL*:<!-- https://virtual-labs.github.io/${{ github.repository }} --!>
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/pedagogy-review-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: Pedagogy Review Request
about: Get your pedagogy reviewed
title: Request for Review of Pedagogy
labels: pedagogy
assignees: ''

---

## *Pedagogy review Request*

1. *Exp Name*:<!--Fill the name of the experiment-->
2. *Domain*:<!-- Fill the domain/discipline that the experiment belongs to-->
3. *Lab Name*:<!-- Fill the name of the lab that the experiment belongs to-->
3. **Link to the pedagogy document**: { ../pedagogy/README.md]
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/storyboarding-review-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: Storyboarding Review Request
about: Get your storyboarding reviewed
title: Request for Review of Storyboard
labels: storyboarding
assignees: ''

---

## *Storyboarding review Request*

1. **Exp Name**:<!--Name of the experiment-->
2. **Domain**:<!-- Domain of the experiment-->
3. **Discipline**:<!-- Discipline of the experiment-->
4. **Link to the pedagogy document**: { ../storyboard/README.md]
29 changes: 29 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
- # storyboarding
name: "storyboarding"
color: "f4ccff"
description: "To be applied for storyboarding related issues"
- # pedagogy
name: "pedagogy"
color: "8641c1"
description: "To be applied for pedagogy related issues"
- # bug
name: "bug"
color: "b60205"
description: "This is bug"
- # invalid
name: ":no_entry_sign: invalid"
color: "e6e6e6"
description: "To be applied for invalid issues"
- # Approved
name: ":heavy_check_mark: approved"
color: "e6e6e6"
description: "To be applied for approved issues"
- # Request for review
name: "request for review"
color: "e6e6e6"
description: "To be applied for issues which are requested for reviewing"




## For refernce or adding more labels https://github.com/crazy-max/ghaction-github-labeler
38 changes: 38 additions & 0 deletions .github/workflows/deployment-script.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@

# This workflow is used to build the experiment and push it to github pages

name: Deploy Testing Branch
on:
push:
# mentioning which branch should be used to build the experimnet
branches:
- testing
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '16'
check-latest: true
- run: |
git clone --depth=1 https://github.com/virtual-labs/ph3-lab-mgmt
cd ph3-lab-mgmt
npm install
npm run build-exp
cd ../
git config --local user.email "admin@vlabs.ac.in"
git config --local user.name "vleadadmin"
git checkout --orphan gh-pages
git reset
git add build/* -f
git mv build/* ./ -f
git commit -m "https://virtual-labs.github.io/${{ github.repository }} click on the link to test your code."
- uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.ORG_OWNER_GITHUB_TOKEN }}
force: true
branch: gh-pages
# Reference : https://github.com/marketplace/actions/github-push
33 changes: 33 additions & 0 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: labels

on:
push:
branches:
- main
paths:
- '.github/labels.yml'
- '.github/workflows/labels.yml'

jobs:
labeler:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Run Labeler
uses: crazy-max/ghaction-github-labeler@v3
# The following job will delete the script that creates dev and testing branches
- uses: actions/checkout@v2
- run: |
git config --local user.email "admin@vlabs.ac.in"
git config --local user.name "vleadadmin"
git checkout main
git rm -rf .github/workflows/labels.yml
git commit -m "Label script is deleted."
- uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.ORG_OWNER_GITHUB_TOKEN }}
force: true
branch: main
Loading

0 comments on commit ea9c669

Please sign in to comment.