14.17.0-dev.8 and also test on darwin amd

This commit is contained in:
Puskar Basu
2025-03-21 11:15:32 +05:30
parent 53d1a6950b
commit ca1ac76ed8
2 changed files with 30 additions and 4 deletions

View File

@@ -79,6 +79,7 @@ jobs:
mv $GITHUB_WORKSPACE/steampipe/dist/steampipe_linux_amd64.tar.gz ~/artifacts/linux.tar.gz
mv $GITHUB_WORKSPACE/steampipe/dist/steampipe_linux_arm64.tar.gz ~/artifacts/linux-arm.tar.gz
mv $GITHUB_WORKSPACE/steampipe/dist/steampipe_darwin_arm64.zip ~/artifacts/darwin.zip
mv $GITHUB_WORKSPACE/steampipe/dist/steampipe_darwin_amd64.zip ~/artifacts/darwin-amd.zip
- name: List Build Artifacts
run: ls -l ~/artifacts
@@ -107,13 +108,21 @@ jobs:
if-no-files-found: error
overwrite: true
- name: Save MacOS AMD Build Artifact
uses: actions/upload-artifact@v4
with:
name: build-artifact-darwin-amd
path: ~/artifacts/darwin-amd.zip
if-no-files-found: error
overwrite: true
acceptance_test:
name: Test
needs: goreleaser
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-14, ubuntu-24.04-arm]
platform: [ubuntu-latest, macos-14, ubuntu-24.04-arm, macos-13]
test_block:
- "migration"
- "brew"
@@ -141,6 +150,10 @@ jobs:
test_block: migration
- platform: macos-14
test_block: force_stop
- platform: macos-13
test_block: migration
- platform: macos-13
test_block: force_stop
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout
@@ -179,12 +192,25 @@ jobs:
name: build-artifact-darwin
path: ~/artifacts
- name: Download Darwin AMD Build Artifacts
uses: actions/download-artifact@v4
if: ${{ matrix.platform == 'macos-13' }}
with:
name: build-artifact-darwin-amd
path: ~/artifacts
- name: Extract Darwin Artifacts and Install Binary
if: ${{ matrix.platform == 'macos-14' }}
run: |
mkdir ~/build
unzip ~/artifacts/darwin.zip -d ~/build
- name: Extract Darwin AMD Artifacts and Install Binary
if: ${{ matrix.platform == 'macos-13' }}
run: |
mkdir ~/build
unzip ~/artifacts/darwin-amd.zip -d ~/build
- name: Extract Ubuntu Artifacts and Install Binary
if: ${{ matrix.platform == 'ubuntu-latest' }}
run: |

View File

@@ -27,12 +27,12 @@ const (
// constants for installing db and fdw images
const (
DatabaseVersion = "14.17.0-dev.7"
DatabaseVersion = "14.17.0-dev.8"
FdwVersion = "1.12.4"
// PostgresImageRef is the OCI Image ref for the database binaries
PostgresImageRef = "ghcr.io/turbot/steampipe/db:14.17.0-dev.7"
PostgresImageDigest = "sha256:c15eb1c7e376591b46b00dd49ac67caaca87449b10980b783136ed2c0218af40"
PostgresImageRef = "ghcr.io/turbot/steampipe/db:14.17.0-dev.8"
PostgresImageDigest = "sha256:7daf4f5d5bc85fedb5c17f26346aaff20c20771caad80c91283d3c09e76ed7de"
FdwImageRef = "ghcr.io/turbot/steampipe/fdw:" + FdwVersion
FdwBinaryFileName = "steampipe_postgres_fdw.so"