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

Remove Feature Expiry Version Shortcodes #3210

Merged
merged 7 commits into from
Jun 16, 2023

Conversation

Kalaiselvi84
Copy link
Contributor

What type of PR is this?

Uncomment only one /kind <> line, press enter to put that in a new line, and remove leading whitespace from that line:

/kind breaking
/kind bug
/kind cleanup
/kind documentation
/kind feature
/kind hotfix

/kind feature

What this PR does / Why we need it:

Which issue(s) this PR fixes:

Closes #

Special notes for your reviewer:

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 313f3086-7b31-4a78-9a02-9ba364b994cf

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: dcdcfe3c-5050-4d6f-b991-19e9ca1409b1

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/3210/head:pr_3210 && git checkout pr_3210
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.33.0-e5be901-amd64

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 779f7604-6007-4d5b-be1b-6c2d96b5a5e9

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

This is definitely looking good! Going to remove so much hand editing!

And I think once #3215 lands, we could probably also get rid of that "extra configuration" table at the bottom that makes this trickier (in fact, I'll update that PR now so that that is now gone).

Also, as per #3206 - this should be a make target as well please.

line := scanner.Text()

// Check if the line contains the starting of the expiryVersion shortcode with the specified version
if strings.Contains(line, "{{% feature expiryVersion=\""+version+"\" %}}") {
Copy link
Member

Choose a reason for hiding this comment

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

Just so you know, you can have both {{% .... %}} as shortcode, but also {{< ... >}} shortcodes as well, so we should support both.

https://gohugo.io/content-management/shortcodes/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have added both shortcodes in the script and created a feature-shortcode-update target in website.mk

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: fe074d4b-725e-488a-a3e3-5e0fe911643a

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/3210/head:pr_3210 && git checkout pr_3210
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.33.0-c7f6149-amd64

@Kalaiselvi84 Kalaiselvi84 marked this pull request as ready for review June 16, 2023 19:42
)

func main() {
dirPath := "site/content/en/docs"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Based on my examination of the previous releases, it appears that the shortcodes are only present in the site/content/en/docs directory. Kindly inform me if there are any other directories that require the inclusion of these shortcodes.

Copy link
Member

Choose a reason for hiding this comment

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

Nope, that's it - you got it!

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 5ba77b92-a181-436f-9fc3-f3d8aeaf636f

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/3210/head:pr_3210 && git checkout pr_3210
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.33.0-5f752f6-amd64

@google-oss-prow google-oss-prow bot added the lgtm label Jun 16, 2023
@markmandel markmandel enabled auto-merge (squash) June 16, 2023 22:20
@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Kalaiselvi84, markmandel

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot added approved and removed lgtm labels Jun 16, 2023
@google-oss-prow
Copy link

New changes are detected. LGTM label has been removed.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: b3b24257-fd7c-4fe4-974e-d2fa82c9e84b

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/3210/head:pr_3210 && git checkout pr_3210
  • helm install agones ./install/helm/agones --namespace agones-system --set agones.image.registry=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.33.0-dev-23125c0-amd64

@markmandel markmandel merged commit a0903b4 into googleforgames:main Jun 16, 2023
@Kalaiselvi84 Kalaiselvi84 added the kind/feature New features for Agones label Jun 25, 2023
@Kalaiselvi84 Kalaiselvi84 deleted the rem-feature-exp-version branch March 15, 2024 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved kind/feature New features for Agones size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants