Skip to content

Commit

Permalink
Support onesie requests (#2238)
Browse files Browse the repository at this point in the history
* Support onesie requests

* force

* install protoc

* protoc

* revert youtubei.js

* remove logging

* Log download mode
  • Loading branch information
Brainicism authored Oct 21, 2024
1 parent a63d929 commit 44c66aa
Show file tree
Hide file tree
Showing 12 changed files with 10,685 additions and 752 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/post_create_command.sh
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
yarn install --frozen-lockfile;
# yarn install --frozen-lockfile;
npm ci --force
10 changes: 7 additions & 3 deletions .github/workflows/gci-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,20 @@ jobs:
# echo "MOCK_AUDIO=false" >> $GITHUB_ENV
# fi
# temporarily (?) mock audio until we have a longer term solution
echo "MOCK_AUDIO=true" >> $GITHUB_ENV
# # temporarily (?) mock audio until we have a longer term solution
# echo "MOCK_AUDIO=true" >> $GITHUB_ENV
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OWNER: ${{ github.repository_owner }}
REPO_NAME: ${{ github.event.repository.name }}
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}
- name: Install protobuf compiler
run: sudo apt install -y protobuf-compiler
- name: Install dependencies
run: yarn install --frozen-lockfile
run: |
# yarn install --frozen-lockfile
npm ci --force
- name: Acquire youtube session tokens
if: ${{ env.MOCK_AUDIO != 'true' }}
run: mkdir data && bash src/scripts/session-generator.sh data/ bgutil
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/gci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,12 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install protobuf compiler
run: sudo apt install -y protobuf-compiler
- name: Install node dependencies
run: yarn install --frozen-lockfile
run: |
# yarn install --frozen-lockfile
npm ci --force
- name: Prettier
run: npm run prettier-ci
- name: npm run lint
Expand Down
7 changes: 4 additions & 3 deletions docker/kmq/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ RUN apt-get update && apt-get install -y git \
autoconf \
automake \
libtool \
protobuf-compiler \
&& rm -rf /var/lib/apt/lists/*

WORKDIR /app
COPY yarn.lock package.json ./
COPY yarn.lock package.json package-lock.json ./
RUN yarn global add [email protected]
RUN yarn install --frozen-lockfile

# RUN yarn install --frozen-lockfile
RUN npm ci --force
COPY start.sh tsconfig.json ./
COPY i18n/ i18n/
COPY sql_dumps/daisuki/bootstrap.sql sql_dumps/daisuki/bootstrap.sql
Expand Down
Loading

0 comments on commit 44c66aa

Please sign in to comment.