Skip to content

Packagespec v0.1.2/master #9995

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

Merged
merged 4 commits into from
Sep 28, 2020
Merged

Packagespec v0.1.2/master #9995

merged 4 commits into from
Sep 28, 2020

Conversation

samsalisbury
Copy link
Contributor

@samsalisbury samsalisbury commented Sep 21, 2020

Concurrent with merging this PR, all internal Vault engineers should update to packagespec v0.1.2 (download binary for Mac or Linux there).

Updates to packagespec v0.1.2. See packagespec changelog (internal only) for details. Notable changes visible in this PR:

  • Packagespec-specific code from the main Makefile has been moved out to its own packagespec.mk which counts as generated code. This file is managed by packagespec.
  • The Dockerfiles in packages-oss.lock/layers are gone. These files are now written on-the-fly as needed, to a temp directory. This means a lot of deletions in this PR, but will result in much smaller diffs in future.
  • No changes to the spec file packages-oss.yml
  • The file .circleci/config/@build-release.yml.tpl is gone. This template is now owned by packagespec.
  • One additional/unrelated tidy-up in Makefile: the check for and removal of old husky git hooks is removed in this PR, it has been in place long enough that we can assume that no one still has them installed.

Reviewers: The main file to review is the Makefile (most of which is deletions) and packagespec.mk which contains the migrated code. In the CircleCI config, you will notice that the cache prefix cache002 has been rolled back to cache001. This is safe, because all layerIDs and packagespecID checksums are also updated, invalidating all older caches. That cache prefix is now owned by code in packagespec rather than this repository.

Copy link
Collaborator

@sarahethompson sarahethompson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@samsalisbury samsalisbury marked this pull request as ready for review September 24, 2020 08:40
@samsalisbury samsalisbury force-pushed the packagespec-v0.1.2/master branch from 0403753 to a03f213 Compare September 28, 2020 10:31
@samsalisbury samsalisbury force-pushed the packagespec-v0.1.2/master branch from a03f213 to fa1c3e4 Compare September 28, 2020 12:01
@samsalisbury samsalisbury merged commit 9ef96e4 into master Sep 28, 2020
@samsalisbury samsalisbury deleted the packagespec-v0.1.2/master branch September 28, 2020 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants