Commit Graph

28 Commits

Author SHA1 Message Date
dependabot[bot] 7aa64e06c4
Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 08:57:25 +00:00
Jesse Brown f8bf3ed25e
debug draft step to see why it does not like recent release branch 2025-07-18 09:06:11 -05:00
Jesse Brown 3109b04667
Use GITHUB_REF_NAME for draft action
The `GITHUB_REF` includes the full `ref/heads...`and the `gh release create` is expecting the short branch/tag name.

This somehow works fine - but also breaks the UI for generating release notes. This should fix that.

Signed-off-by: Jesse Brown <jabrown85@gmail.com>
2025-02-25 08:04:11 -06:00
Jesse Brown 35e4fb90bc
Update draft-release.yml
Windows artifacts are no longer built - the draft release validation needs to be updated to reflect that.

Signed-off-by: Jesse Brown <jabrown85@gmail.com>

Signed-off-by: Jesse Brown <jabrown85@gmail.com>
2025-02-10 10:07:09 -06:00
Jesse Brown 60bf07f8de
Remove Windows Support
I took a swing at removing any and all references to windows in this reference implementation.

Lifecycle no longer outputs a windows binary as a release artifact
Lifecycle no longer operates against windows containers

https://github.com/buildpacks/rfcs/pull/311
https://medium.com/buildpacks/deprecation-announcement-windows-container-feature-in-cloud-native-buildpacks-bbb70351343d

Signed-off-by: Jesse Brown <jabrown85@gmail.com>
2024-12-10 16:56:29 -06:00
Jesse Brown cd50eb8848
Add go-version-file to draft-release workflow (#1331)
We are getting warnings about go-version not being specified. This should fix that.

Signed-off-by: Jesse Brown <jabrown85@gmail.com>
2024-04-05 15:08:23 -04:00
Matthias Wessendorf 200b00a4a4
💄 Adding build and packaging support for ppc64le arch (#1303)
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
2024-02-28 15:20:20 -05:00
dependabot[bot] c8c4fc4f56
Bump actions/setup-go from 4 to 5 (#1253)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 12:00:37 -05:00
Dilip Gowda Bhagavan 292aa492a7
Add support for s390x (#1142)
* installing docker and jq

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>

* added support for s390x

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>

* adding back newline at end of file

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>

* adding back newline at end of file

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>

* updated release workflows

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>

* Running build and publish flow on fork

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>

* corrected typo

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>

* installing docker and jq

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>

* adding back newline at end of file

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>

* adding back newline at end of file

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>

* updated release workflows

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>

* corrected typo

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>

* reverting docker repo to buildpacksio

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>

* seperated s390x job to different file

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>

* removing hard coded values to secret

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>

* removed s390x conditon

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>

* adding s390x conditon

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>

* correcting alignment in build.yml

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>

---------

Signed-off-by: Dilip Gowda Bhagavan <dilip.bhagavan@ibm.com>
Signed-off-by: Dilip Gowda Bhagavan <110233170+dilipgb@users.noreply.github.com>
2023-10-05 10:23:33 -04:00
Natalie Arellano 2b81abb8c4
Update cosign (#1201)
* Update some actions and configure dependabot to update actions

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Update cosign workflows to use keyless signing

Signed-off-by: Natalie Arellano <narellano@vmware.com>

---------

Signed-off-by: Natalie Arellano <narellano@vmware.com>
2023-09-19 10:02:28 -04:00
Natalie Arellano 06ffeedd58
Update some actions and configure dependabot to update actions (#1200)
Signed-off-by: Natalie Arellano <narellano@vmware.com>
2023-09-19 08:54:41 -04:00
Natalie Arellano 56083d0680
Small improvements to the release notes template & check release workflow (#1178)
* Update release notes template

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Update test on fork script

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Fix

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Update check-latest-release to ignore pre-releases

Signed-off-by: Natalie Arellano <narellano@vmware.com>

---------

Signed-off-by: Natalie Arellano <narellano@vmware.com>
2023-08-10 12:19:32 -04:00
Natalie Arellano af79390a0b
Enable pre-releases in addition to release candidates (#1061)
While "release candidate" is still a pre-release, it conveys more readiness
than a "pre-release" or "preview release".
We'd like to ship pre-release lifecycle artifacts
so that users can test out new features without them being fully implemented
as they would in a release candidate.

Signed-off-by: Natalie Arellano <narellano@vmware.com>
2023-04-05 18:28:37 -04:00
Natalie Arellano 9895acb6a6
Sign sbom (#701)
* Sign SBOM after attaching it

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Fix

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Fix

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Fix

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Fix

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Use sbom sha when signing

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Update script to test on forks

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Sha is for layer, not manifest

Signed-off-by: Natalie Arellano <narellano@vmware.com>
2021-09-07 14:09:31 -04:00
Jason Hall 3a6fd83bd0
Include arm64 artifacts in release (#680)
Signed-off-by: Jason Hall <jasonhall@redhat.com>

Co-authored-by: Natalie Arellano <narellano@vmware.com>
2021-09-01 14:23:46 -04:00
Natalie Arellano ef606cf041
Add cdx sbom (#690)
* Generate cyclonedx bom and add it to the release

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Fix

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Fix

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Fix

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Loop over urls and download to same directory

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Update assets for pre-release

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Attach sbom using cosign

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Fix

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Fix

Signed-off-by: Natalie Arellano <narellano@vmware.com>
2021-08-31 13:24:26 -04:00
Jason Hall dbbce69825
Use repository owner from GitHub Actions context (#695)
Signed-off-by: Jason Hall <jasonhall@redhat.com>
2021-08-20 10:11:26 -04:00
Natalie Arellano 604fafbd98
Cosign lifecycle images (#683)
* Cosign lifecycle images

- Sign when they are initially created
- Verify and sign when retagging
- Publish the public key as a release asset

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Check in public key

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Pass cosign password in environment (vs. stdin)

Signed-off-by: Natalie Arellano <narellano@vmware.com>

* Fix

Signed-off-by: Natalie Arellano <narellano@vmware.com>
2021-08-17 11:43:29 -04:00
Yael Harel 00119d33e2
Generate checksums during package (#679)
* Generate checksums during package

Signed-off-by: Yael Harel <yharel@vmware.com>

* Calculate the sha256 while writing to the file

Signed-off-by: Yael Harel <yharel@vmware.com>

* Add the sha256 artifacts to the release

Signed-off-by: Yael Harel <yharel@vmware.com>

* rename linux to linux-x86-64 in the build and release yml files

Signed-off-by: Yael Harel <yharel@vmware.com>

* Add a new line at the end of each sha file

Signed-off-by: Yael Harel <yharel@vmware.com>
2021-08-12 11:32:34 -04:00
Natalie Arellano 4ced9ae338 Run pack acceptance tests on pushes to main & release/*
Signed-off-by: Natalie Arellano <narellano@vmware.com>
2021-07-06 12:28:03 -04:00
Natalie Arellano da51bd6626 Use gh cli to create release
Signed-off-by: Natalie Arellano <narellano@vmware.com>
2021-06-23 15:06:34 -04:00
Natalie Arellano 2b2c61e76a Semver tag release candidate lifecycle images
Signed-off-by: Natalie Arellano <narellano@vmware.com>
2021-06-23 09:55:17 -04:00
Natalie Arellano 438308fce7 Fixes
Signed-off-by: Natalie Arellano <narellano@vmware.com>
2021-06-08 14:03:47 -04:00
Natalie Arellano 8b77181444 Add GHA for shipping pre-releases.
Signed-off-by: Natalie Arellano <narellano@vmware.com>
2021-06-04 14:59:12 -04:00
Natalie Arellano 1fa60d5997 Fix syntax
Signed-off-by: Natalie Arellano <narellano@vmware.com>
2020-11-12 17:22:56 -05:00
Natalie Arellano bc54baf338 Update GitHub Actions workflows to use environment files
Fixes #424

Signed-off-by: Natalie Arellano <narellano@vmware.com>
2020-11-12 14:54:27 -05:00
Yael Harel eb5db1a0bb Update per review feedback:
- update github-script to the latest version v3.0.0
- refactor packager
- publish the linux and windows lifecycle images after all tests passed (on ubuntu)
- determine download urls for linux and windows in one step
- check that the head sha of the last successful workflow is the last sha

Signed-off-by: Yael Harel <yharel@vmware.com>
Signed-off-by: Natalie Arellano <narellano@vmware.com>
2020-10-02 16:33:03 -04:00
Yael Harel 040b8db1ae Move release automation to Github actions
For local development and commits to main, we derive the lifecycle version
from `git describe --tags`.
For new commits to release branches, we derive the lifecycle version
from the branch name.
New commits to main and release branches will trigger a new lifecycle image.
After publishing new releases, the lifecycle image will be re-tagged.
PRs to any branch won't trigger a new lifecycle image.

Signed-off-by: Natalie Arellano <narellano@vmware.com>
Signed-off-by: Yael Harel <yharel@vmware.com>
2020-10-02 16:33:03 -04:00