aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hashizume <michael.hashizume@puppet.com>2023-02-14 14:26:19 -0800
committerMichael Hashizume <michael.hashizume@puppet.com>2023-02-14 14:26:19 -0800
commita8f61e8b3e964c27c939999cab7c17dfdbe911a6 (patch)
tree5314bbfcfad11419e459ed6a09287aac53fb2fc2
parent8c5b67382b1598f9c8f7cc3aa8f0c53289e75868 (diff)
downloadpuppet-hosts_core-a8f61e8b3e964c27c939999cab7c17dfdbe911a6.tar.gz
puppet-hosts_core-a8f61e8b3e964c27c939999cab7c17dfdbe911a6.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 }}