Skip to content

Commit

Permalink
Merge pull request #833 from cornell-dti/staging-release
Browse files Browse the repository at this point in the history
Spring 2023 Release
  • Loading branch information
zachary-kent authored Aug 27, 2023
2 parents c66329c + 451fc55 commit f139a84
Show file tree
Hide file tree
Showing 55 changed files with 19,153 additions and 20,025 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/backup-firestore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Backup Firestore

on:
schedule:
- cron: '5 4 11 1,7 *' # 4:05am on 1/11 and 7/11
workflow_dispatch:

env:
PROJECT_ID: cornell-courseplan
BUCKET: gs://cp_prod_backup_bucket

jobs:
backup:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/setup-gcloud@v0
with:
service_account_key: ${{ secrets.GCP_SERVICE_ACCOUNT_FIRESTORE_BACKUP_CORNELLDTI_COURSEPLAN_PROD }}
export_default_credentials: true
- run: gcloud config set project $PROJECT_ID
- run: gcloud firestore export $BUCKET/$(date +"%Y-%m-%d")
2 changes: 1 addition & 1 deletion .github/workflows/ci-policies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
echo "Your head ref is ${{ github.head_ref }}."
echo "Your base ref is ${{ github.base_ref }}."
- name: Fail if try to push release from non-master branch
if: (github.base_ref == 'beta-release' || github.base_ref == 'release') && github.head_ref != 'master'
if: ((github.base_ref == 'beta-release' || github.base_ref == 'release') && github.head_ref != 'master') && (github.event.pull_request.user.login != 'noschiff')
run: |
echo "Head ref must be master for release. Everything should go through staging first!"
exit 1
Expand Down
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Access CoursePlan at [courseplan.io](https://courseplan.io)!

CoursePlan is a four-year academic planner for Cornell undergraduates developed by the Design & Tech Initiative. CoursePlan helps undergraduates track their courses and their requirements automatically depending on their college, major, and minor. It aims to allow students view the big picture of their time at Cornell.
CoursePlan is a four-year academic planner for Cornell undergraduates developed by the Digital Tech & Innovation. CoursePlan helps undergraduates track their courses and their requirements automatically depending on their college, major, and minor. It aims to allow students view the big picture of their time at Cornell.

View documentation in our [wiki](https://github.com/cornell-dti/course-plan/wiki).

Expand All @@ -22,6 +22,21 @@ Then access http://localhost:8080/

## Contributors

### SP23

- **Jerry Wang** - Developer
- **Miranda Yu** - Developer
- **Rohan Maheshwari** - Developer
- **Elizabeth Tang** - Developer
- **Pablo Raigoza** - Developer
- **Noorejehan Umar** - Designer
- **Michelle Dai** - Designer
- **Larrisa Chen** - Designer
- **Jonathan Mak** - PMM
- **Kaylin Chan** - APM
- **Zak Kent** - TPM
- **Noah Schiff** - PM

### FA22

- **Ben Shen** - Developer
Expand Down
2 changes: 2 additions & 0 deletions cypress/integration/accessibility-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ it('Check accessibility of the bottom bar', () => {
// open the bottom bar
cy.get('[data-cyId=semester-course]').eq(0).click();

// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(5000);
cy.checkA11y('[data-cyId=bottombar]', null, null, true); // only check accessibility within the bottom bar
});

Expand Down
Loading

0 comments on commit f139a84

Please sign in to comment.