GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add CLI version field and prior release fields to `defaults` file by angelapwen · Pull Request #1463 · github/codeql-action

Conversation

@angelapwen

@angelapwen angelapwen commented Jan 6, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

In order to have more fine-grained control the CLI version present in the toolcache, we will be downloading the most recent 2 versions of the CLI bundle to the toolcache and selecting a version (based on feature flag rollout of the most recent version) for the Action.

The runner image script selects the bundle from the defaults file to determine which version of CodeQL to download. This change adds the bundle release prior to the most recent release under the field priorBundleVersion so that it is able to download both versions. We keep the bundleVersion field named the same to maintain backwards compatibility so that this change can be merged independently of the other changes in the Action.

The change also adds the CLI version for both the most recent release, and the prior release, so that the versions downloaded to the toolcache can be named appropriately (currently they are all prefixed with 0.0.0 rather than the actual x.y.z version of the CodeQL bundle.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
angelapwen added 2 commits January 5, 2023 16:36
@angelapwen
Add CLI version field to defaults file
8c35d5b
@angelapwen
Add fields for prior CLI version
8653c95
@angelapwen
angelapwen requested a review from a team as a code owner January 6, 2023 00:50
henrymercer
henrymercer approved these changes Jan 6, 2023
View reviewed changes

@henrymercer henrymercer left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Worth noting that the CLI version of each bundle is derivable by downloading the bundle release and running codeql version. However I think it make sense to include it here, as it will simplify the runner image creation scripts and other scripts processing this file.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

angelapwen reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@angelapwen
angelapwen merged commit b4187d6 into github:main Jan 6, 2023
@angelapwen
angelapwen deleted the add-version-default branch January 6, 2023 16:24
@angelapwen angelapwen mentioned this pull request Jan 6, 2023
Update bundle to 2.12.0 #1466
Merged
3 tasks done
This was referenced Jan 12, 2023
Merge main into releases/v2 #1476
Merged
Merge releases/v2 into releases/v1 #1478
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@henrymercer henrymercer henrymercer approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@angelapwen @henrymercer
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.