Bump pytest from 8.2.1 to 8.3.2 in /packaging_automation #513
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
name: Build and publish citus community nightly packages | |
env: | |
MAIN_BRANCH: "all-citus" | |
PACKAGING_PASSPHRASE: ${{ secrets.PACKAGING_PASSPHRASE }} | |
PACKAGING_SECRET_KEY: ${{ secrets.PACKAGING_SECRET_KEY }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
DOCKERHUB_USER_NAME: ${{ secrets.DOCKERHUB_USER_NAME }} | |
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} | |
on: | |
push: | |
branches: | |
- "**" | |
schedule: | |
- cron: "30 1 * * *" | |
workflow_dispatch: | |
jobs: | |
build_package: | |
name: Build package | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: | |
- el/7 | |
- el/8 | |
- ol/7 | |
- debian/buster | |
- debian/bullseye | |
- debian/bookworm | |
- ubuntu/bionic | |
- ubuntu/focal | |
- ubuntu/jammy | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
path: tools | |
# This step is to fetch the images unanonymously to have higher bandwidth | |
- name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USER_NAME }} | |
password: ${{ secrets.DOCKERHUB_PASSWORD }} | |
- name: Clone build branch | |
run: git clone -b "${MAIN_BRANCH}" --depth=1 https://github.com/citusdata/packaging.git packaging | |
- name: Install package dependencies | |
run: sudo apt-get update && sudo apt-get install libcurl4-openssl-dev libssl-dev python3-testresources | |
- name: Install python requirements | |
run: python -m pip install -r tools/packaging_automation/requirements.txt | |
- name: Build packages | |
run: | | |
python -m tools.packaging_automation.citus_package \ | |
--gh_token "${GH_TOKEN}" \ | |
--platform "${{ matrix.platform }}" \ | |
--build_type "nightly" \ | |
--secret_key "${PACKAGING_SECRET_KEY}" \ | |
--passphrase "${PACKAGING_PASSPHRASE}" \ | |
--output_dir "$(pwd)/packages/" \ | |
--input_files_dir "$(pwd)/packaging" |