Skip to content

Commit 684ffa2

Browse files
authored
Merge pull request #478 from engaging-computing/dev
2.3.0 Release
2 parents e646918 + e8c38b2 commit 684ffa2

27 files changed

Lines changed: 741 additions & 664 deletions

.circleci/config.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build MYR
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
ci-checks:
7+
runs-on: ubuntu-latest
8+
container:
9+
image: node:10.13
10+
11+
steps:
12+
- uses: actions/checkout@v1
13+
- name: Setup cache
14+
uses: actions/cache@v2
15+
with:
16+
path: node_modules
17+
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
18+
- name: Fetch packages
19+
run: npm ci
20+
- name: Run Linter
21+
run: npm run lint
22+
- name: Run unit tests
23+
run: npm test
24+
- name: Build production build
25+
run: npm run build

.github/workflows/deploy_beta.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Deploy staging image
2+
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
8+
jobs:
9+
update_upstream:
10+
runs-on: ubuntu-latest
11+
container:
12+
image: docker
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Set the branch variable
16+
uses: nelonoel/branch-name@v1.0.1
17+
- name: Log into Quay
18+
run: docker login quay.io -u umlecg+myr_bot -p ${{ secrets.QUAY_BOT_PASSWORD }}
19+
- name: Build the docker image
20+
run: docker build -t quay.io/umlecg/myr-frontend:${BRANCH_NAME} --build-arg REACT_APP_GOOGLE_CLIENTID=${{ secrets.MYR_GOOGLE_OAUTH2 }} .
21+
- name: Push the new image
22+
run: docker push quay.io/umlecg/myr-frontend:${BRANCH_NAME}
23+
- name: Notify the build repository
24+
uses: peter-evans/repository-dispatch@v1
25+
with:
26+
token: ${{ secrets.MYR_ACCESS_TOKEN }}
27+
event-type: update_dev
28+
repository: engaging-computing/MYR-build

.github/workflows/deploy_prod.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Deploy production image
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
update_upstream:
10+
runs-on: ubuntu-latest
11+
container:
12+
image: docker
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Set the branch variable
16+
uses: nelonoel/branch-name@v1.0.1
17+
- name: Log into Quay
18+
run: docker login quay.io -u umlecg+myr_bot -p ${{ secrets.QUAY_BOT_PASSWORD }}
19+
- name: Build the docker image
20+
run: docker build -t quay.io/umlecg/myr-frontend:${BRANCH_NAME} --build-arg REACT_APP_GOOGLE_CLIENTID=${{ secrets.MYR_GOOGLE_OAUTH2 }} .
21+
- name: Push the new image
22+
run: docker push quay.io/umlecg/myr-frontend:${BRANCH_NAME}
23+
- name: Notify the build repository
24+
uses: peter-evans/repository-dispatch@v1
25+
with:
26+
token: ${{ secrets.MYR_ACCESS_TOKEN }}
27+
event-type: update_master
28+
repository: engaging-computing/MYR-build

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM node:10.13
2+
3+
WORKDIR /app
4+
COPY . /app
5+
6+
ARG REACT_APP_GOOGLE_CLIENTID="totally invalid.apps.googleusercontent.com"
7+
ENV REACT_APP_GOOGLE_CLIENTID ${REACT_APP_GOOGLE_CLIENTID}
8+
9+
RUN npm install
10+
RUN npm run build
11+
RUN npm run doc

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,16 @@ The Engaging Computing Group develops new technologies to enable learners—yout
99
## Status
1010
[![CircleCI](https://circleci.com/gh/engaging-computing/MYR.svg?style=shield)](https://circleci.com/gh/engaging-computing/MYR)
1111

12-
## Change Log - 2.1.1 -> 2.2.0
13-
- Adds Lighting features to MYR
14-
- Adds Texture features to MYR
15-
- Updates copyright in the footer to be in the form `2018 - <current year>`
12+
## Change Log - 2.2.0 -> 2.3.0
13+
- Adds Minecraft style flying controls
14+
- Removes flying setting toggle
15+
- Updates default scene to show helper grid by default
16+
- MYR provided textures are now case insensitive
17+
- Textures can be tiled
18+
- Fixes black flickering bug when entering VR mode on mobile
19+
- Spelling fixes
20+
- Updated AFrame to use v1.x.y
21+
1622

1723

1824
## Acknowledgments

0 commit comments

Comments
 (0)