Skip to content

Commit

Permalink
build grader
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar committed May 26, 2024
1 parent d8f72cc commit 5f9b6ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
jobs:
test:
runs-on: ubuntu-22.04
if: false
services:
rabbitmq:
image: rabbitmq
Expand Down Expand Up @@ -87,8 +88,7 @@ jobs:
yarn ci
build:
needs: test
if: github.ref == 'refs/heads/master' && github.repository_owner == 'ia-toki'
if: github.ref == 'refs/heads/grader-poller' && github.repository_owner == 'ia-toki'
runs-on: ubuntu-22.04
env:
CONTAINER_REGISTRY_USERNAME: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
Expand Down Expand Up @@ -137,15 +137,14 @@ jobs:
${{ runner.os }}-yarn-
- name: Build judgels-server
if: steps.changed-files.outputs.judgels-server == '1'
if: false
run: ./deployment/scripts/build_judgels_server.sh

- name: Build judgels-client
if: steps.changed-files.outputs.judgels-client == '1'
if: false
run: ./deployment/scripts/build_judgels_client.sh

- name: Build judgels-grader
if: steps.changed-files.outputs.judgels-grader == '1'
run: ./deployment/scripts/build_judgels_grader.sh

deploy-web:
Expand Down
2 changes: 1 addition & 1 deletion deployment/scripts/build_judgels_grader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ cp init.sh build/distributions
cd ../../deployment/ansible

ansible --version
ansible-playbook playbooks/build-judgels-grader.yml
ansible-playbook -e app_version=grader-poller playbooks/build-judgels-grader.yml

0 comments on commit 5f9b6ac

Please sign in to comment.