Skip to content

Commit ee4cc99

Browse files
Initial commit
0 parents  commit ee4cc99

32 files changed

+1210
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Experiment Review Request
3+
about: 'Get your experiment reviewed '
4+
title: 'Request for Review of Experiment - '
5+
labels: request for review
6+
assignees: ''
7+
8+
---
9+
10+
## *Experiment Review Request*
11+
Use this to get experiment reviewed.
12+
13+
1. *Exp Name*:<!--Fill the name of the experiment-->
14+
2. *Domain*:<!-- Fill the domain/discipline that the experiment belongs to-->
15+
3. *Lab Name*:<!-- Fill the name of the lab that the experiment belongs to-->
16+
4. *Testing URL*:<!-- https://virtual-labs.github.io/${{ github.repository }} --!>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: Pedagogy Review Request
3+
about: Get your pedagogy reviewed
4+
title: Request for Review of Pedagogy
5+
labels: pedagogy
6+
assignees: ''
7+
8+
---
9+
10+
## *Pedagogy review Request*
11+
12+
1. *Exp Name*:<!--Fill the name of the experiment-->
13+
2. *Domain*:<!-- Fill the domain/discipline that the experiment belongs to-->
14+
3. *Lab Name*:<!-- Fill the name of the lab that the experiment belongs to-->
15+
3. **Link to the pedagogy document**: { ../pedagogy/README.md]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
name: Storyboarding Review Request
3+
about: Get your storyboarding reviewed
4+
title: Request for Review of Storyboard
5+
labels: storyboarding
6+
assignees: ''
7+
8+
---
9+
10+
## *Storyboarding review Request*
11+
12+
1. **Exp Name**:<!--Name of the experiment-->
13+
2. **Domain**:<!-- Domain of the experiment-->
14+
3. **Discipline**:<!-- Discipline of the experiment-->
15+
4. **Link to the pedagogy document**: { ../storyboard/README.md]

.github/labels.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
- # storyboarding
2+
name: "storyboarding"
3+
color: "f4ccff"
4+
description: "To be applied for storyboarding related issues"
5+
- # pedagogy
6+
name: "pedagogy"
7+
color: "8641c1"
8+
description: "To be applied for pedagogy related issues"
9+
- # bug
10+
name: "bug"
11+
color: "b60205"
12+
description: "This is bug"
13+
- # invalid
14+
name: ":no_entry_sign: invalid"
15+
color: "e6e6e6"
16+
description: "To be applied for invalid issues"
17+
- # Approved
18+
name: ":heavy_check_mark: approved"
19+
color: "e6e6e6"
20+
description: "To be applied for approved issues"
21+
- # Request for review
22+
name: "request for review"
23+
color: "e6e6e6"
24+
description: "To be applied for issues which are requested for reviewing"
25+
26+
27+
28+
29+
## For refernce or adding more labels https://github.com/crazy-max/ghaction-github-labeler
+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
2+
# This workflow is used to build the experiment and push it to github pages
3+
4+
name: Deploy Testing Branch
5+
on:
6+
push:
7+
# mentioning which branch should be used to build the experimnet
8+
branches:
9+
- testing
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Setup node
16+
uses: actions/setup-node@v2
17+
with:
18+
node-version: '16'
19+
check-latest: true
20+
- run: |
21+
git clone --depth=1 https://github.com/virtual-labs/ph3-lab-mgmt
22+
cd ph3-lab-mgmt
23+
npm install
24+
npm run build-exp
25+
cd ../
26+
git config --local user.email "[email protected]"
27+
git config --local user.name "vleadadmin"
28+
git checkout --orphan gh-pages
29+
git reset
30+
git add build/* -f
31+
git mv build/* ./ -f
32+
git commit -m "https://virtual-labs.github.io/${{ github.event.repository.name }} click on the link to test your code."
33+
- uses: ad-m/github-push-action@master
34+
with:
35+
github_token: ${{ secrets.ORG_OWNER_GITHUB_TOKEN }}
36+
force: true
37+
branch: gh-pages
38+
# Reference : https://github.com/marketplace/actions/github-push

.github/workflows/labels.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: labels
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- '.github/labels.yml'
9+
- '.github/workflows/labels.yml'
10+
11+
jobs:
12+
labeler:
13+
runs-on: ubuntu-latest
14+
steps:
15+
-
16+
name: Checkout
17+
uses: actions/checkout@v2
18+
-
19+
name: Run Labeler
20+
uses: crazy-max/ghaction-github-labeler@v3
21+
# The following job will delete the script that creates dev and testing branches
22+
- uses: actions/checkout@v2
23+
- run: |
24+
git config --local user.email "[email protected]"
25+
git config --local user.name "vleadadmin"
26+
git checkout main
27+
git rm -rf .github/workflows/labels.yml
28+
git commit -m "Label script is deleted."
29+
- uses: ad-m/github-push-action@master
30+
with:
31+
github_token: ${{ secrets.ORG_OWNER_GITHUB_TOKEN }}
32+
force: true
33+
branch: main

.github/workflows/validate.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: test-deployment
2+
3+
on:
4+
# Allows you to run this workflow manually from the Actions tab
5+
workflow_dispatch:
6+
7+
jobs:
8+
call-workflow-test:
9+
uses: virtual-labs/vlabs-workflows/.github/workflows/validate.yml@main
10+
secrets: inherit

.github/workflows/view_exp.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: test-deployment
2+
3+
on:
4+
# Allows you to run this workflow manually from the Actions tab
5+
workflow_dispatch:
6+
7+
jobs:
8+
call-workflow-test:
9+
uses: virtual-labs/vlabs-workflows/.github/workflows/view_exp.yml@main
10+
secrets: inherit

0 commit comments

Comments
 (0)