Skip to content

Commit

Permalink
cleanup workflows, somewhat
Browse files Browse the repository at this point in the history
  • Loading branch information
thanodnl committed Nov 10, 2023
1 parent 695ab96 commit 59db39f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build-citus-community-nightlies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ env:
DOCKERHUB_USER_NAME: ${{ secrets.DOCKERHUB_USER_NAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
on:
push:
branches:
- "**"
schedule:
- cron: "30 1 * * *"
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-package-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ env:
CURRENT_BRANCH: ${GITHUB_REF##*/}
TEST: true
on:
push:
branches: "**"
pull_request:
types: [opened, reopened,synchronize]
workflow_dispatch:

concurrency:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
TEST: false
on:
push:
branches: "**"
branches: "develop"
workflow_dispatch:

concurrency:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/image-health-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,9 @@ jobs:
env:
TARGET_PLATFORM: ${{ matrix.TARGET_PLATFORM }}
POSTGRES_VERSION: ${{ matrix.POSTGRES_VERSION }}

- name: Clone tools repo for test
run: git clone -b v0.8.27 --depth=1 https://github.com/citusdata/tools.git tools

# TODO we should probably fold this into the image building thing, to verify if images are built correctly before pushing
- name: Execute packaging tests
run: |
python -m pip install -r tools/packaging_automation/requirements.txt
python -m pytest -q tools/packaging_automation/tests/test_citus_package.py -k 'test_build_packages'
env:
PACKAGING_IMAGE_PLATFORM: "${{matrix.TARGET_PLATFORM}}"
Expand Down

0 comments on commit 59db39f

Please sign in to comment.