Skip to content

scripts: update release notes docker command#50113

Closed
rmloveland wants to merge 1 commit intocockroachdb:masterfrom
rmloveland:20200611-update-release-note-script-docker-command
Closed

scripts: update release notes docker command#50113
rmloveland wants to merge 1 commit intocockroachdb:masterfrom
rmloveland:20200611-update-release-note-script-docker-command

Conversation

@rmloveland
Copy link
Copy Markdown
Collaborator

Previously, the release-notes.py script had logic to generate a
docker pull command for release notes based on the current version of
CockroachDB.

However, this is not necessary because the docs website build process
already has templating logic that builds the appropriate docker pull
command by pulling the correct values from the file
cockroachdb/docs/_config_base.yml.

Therefore, this patch removes the script's logic that builds the docker pull command entirely, and replaces it with the templating syntax used
by the docs website (which is just a string).

Release note: None

Previously, the `release-notes.py` script had logic to generate a
`docker pull` command for release notes based on the current version of
CockroachDB.

However, this is not necessary because the docs website build process
already has templating logic that builds the appropriate `docker pull`
command by pulling the correct values from the file
`cockroachdb/docs/_config_base.yml`.

Therefore, this patch removes the script's logic that builds the `docker
pull` command entirely, and replaces it with the templating syntax used
by the docs website (which is just a string).

Release note: None
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@rmloveland
Copy link
Copy Markdown
Collaborator Author

Closing since it turns out this doesn't actually work as I claimed above. The release notes page does not have access to the YAML information since it's in a different subdirectory. :-(

@rmloveland rmloveland closed this Jun 17, 2020
@rmloveland rmloveland deleted the 20200611-update-release-note-script-docker-command branch June 17, 2020 14:58
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