Commit Graph

25 Commits

Author SHA1 Message Date
Ed Morley 531163eca4
Increase timeouts for actions that rely on actions (again)
In #214 the timeouts for Actions that rely on other Actions was
bumped from 2 minutes to 8 minutes.

However, there are still occasionally instances where the registry
request issue isn't processed for up to 15-16 minutes due to delays
in the GitHub Actions runner being started.

As such this raises the timeout again, from 8 minutes to 20 minutes.

Signed-off-by: Ed Morley <501702+edmorley@users.noreply.github.com>
2024-07-04 22:12:53 +01:00
Josh W Lewis 4ad31e11b0
Increase timeout for actions that rely on other actions
Signed-off-by: Josh W Lewis <josh.lewis@salesforce.com>
2023-05-22 17:32:01 -05:00
Sambhav Kothari b8357b48cd
Allow buildpacksio as a namespace
Signed-off-by: Sambhav Kothari <sambhavs.email@gmail.com>
2022-08-28 00:02:15 +01:00
Joe Kutner e95fa4691c
Add more logging to help determine cause of Github 409
Signed-off-by: Joe Kutner <jpkutner@gmail.com>
2021-11-01 08:47:00 -05:00
Joe Kutner d4ea5db099
Upgrade go-github to v39, and golang to 1.17
Signed-off-by: Joe Kutner <jpkutner@gmail.com>
2021-10-25 09:05:48 -05:00
Mritunjay Sharma 82f6e1461d tests: minor fix of test for GetInputList in verify_namespace_owner_test.go
Signed-off-by: Mritunjay Sharma <mritunjaysharma394@gmail.com>
2021-06-23 23:56:02 +05:30
Mritunjay Sharma 65570ee59e tests: adds test for GetInputList in verify_namespace_owner_test.go
Signed-off-by: Mritunjay Sharma <mritunjaysharma394@gmail.com>
2021-06-23 23:40:43 +05:30
Mritunjay Sharma a9fa7f3f6b fixes error message
Signed-off-by: Mritunjay Sharma <mritunjaysharma394@gmail.com>
2021-06-23 19:58:18 +05:30
Mritunjay Sharma 9594a17faa adds blocked namespaces logic
Signed-off-by: Mritunjay Sharma <mritunjaysharma394@gmail.com>
2021-06-22 23:43:16 +05:30
Mritunjay Sharma f29800c92b adds default blocked namespaces and appends it
Signed-off-by: Mritunjay Sharma <mritunjaysharma394@gmail.com>

fixes adding of default blocked namespaces

Signed-off-by: Mritunjay Sharma <mritunjaysharma394@gmail.com>
2021-06-22 23:03:27 +05:30
Mritunjay Sharma 4df562b3a4 fixes the blocked_namespaces get input list type
changes in config struct to accept blocklist array of namespaces

Add CII badge to readme

Signed-off-by: Joe Kutner <jpkutner@gmail.com>

Bump github.com/buildpacks/libcnb from 1.20.0 to 1.21.0

Bumps [github.com/buildpacks/libcnb](https://github.com/buildpacks/libcnb) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/buildpacks/libcnb/releases)
- [Commits](https://github.com/buildpacks/libcnb/compare/v1.20.0...v1.21.0)

Signed-off-by: dependabot[bot] <support@github.com>

Bump github.com/google/go-containerregistry from 0.4.1 to 0.5.0

Bumps [github.com/google/go-containerregistry](https://github.com/google/go-containerregistry) from 0.4.1 to 0.5.0.
- [Release notes](https://github.com/google/go-containerregistry/releases)
- [Changelog](https://github.com/google/go-containerregistry/blob/main/.goreleaser.yml)
- [Commits](https://github.com/google/go-containerregistry/compare/v0.4.1...v0.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Bump github.com/onsi/gomega from 1.11.0 to 1.12.0

Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.11.0...v1.12.0)

Signed-off-by: dependabot[bot] <support@github.com>

Bump github.com/pelletier/go-toml from 1.9.0 to 1.9.1

Bumps [github.com/pelletier/go-toml](https://github.com/pelletier/go-toml) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/pelletier/go-toml/releases)
- [Commits](https://github.com/pelletier/go-toml/compare/v1.9.0...v1.9.1)

Signed-off-by: dependabot[bot] <support@github.com>

Bump actions/checkout from 2 to 2.3.4

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
- [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/v2...v2.3.4)

Signed-off-by: dependabot[bot] <support@github.com>

Bump mheap/github-action-required-labels from 1 to 1.1.2

Bumps [mheap/github-action-required-labels](https://github.com/mheap/github-action-required-labels) from 1 to 1.1.2.
- [Release notes](https://github.com/mheap/github-action-required-labels/releases)
- [Commits](https://github.com/mheap/github-action-required-labels/compare/v1...v1.1.2)

Signed-off-by: dependabot[bot] <support@github.com>

Bump micnncim/action-label-syncer from 1 to 1.2.0

Bumps [micnncim/action-label-syncer](https://github.com/micnncim/action-label-syncer) from 1 to 1.2.0.
- [Release notes](https://github.com/micnncim/action-label-syncer/releases)
- [Commits](https://github.com/micnncim/action-label-syncer/compare/v1...v1.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Bump docker/login-action from 1 to 1.9.0

Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 1.9.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v1.9.0)

Signed-off-by: dependabot[bot] <support@github.com>

Bump peter-evans/create-pull-request from 3 to 3.9.1

Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 3.9.1.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...v3.9.1)

Signed-off-by: dependabot[bot] <support@github.com>

registry:changed name to blocked-namespaces

changes list-of-namespaces to blocked-namespaces

Bump github.com/google/go-containerregistry from 0.5.0 to 0.5.1

Bumps [github.com/google/go-containerregistry](https://github.com/google/go-containerregistry) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/google/go-containerregistry/releases)
- [Changelog](https://github.com/google/go-containerregistry/blob/main/.goreleaser.yml)
- [Commits](https://github.com/google/go-containerregistry/compare/v0.5.0...v0.5.1)

Signed-off-by: dependabot[bot] <support@github.com>

Bump micnncim/action-label-syncer from 1.2.0 to 1.3.0

Bumps [micnncim/action-label-syncer](https://github.com/micnncim/action-label-syncer) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/micnncim/action-label-syncer/releases)
- [Commits](https://github.com/micnncim/action-label-syncer/compare/v1.2.0...v1.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Bump github.com/onsi/gomega from 1.12.0 to 1.13.0

Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.12.0...v1.13.0)

Signed-off-by: dependabot[bot] <support@github.com>

Bump actions/cache from 2.1.5 to 2.1.6

Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6)

Signed-off-by: dependabot[bot] <support@github.com>

Bump peter-evans/create-pull-request from 3.9.1 to 3.9.2

Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3.9.1 to 3.9.2.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3.9.1...v3.9.2)

Signed-off-by: dependabot[bot] <support@github.com>

Bump peter-evans/create-pull-request from 3.9.2 to 3.10.0

Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3.9.2 to 3.10.0.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3.9.2...v3.10.0)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

fixes blocked_namespaces get input list type

Signed-off-by: Mritunjay Sharma <mritunjaysharma394@gmail.com>
2021-06-05 03:01:15 +05:30
Ben Hale 7760893ac0
Extract Shared Code
This change extracts the code that waits for an issue to be completed to a
shared utility.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:10:24 -08:00
Ben Hale e30e95ef4e
Optimistic Locking
This change adds optimistic locking to all the actions that need to update
data on GitHub.  It does this using the standard `CreateFile` invocation with
the previous SHA (almost like it was designed for this 😇) and retrying with an
exponential backoff.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:10:22 -08:00
Ben Hale 1b19006a0f
Fixes
Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:44 -08:00
Ben Hale 225b568d52
Fixes
Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:44 -08:00
Ben Hale 7e3dd1425f
registry-yank-entry
This change adds a registry-yank-entry action.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:44 -08:00
Ben Hale 43682e07eb
Fixes
Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:44 -08:00
Ben Hale b3d523fb36
registry-add-entry
This change adds a registry-add-entry action.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:44 -08:00
Ben Hale f9e5484fd3
More Moving Around
Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:44 -08:00
Ben Hale 42b79c20f2
Reserved namespaces
Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:43 -08:00
Ben Hale 34788522ff
registry-verify-namespace-owner
This change adds a registry-verify-namespace-owner action.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:43 -08:00
Ben Hale 2b6b6eb112
Renaming
This change renames a couple of actions to make room for others with similar
names.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:43 -08:00
Ben Hale 5927873c43
registry-compute-metadata
This change adds a registry-compute-metadata action.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:43 -08:00
Ben Hale c387e186dd
registry/add-entry and registry/yank-entry
This change migrates the registry action to registry/add-entry and
registry/yank-entry actions.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-12-14 13:09:43 -08:00
Ben Hale 0735c5c0be
Registry Action
This change adds a GitHub action that facilities adding and yanking buildpacks
from the registry index.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-10-29 12:57:47 -07:00