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

Fix t3c version in build #6405

Merged
merged 1 commit into from
Dec 13, 2021
Merged

Fix t3c version in build #6405

merged 1 commit into from
Dec 13, 2021

Conversation

rob05c
Copy link
Member

@rob05c rob05c commented Dec 5, 2021

Fixes the t3c build to properly add the ATC version, changeset,
and monotonic version to the t3c version commands,
as well as to t3c-generate generated files.

Also adds the version flag to apps that were missing it.

I see this as a pretty big win for operations. Every time I install a new t3c version, the first thing I do is run it, and look at how the config files changed. Because production runs are on a schedule, it's difficult or impossible to figure out which exact git commit was the first new version run. This makes it easy to see in the file headers.

Includes changelog
Includes docs
Includes tests

Labelling improvement rather than bug, because even though some code existed the feature has never worked.

Which Traffic Control components are affected by this PR?

  • Traffic Control Cache Config (T3C, formerly ORT)

What is the best way to verify this PR?

Install trafficcontrol-cache-config, run t3c-* --version, verify version matches ATC version and includes git changeset.
Run t3c, verify config file comment headers include ATC/RPM version and changeset.

If this is a bugfix, which Traffic Control versions contained the bug?

Not a bug.

PR submission checklist

@rob05c rob05c added cache-config Cache config generation improvement The functionality exists but it could be improved in some way. labels Dec 5, 2021
Fixes the t3c build to properly add the ATC version, changeset,
and monotonic version to the t3c version commands,
as well as to t3c-generate generated files.

Also adds the version flag to apps that were missing it.
Copy link
Member

@ezelkow1 ezelkow1 left a comment

Choose a reason for hiding this comment

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

lgtm

@dneuman64 dneuman64 merged commit e70ac05 into apache:master Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cache-config Cache config generation improvement The functionality exists but it could be improved in some way.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants