Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Automate the bumping of PHP extension/module versions #30

Open
2 of 4 tasks
martyspiewak opened this issue May 7, 2021 · 3 comments
Open
2 of 4 tasks

Automate the bumping of PHP extension/module versions #30

martyspiewak opened this issue May 7, 2021 · 3 comments

Comments

@martyspiewak
Copy link

martyspiewak commented May 7, 2021

Background

Right now PHP modules need to be bumped manually by updating the php-<version>-extensions.yml files in the build-binary-new task in buldpacks-ci.

Proposal

We should automate this process so that new extension versions are automatically pulled in when they are released.

Known issue: There will still need to be some human intervention if building or testing the extension with PHP fails, in order to determine if this is an incompatible version or we need to change the way we are consuming/compiling it.

Breakdown

Step 1

Add php-extensions to dep-server

Step 2

@thitch97
Copy link
Contributor

Alternate option 1:
It may be beneficial to add a url field to the pointing to the release page of the extension.
OR
Modify the klass field in files from above

  • This would require changes to the build tooling

Caveats:

  • This is only worthwhile if the logic contained within the <internal folder in dep-server pkg/dep> is made public

Questions:

  • Will modifying the structure of the files mentioned above break our other build tooling?

@brayanhenao brayanhenao self-assigned this Jun 15, 2021
@thitch97
Copy link
Contributor

Additional context

@menehune23
Copy link

We now have some helper scripts to aid in these tasks. Because some human intervention is required with the module updates, I don't see a world where this is done in CI. I think local scripts to remove the tedium, allowing for intermediate human analysis, is the way to go.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants