Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge development into main #496

Merged
merged 38 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
4229078
Update node to current LTS
duggalsu Oct 24, 2023
4e10beb
Remove lmdb package
duggalsu Oct 24, 2023
23163c1
- Removed env-cmd package
duggalsu Oct 24, 2023
82017a4
- Removed package 'process'
duggalsu Oct 24, 2023
1460be5
Modify dependencies
duggalsu Oct 24, 2023
70c4c3f
Harden dockerfile
duggalsu Oct 25, 2023
f8885f6
Update dom-to-image-more
duggalsu Oct 25, 2023
53bff6c
Update i18next
duggalsu Oct 25, 2023
2598cca
Update react-i18next
duggalsu Oct 25, 2023
3cf7c48
Update non-breaking packages
duggalsu Oct 31, 2023
46d704e
Update node
duggalsu Oct 31, 2023
be9eff3
Update styled-components
duggalsu Oct 31, 2023
f29581c
Update react (#459)
duggalsu Nov 1, 2023
6c3fdb2
refactor: changing permission for url in manifest
aatmanvaidya Nov 1, 2023
32089af
Update axios (#462)
duggalsu Nov 1, 2023
b97af0c
fix: updating jest test for slurcrowdsource apis
aatmanvaidya Nov 1, 2023
723db0c
Update non breaking packages (#470)
duggalsu Nov 7, 2023
449d3d1
Update axios api-server (#471)
duggalsu Nov 7, 2023
d3eaaf3
Update UUID package (#473)
duggalsu Nov 7, 2023
13259de
Pin website packages (#475)
duggalsu Nov 14, 2023
9d008fe
Update non-breaking packages website (#476)
duggalsu Nov 14, 2023
7639002
Updated non-breaking packages
duggalsu Nov 14, 2023
ec46aa4
- Updated i18next package
duggalsu Nov 15, 2023
6d71772
Update react in uli-website
duggalsu Nov 15, 2023
ddc568d
feat: add one button for crowdsourcing slurs. add loading bar for cro…
aatmanvaidya Nov 20, 2023
db1ec1e
Update aws and multer (#474)
duggalsu Nov 21, 2023
e83d90e
refactor(plugin): add file to consolidate chrome/firefox APIs (#401)
abhishek-nigam Nov 21, 2023
0779687
- Deleted folders moved to uli-legacy
duggalsu Nov 21, 2023
17248fb
- Updated non-breaking dependencies in plugin and api-server
duggalsu Nov 21, 2023
36c7132
chore: removing ogbv-ml-rest container
aatmanvaidya Nov 21, 2023
ce04154
chore: removing ogbv-ml-rest container
aatmanvaidya Nov 21, 2023
1063ca3
fix: github action for deploy staging and prod (#491)
aatmanvaidya Nov 29, 2023
83ae239
Merge main and development (#492)
duggalsu Nov 29, 2023
02ab61d
fix: error on save in slur replacement (#493)
aatmanvaidya Nov 29, 2023
03fc41f
fix(uli-website): update package versions (#483)
duggalsu Nov 29, 2023
e2584c3
chore: updating manifest version (#495)
aatmanvaidya Nov 29, 2023
19d5457
Merge branch 'main' into development
duggalsu Nov 29, 2023
956f57f
fix: axios import error (#497)
aatmanvaidya Nov 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-pr-review-both-browsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: "Setup Node version"
uses: actions/setup-node@v3
with:
node-version: 20.8.1
node-version: 20.9.0

- name: Get commit SHA
shell: bash
Expand Down
86 changes: 1 addition & 85 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ jobs:
changes:
runs-on: ubuntu-latest
outputs:
annotation-ui: ${{ steps.filter.outputs.annotation-ui }}
uli-website: ${{ steps.filter.outputs.uli-website}}
ogbv-ml-rest: ${{ steps.filter.outputs.ogbv-ml-rest }}
uli-server: ${{ steps.filter.outputs.uli-server }}
steps:
- uses: actions/checkout@v2
Expand All @@ -20,55 +18,11 @@ jobs:
id: filter
with:
filters: |
annotation-ui:
- 'annotators/backend/**/*'
- 'annotators/annotation-ui/**/*'
uli-website:
- 'uli-website/**/*'
ogbv-ml-rest:
- 'ogbv-ml-rest/**/*'
uli-server:
- 'browser-extension/api-server/**/*'

annotation-ui:
runs-on: ubuntu-latest
needs: changes
if: ${{ needs.changes.outputs.annotation-ui == 'true' }}
steps:
- uses: actions/checkout@v2
with:
ref: main
- name: Declare some variables
id: vars
shell: bash
run: |
echo "setting variables"
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
cd annotators/annotation-ui
npm install --force
npm run build

- name: Publish to Docker
uses: elgohr/Publish-Docker-Github-Action@master
with:
username: tattletech
password: ${{ secrets.DOCKER_PASSWORD }}
name: tattletech/ogbv_annotator
tags: ${{ steps.vars.outputs.sha_short }}
workdir: annotators/backend/

- name: deploy to cluster
uses: steebchen/[email protected]
with: # defaults to latest kubectl binary version
config: ${{ secrets.PROD_KUBE_CONFIG_DATA }}
command: set image --record deployment/annotation-ui annotation-ui=tattletech/ogbv_annotator:${{ steps.vars.outputs.sha_short }}
- name: verify deployment
uses: steebchen/[email protected]
with:
config: ${{ secrets.PROD_KUBE_CONFIG_DATA }}
version: v1.21.0 # specify kubectl binary version explicitly
command: rollout status deployment/annotation-ui

uli-website:
runs-on: ubuntu-latest
needs: changes
Expand Down Expand Up @@ -102,44 +56,6 @@ jobs:
SLACK_COLOR: "#020637"
SLACK_ICON: https://tattle-media.s3.amazonaws.com/monogram-dark.svg

ogbv-ml-rest:
runs-on: ubuntu-latest
needs: changes
if: ${{ needs.changes.outputs.ogbv-ml-rest == 'true' }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: main

- name: Declare some variables
id: vars
shell: bash
run: |
echo "setting variables"
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"

- name: Build and Push to Docker
uses: elgohr/Publish-Docker-Github-Action@master
with:
username: tattletech
password: ${{ secrets.DOCKER_PASSWORD }}
name: tattletech/ogbv-ml-rest
tags: ${{ steps.vars.outputs.sha_short }}
workdir: ogbv-ml-rest

# - name: deploy to cluster
# uses: steebchen/[email protected]
# with: # defaults to latest kubectl binary version
# config: ${{ secrets.PROD_KUBE_CONFIG_DATA }}
# command: set image --record deployment/ogbv-ml-rest ogbv-ml-rest=tattletech/ogbv-ml-rest:${{ steps.vars.outputs.sha_short }}
# - name: verify deployment
# uses: steebchen/[email protected]
# with:
# config: ${{ secrets.PROD_KUBE_CONFIG_DATA }}
# version: v1.21.0 # specify kubectl binary version explicitly
# command: rollout status deployment/ogbv-ml-rest

uli-server:
runs-on: ubuntu-latest
needs: changes
Expand Down Expand Up @@ -174,4 +90,4 @@ jobs:
with:
config: ${{ secrets.PROD_KUBE_CONFIG_DATA }}
version: v1.21.0 # specify kubectl binary version explicitly
command: rollout status deployment/ogbv-plugin
command: rollout status deployment/ogbv-plugin
84 changes: 0 additions & 84 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ jobs:
changes:
runs-on: ubuntu-latest
outputs:
annotation-ui: ${{ steps.filter.outputs.annotation-ui }}
ogbv-ml-rest: ${{ steps.filter.outputs.ogbv-ml-rest }}
browser-extension-server: ${{ steps.filter.outputs.browser-extension-server }}
steps:
- uses: actions/checkout@v2
Expand All @@ -19,91 +17,9 @@ jobs:
id: filter
with:
filters: |
annotation-ui:
- 'annotators/backend/**/*'
- 'annotators/annotation-ui/**/*'
ogbv-ml-rest:
- 'ogbv-ml-rest/**/*'
browser-extension-server:
- 'browser-extension/api-server/**/*'

annotation-ui:
runs-on: ubuntu-latest
needs: changes
if: ${{ needs.changes.outputs.annotation-ui == 'true' }}
steps:
- uses: actions/checkout@v2
with:
ref: development
- name: Declare some variables
id: vars
shell: bash
run: |
echo "setting variables"
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
cd annotators/annotation-ui
npm install
npm run build

- name: Publish to Docker
uses: elgohr/Publish-Docker-Github-Action@master
with:
username: tattletech
password: ${{ secrets.DOCKER_PASSWORD }}
name: tattletech/ogbv_annotator
tags: ${{ steps.vars.outputs.sha_short }}
workdir: annotators/backend/

- name: deploy to cluster
uses: steebchen/[email protected]
with: # defaults to latest kubectl binary version
config: ${{ secrets.PROD_KUBE_CONFIG_DATA }}
command: set image --record deployment/annotation-ui-staging annotation-ui-staging=tattletech/ogbv_annotator:${{ steps.vars.outputs.sha_short }}
- name: verify deployment
uses: steebchen/[email protected]
with:
config: ${{ secrets.PROD_KUBE_CONFIG_DATA }}
version: v1.21.0 # specify kubectl binary version explicitly
command: rollout status deployment/annotation-ui-staging

ogbv-ml-rest:
runs-on: ubuntu-latest
needs: changes
if: ${{ needs.changes.outputs.ogbv-ml-rest == 'true' }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: development

- name: Declare some variables
id: vars
shell: bash
run: |
echo "setting variables"
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"

- name: Build and Push to Docker
uses: elgohr/Publish-Docker-Github-Action@master
with:
username: tattletech
password: ${{ secrets.DOCKER_PASSWORD }}
name: tattletech/ogbv-ml-rest
tags: ${{ steps.vars.outputs.sha_short }}
workdir: ogbv-ml-rest

# - name: deploy to cluster
# uses: steebchen/[email protected]
# with: # defaults to latest kubectl binary version
# config: ${{ secrets.PROD_KUBE_CONFIG_DATA }}
# command: set image --record deployment/ogbv-ml-rest ogbv-ml-rest=tattletech/ogbv-ml-rest:${{ steps.vars.outputs.sha_short }}
# - name: verify deployment
# uses: steebchen/[email protected]
# with:
# config: ${{ secrets.PROD_KUBE_CONFIG_DATA }}
# version: v1.21.0 # specify kubectl binary version explicitly
# command: rollout status deployment/ogbv-ml-rest

browser-extension-server:
runs-on: "ubuntu-latest"
needs: "changes"
Expand Down
2 changes: 0 additions & 2 deletions annotators/.gitignore

This file was deleted.

38 changes: 0 additions & 38 deletions annotators/README.md

This file was deleted.

Loading
Loading