Skip to content

Commit

Permalink
Merge branch 'robuust' into pdo_sqlsrv
Browse files Browse the repository at this point in the history
# Conflicts:
#	.github/workflows/docker-publish.yml
  • Loading branch information
boboldehampsink committed Dec 8, 2023
2 parents 2e3c48c + 142d684 commit 48f80a6
Show file tree
Hide file tree
Showing 117 changed files with 2,659 additions and 6,807 deletions.
10 changes: 9 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,19 @@ updates:
- package-ecosystem: "bundler"
directory: "/"
schedule:
interval: "weekly"
interval: "monthly"
groups:
test-dependencies:
patterns:
- "*"
- package-ecosystem: "composer"
directory: "/support/devcenter"
schedule:
interval: "monthly"
groups:
devcenter-generator-dependencies:
patterns:
- "*"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
BLACKFIRE_SERVER_TOKEN: ${{ secrets.BLACKFIRE_SERVER_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Ruby and Bundler
uses: ruby/setup-ruby@v1
with:
Expand All @@ -45,12 +45,10 @@ jobs:
- name: Install PHP and Composer
uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
tools: "composer:2.4"
php-version: "8.2"
tools: "composer:2.6"
- name: Hatchet setup
run: |
bundle exec hatchet ci:setup
heroku update --version 8.1.9
run: bundle exec hatchet ci:setup
- name: Export HEROKU_PHP_PLATFORM_REPOSITORIES to …-develop (since we are not building main or a tag)
if: github.ref_type != 'tag' && github.ref_name != 'main'
run: |
Expand All @@ -65,7 +63,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install Ruby and Bundler
uses: ruby/setup-ruby@v1
with:
Expand Down
27 changes: 22 additions & 5 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
if: github.event_name == 'push'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Log into GitHub Container Registry
run: echo "${{ secrets.CR_PAT }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin
Expand All @@ -36,7 +36,7 @@ jobs:

steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Build & deploy ext-pdo_sqlsrv for php 8.1
run: docker run --platform=linux/arm64 --rm -e AWS_ACCESS_KEY_ID="${{ secrets.AWS_ACCESS_KEY_ID }}" -e AWS_SECRET_ACCESS_KEY="${{ secrets.AWS_SECRET_ACCESS_KEY }}" ghcr.io/robuust/heroku-php-build-heroku-22 deploy.sh extensions/no-debug-non-zts-20210902/pdo_sqlsrv-5.11.1 --overwrite
Expand All @@ -53,10 +53,27 @@ jobs:

steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Build & deploy ext-pdo_sqlsrv for php 8.2
run: docker run --platform=linux/arm64 --rm -e AWS_ACCESS_KEY_ID="${{ secrets.AWS_ACCESS_KEY_ID }}" -e AWS_SECRET_ACCESS_KEY="${{ secrets.AWS_SECRET_ACCESS_KEY }}" ghcr.io/robuust/heroku-php-build-heroku-22 deploy.sh extensions/no-debug-non-zts-20220829/pdo_sqlsrv-5.11.1 --overwrite

- name: Build & deploy ext-pdo_sqlsrv for php 8.2 (x86)
run: docker run --platform=linux/amd64 --rm -e AWS_ACCESS_KEY_ID="${{ secrets.AWS_ACCESS_KEY_ID }}" -e AWS_SECRET_ACCESS_KEY="${{ secrets.AWS_SECRET_ACCESS_KEY }}" ghcr.io/robuust/heroku-php-build-heroku-22 deploy.sh extensions/no-debug-non-zts-20220829/pdo_sqlsrv-5.11.1 --name=extensions/no-debug-non-zts-20220829/pdo_sqlsrv-5.11.1-x86 --overwrite

php83:
# Ensure push job passes before pushing image.
needs: push

runs-on: ubuntu-latest
if: github.event_name == 'push'

steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Build & deploy ext-pdo_sqlsrv for php 8.3
run: docker run --platform=linux/arm64 --rm -e AWS_ACCESS_KEY_ID="${{ secrets.AWS_ACCESS_KEY_ID }}" -e AWS_SECRET_ACCESS_KEY="${{ secrets.AWS_SECRET_ACCESS_KEY }}" ghcr.io/robuust/heroku-php-build-heroku-22 deploy.sh extensions/no-debug-non-zts-20230831/pdo_sqlsrv-5.11.1 --overwrite

- name: Build & deploy ext-pdo_sqlsrv for php 8.23(x86)
run: docker run --platform=linux/amd64 --rm -e AWS_ACCESS_KEY_ID="${{ secrets.AWS_ACCESS_KEY_ID }}" -e AWS_SECRET_ACCESS_KEY="${{ secrets.AWS_SECRET_ACCESS_KEY }}" ghcr.io/robuust/heroku-php-build-heroku-22 deploy.sh extensions/no-debug-non-zts-20230831/pdo_sqlsrv-5.11.1 --name=extensions/no-debug-non-zts-20230831/pdo_sqlsrv-5.11.1-x86 --overwrite
8 changes: 4 additions & 4 deletions .github/workflows/platform-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
formulae: ${{ steps.expand-formulae.outputs.matrix }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install jq tool
run: |
sudo apt-get update
Expand All @@ -65,7 +65,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Cache Docker build
id: cache-docker
uses: actions/cache@v3
Expand All @@ -91,7 +91,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Restore cached Docker build
uses: actions/cache/restore@v3
with:
Expand All @@ -117,7 +117,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Restore cached Docker build
uses: actions/cache/restore@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/platform-remove.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Expand list of manifests to remove
run: |
echo '## Manifests input for removal' >> "$GITHUB_STEP_SUMMARY"
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
(yes 2>/dev/null || true) | docker run --rm -i --env-file=support/build/_docker/env.default heroku-php-build-${{inputs.stack}}:${{github.sha}} remove.sh ${{inputs.manifests}} 2>&1 | tee remove.out
- name: Output job summary
run: |
echo '## Packages${{ inputs.dry-run == true && ' which would be' }} removed from production bucket' >> "$GITHUB_STEP_SUMMARY"
echo '## Packages${{ inputs.dry-run == true && ' which would be' || '' }} removed from production bucket' >> "$GITHUB_STEP_SUMMARY"
echo "${{ inputs.dry-run == true && '**This is output from a dry-run**, no packages have been removed:' || '-n' }}" >> "$GITHUB_STEP_SUMMARY"
echo '```' >> "$GITHUB_STEP_SUMMARY"
sed -n '/The following packages will/,$p' remove.out >> "$GITHUB_STEP_SUMMARY"
Expand Down
Loading

0 comments on commit 48f80a6

Please sign in to comment.