Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace gogeninstall input with explicit depsinstall Makefile recipe call #71

Closed
atc0005 opened this issue Feb 23, 2023 · 0 comments · Fixed by #77
Closed

Replace gogeninstall input with explicit depsinstall Makefile recipe call #71

atc0005 opened this issue Feb 23, 2023 · 0 comments · Fixed by #77
Assignees

Comments

@atc0005
Copy link
Owner

atc0005 commented Feb 23, 2023

The original idea was to conditionally toggle:

  • a full git clone vs a shallow clone
  • Makefile gogeninstall recipe use

based on what the calling workflow specified via an optional gogeninstall input.

Recent projects refactoring work has deprecated that Makefile recipe. The depsinstall Makefile is replacing it, but hasn't been implemented broadly yet. Until it is we should allow calls for that recipe to fail without failing the whole job.

@atc0005 atc0005 self-assigned this Feb 23, 2023
atc0005 added a commit that referenced this issue Feb 23, 2023
- remove conditional shallow/full git clone step, force full
  history clone by default to allow build tooling access to
  all tags
- flag use of input as deprecated, fail workflow step if used
- add (optional) depsinstall input, Makefile recipe call of
  the same name
  - NOTE: this will likely become set to true by default
    after enough projects have been updated to provide this
    Makefile recipe

refs GH-71
atc0005 added a commit to atc0005/check-cert that referenced this issue Feb 23, 2023
The distinction between "go generate" and general build
dependencies isn't important enough to maintain separate
Makefile recipes.

refs atc0005/shared-project-resources#71
atc0005 added a commit to atc0005/check-cert that referenced this issue Feb 23, 2023
The distinction between "go generate" and general build
dependencies isn't important enough to maintain separate
Makefile recipes.

refs atc0005/shared-project-resources#71
atc0005 added a commit to atc0005/check-mail that referenced this issue Feb 23, 2023
The distinction between "go generate" and general build
dependencies isn't important enough to maintain separate
Makefile recipes.

refs atc0005/shared-project-resources#71
@atc0005 atc0005 changed the title Replace gogeninstall input with depsinstall input Replace gogeninstall input with explicit depsinstall Makefile recipe call Feb 23, 2023
atc0005 added a commit that referenced this issue Feb 23, 2023
- remove the depsinstall input
- run the depsinstall Makefile recipe explicitly, but
  mark it as OK to fail without failing the whole job

This works around limited implementation of the new Makefile
recipe across dependent projects.

refs GH-71
atc0005 added a commit that referenced this issue Feb 23, 2023
I meant to remove this in the last commit.

refs GH-71
atc0005 added a commit that referenced this issue Feb 24, 2023
Confirmed that no dependent projects are using it, so
removing it while I am still thinking about it.

refs GH-71
atc0005 added a commit that referenced this issue Mar 1, 2023
This was missed with recent cleanup work.

refs GH-71
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant