aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hashizume <michael.hashizume@puppet.com>2023-02-14 14:39:18 -0800
committerMichael Hashizume <michael.hashizume@puppet.com>2023-02-14 14:39:18 -0800
commit95c8629295eefe08328f3b2d3770eeed8ba5e6f9 (patch)
treebcc9e6fd78a0c7030fd65c7b09b928e495ef573e
parentcf562a8bda5df98b91fea01a43e128a8e821058c (diff)
downloadpuppet-cron_core-95c8629295eefe08328f3b2d3770eeed8ba5e6f9.tar.gz
puppet-cron_core-95c8629295eefe08328f3b2d3770eeed8ba5e6f9.tar.bz2
(MODULES-11371) Change auto release Docker image
The PDK Docker image does not contain any build tools, which causes the installation of gems that use native extensions to fail. This commit changes the Docker image used in the Auto Release GitHub Action from the PDK image to the Puppet dev-tools image, which contains packages like `make` necessary for building native extensions.
-rw-r--r--.github/workflows/auto_release.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/auto_release.yml b/.github/workflows/auto_release.yml
index 7bae1db..3799f04 100644
--- a/.github/workflows/auto_release.yml
+++ b/.github/workflows/auto_release.yml
@@ -33,10 +33,12 @@ jobs:
fetch-depth: 0
persist-credentials: false
+ # We use the dev tools image here because the PDK image does not have the
+ # build tools necessary to compile native extensions.
- name: "PDK Release prep"
- uses: docker://puppet/iac_release:ci
+ uses: docker://puppet/puppet-dev-tools:4.x
with:
- args: 'release prep --force'
+ args: 'pdk release prep --force --debug'
env:
CHANGELOG_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}