Skip to content

Bump mysqlclient from 2.1.1 to 2.2.6 #969

Bump mysqlclient from 2.1.1 to 2.2.6

Bump mysqlclient from 2.1.1 to 2.2.6 #969

Workflow file for this run

---
name: Wikipedia Library - test and deploy
on:
push:
branches: ["master", "staging"]
pull_request:
branches: ["master"]
jobs:
cicd:
runs-on: ubuntu-latest
environment: cicd
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- name: build & run
run: >
sudo .cicd/build.sh
${GITHUB_HEAD_REF:-$GITHUB_REF_NAME}
${GITHUB_SHA}
- name: migrate
run: >
docker compose exec --no-TTY twlight
/app/bin/virtualenv_migrate.sh
- name: translate
run: >
docker compose exec --no-TTY twlight
/app/bin/virtualenv_translate.sh last-commit
- name: test
run: >
docker compose exec --no-TTY twlight
/app/bin/virtualenv_test.sh
- name: deploy
env:
WIKIBOT_TOKEN: ${{secrets.WIKIBOT_TOKEN}}
QUAYBOT_USERNAME: ${{secrets.QUAYBOT_USERNAME}}
QUAYBOT_PASSWORD: ${{secrets.QUAYBOT_PASSWORD}}
run: >
sudo .cicd/deploy.sh
${GITHUB_REF_NAME}
${GITHUB_SHA}
${GITHUB_EVENT_NAME}
${GITHUB_REPOSITORY}
${WIKIBOT_TOKEN}
${QUAYBOT_USERNAME}
${QUAYBOT_PASSWORD}
- name: cleanup
if: always()
run: sudo chown -R ${USER}:${USER} .