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

makefile: remove old docs targets #340

Merged
merged 5 commits into from
Oct 6, 2023
Merged

Conversation

lbajolet-hashicorp
Copy link
Contributor

Since we moved the docs to integrations, we don't need to build the
docs.zip file anymore, and to make it easier for plugin developers we
move the logic for building the new .docs directory to the `generate'
Makefile target.

Since we moved the docs to integrations, we don't need to build the
docs.zip file anymore, and to make it easier for plugin developers we
move the logic for building the new .docs directory to the `generate'
Makefile target.
@lbajolet-hashicorp lbajolet-hashicorp requested a review from a team as a code owner September 21, 2023 19:34
Since the workflow relies on the build-docs target existing in the
Makefile to ensure we don't commit a change without calling it, and
since we removed it in the previous commit to fold it in generate, we
don't need it anymore so we can remove it.

Since the `make generate' call is already required if modifying the
docs, and we check that during validate, this is safe to remove.
Since we have merged `build-docs' with `generate', we don't need to
manually invoke `packer-sdc renderdocs' before the old build-docs.
Since the ci-make-docs target is no longer part of the Makefile, we
cannot rely on it for making the latest docs, and therefore we must
remove that from the goreleaser file too.
The docs.zip file should not be part of the release as it is no longer
generated nor required to build the docs for a plugin.

Keeping this in the releaser config caused the release to fail before
the artifacts were updated, leading to a corrupted release.
@lbajolet-hashicorp lbajolet-hashicorp force-pushed the fix_makefile_integration_docs branch from d11ec35 to 134d114 Compare September 26, 2023 20:06
@JenGoldstrich JenGoldstrich merged commit 39ea3e7 into main Oct 6, 2023
11 checks passed
@JenGoldstrich JenGoldstrich deleted the fix_makefile_integration_docs branch October 6, 2023 21:00
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