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

Auto-update spec version #2674

Merged

Conversation

chalin
Copy link
Contributor

@chalin chalin commented May 8, 2023

  • Contributes to Add GH action to pull in latest release of the OTel specification #2387
  • Adds config so that the spec version is checked in the same cron job as the other versions, and a PR is generated as necessary.
  • Updates the spec submodule to match the latest version when there is an update.
  • There are no changes to the generated site files despite the update to the spec submodule.

/cc @open-telemetry/specs-approvers

@chalin chalin added the CI/infra CI & infrastructure label May 8, 2023
@chalin chalin requested a review from a team May 8, 2023 15:13
@chalin
Copy link
Contributor Author

chalin commented May 8, 2023

/cc @trask

@chalin chalin merged commit 6800087 into open-telemetry:main May 8, 2023
@chalin chalin deleted the chalin-im-spec-vers-auto-update-2023-05-08 branch May 8, 2023 15:47
@chalin
Copy link
Contributor Author

chalin commented May 8, 2023

Manually successfully triggered the updated action, https://github.com/open-telemetry/opentelemetry.io/actions/runs/4917014280/jobs/8781532074:

...
REPO:            opentelemetry-specification
LATEST VERSION:  1.20.0
SEARCHING for:   '^ *spec:' in scripts/content-modules/adjust-pages.pl
CURRENT VERSION:   spec: 1.20.0
+ sed -i.bak -e 's/\(^ *spec:\) .*/\1 1.20.0/' scripts/content-modules/adjust-pages.pl
Already at the latest version. Exiting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/infra CI & infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants