-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7bbdb3a
commit f1ff9c3
Showing
30 changed files
with
7,712 additions
and
308 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: taxoniumbackend | ||
labels: | ||
app: taxoniumbackend | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: taxoniumbackend | ||
template: | ||
metadata: | ||
labels: | ||
app: taxoniumbackend | ||
spec: | ||
containers: | ||
- name: taxoniumbackend | ||
image: theosanderson/taxonium:master | ||
imagePullPolicy: Always | ||
ports: | ||
- containerPort: 80 | ||
livenessProbe: | ||
httpGet: | ||
path: / | ||
port: 80 | ||
initialDelaySeconds: 180 | ||
periodSeconds: 180 | ||
readinessProbe: | ||
httpGet: | ||
path: / | ||
port: 80 | ||
initialDelaySeconds: 30 | ||
periodSeconds: 5 | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: taxoniumbackend | ||
labels: | ||
app: taxoniumbackend | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: taxoniumbackend | ||
template: | ||
metadata: | ||
labels: | ||
app: taxoniumbackend | ||
spec: | ||
containers: | ||
- name: taxoniumbackend | ||
image: theosanderson/taxonium:master | ||
imagePullPolicy: Always | ||
ports: | ||
- containerPort: 80 | ||
livenessProbe: | ||
httpGet: | ||
path: / | ||
port: 80 | ||
initialDelaySeconds: 180 | ||
periodSeconds: 180 | ||
readinessProbe: | ||
httpGet: | ||
path: / | ||
port: 80 | ||
initialDelaySeconds: 30 | ||
periodSeconds: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
cd taxonium_web_client | ||
yarn install & | ||
yarn install & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
name: Frontend | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
test: | ||
env: | ||
CI: false | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 17.5 | ||
- name: NPM build | ||
run: | | ||
cd taxonium_web_client | ||
npm install -g yarn | ||
yarn install | ||
yarn build | ||
cd build | ||
- name: 'Upload Artifact' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: taxonium_web_client_build | ||
path: taxonium_web_client/build | ||
retention-days: 5 | ||
name: Frontend | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
test: | ||
env: | ||
CI: false | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 17.5 | ||
- name: NPM build | ||
run: | | ||
cd taxonium_web_client | ||
npm install -g yarn | ||
yarn install | ||
yarn build | ||
cd build | ||
- name: "Upload Artifact" | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: taxonium_web_client_build | ||
path: taxonium_web_client/build | ||
retention-days: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
name: Integration Test | ||
|
||
on: | ||
repository_dispatch: | ||
workflow_dispatch: | ||
push: | ||
pull_request: | ||
branches: [master] | ||
schedule: | ||
- cron: "0 0 * * *" | ||
jobs: | ||
build: | ||
uses: ./.github/workflows/frontend-test.yml | ||
python: | ||
uses: ./.github/workflows/python-test.yml | ||
selenium: | ||
needs: [build, python] | ||
uses: ./.github/workflows/selenium-test.yml | ||
name: Integration Test | ||
|
||
on: | ||
repository_dispatch: | ||
workflow_dispatch: | ||
push: | ||
pull_request: | ||
branches: [master] | ||
schedule: | ||
- cron: "0 0 * * *" | ||
jobs: | ||
build: | ||
uses: ./.github/workflows/frontend-test.yml | ||
python: | ||
uses: ./.github/workflows/python-test.yml | ||
selenium: | ||
needs: [build, python] | ||
uses: ./.github/workflows/selenium-test.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,4 @@ jobs: | |
- name: Prettify code | ||
uses: creyD/[email protected] | ||
with: | ||
prettier_options: --write **/*.{js,md,jsx} | ||
prettier_options: --write **/*.{js,md,jsx} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,8 +21,8 @@ jobs: | |
- name: Push changes | ||
if: steps.git-check.outputs.modified == 'true' | ||
run: | | ||
git config --global user.name 'github-actions' | ||
git config --global user.email '[email protected]' | ||
git config --global user.name 'github-actions' | ||
git config --global user.email '[email protected]' | ||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} | ||
git commit -am "Automated autoyapf fixes" | ||
git push |
Oops, something went wrong.