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

Docs: workflow adjustment, version bumps #10531

Merged
merged 4 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/push-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:

copy-docs:
runs-on: ubuntu-latest
if: ${{ always() }}
needs: receiver
outputs:
minor: ${{ steps.version-variables.outputs.minor }}
steps:
Expand All @@ -35,7 +37,7 @@ jobs:
if [[ "${{ github.event_name }}" == "release" ]]; then
version=${{ github.event.release.target_commitish }}
elif [[ "${{ github.event_name }}" == "repository_dispatch" ]]; then
version=${{ steps.dispatch-receiver.outputs.dispatch_lts }}
version=${{ needs.receiver.outputs.dispatch_lts }}
else
version=${{ inputs.branch }}
fi
Expand Down Expand Up @@ -154,10 +156,10 @@ jobs:
- name: Copy API
run: |
pushd docs || exit 1
cp ../gloo/docs/content/reference/api/github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/direct_responses.md assets/conrefs/pages/gateway/reference/direct_responses_${{ steps.lts-version.outputs.lts }}.md
sed -i '1,2d' assets/conrefs/pages/gateway/reference/direct_responses_${{ steps.lts-version.outputs.lts }}.md
cp ../gloo/docs/content/reference/api/github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/gateway_parameters.md assets/conrefs/pages/gateway/reference/gateway_parameters_${{ steps.lts-version.outputs.lts }}.md
sed -i '1,2d' assets/conrefs/pages/gateway/reference/gateway_parameters_${{ steps.lts-version.outputs.lts }}.md
cp ../gloo/docs/content/reference/api/github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/direct_responses.md assets/conrefs/pages/gateway/reference/direct_responses_${{ steps.version-variables.outputs.minor }}.md
sed -i '1,2d' assets/conrefs/pages/gateway/reference/direct_responses_${{ steps.version-variables.outputs.minor }}.md
cp ../gloo/docs/content/reference/api/github.com/solo-io/gloo/projects/gateway2/api/v1alpha1/gateway_parameters.md assets/conrefs/pages/gateway/reference/gateway_parameters_${{ steps.version-variables.outputs.minor }}.md
sed -i '1,2d' assets/conrefs/pages/gateway/reference/gateway_parameters_${{ steps.version-variables.outputs.minor }}.md
popd || exit 1
- name: Push and create PR
env:
Expand Down
5 changes: 5 additions & 0 deletions changelog/v1.19.0-beta3/docs-fixes-2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
changelog:
- type: NON_USER_FACING
description: >-
Fixes to the push-docs workflow and version conref bumps.
skipCI-kube-tests:true
2 changes: 1 addition & 1 deletion docs/content/static/content/version_gee_n+1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.18.0
1.18.1
2 changes: 1 addition & 1 deletion docs/content/static/content/version_gee_n-1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.17.4
1.17.5
2 changes: 1 addition & 1 deletion docs/content/static/content/version_gee_n-1_oldpatch.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.17.3
1.17.4
2 changes: 1 addition & 1 deletion docs/content/static/content/version_geoss_latest.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.19.0-beta2
1.19.0-beta2
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.18
1.19
2 changes: 1 addition & 1 deletion docs/content/static/content/version_geoss_n-1.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.18.0
1.18.2
2 changes: 1 addition & 1 deletion docs/content/static/content/version_geoss_n-1_minor.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.17
1.18
2 changes: 1 addition & 1 deletion docs/content/static/content/version_geoss_n-2_minor.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.16
1.17
Loading