Skip to content

Conversation

@HamzaShili65
Copy link

This PR automates the retrieval and conversion of the Kubernetes Swagger v2 spec to OpenAPI v3 within the VSO build workflow, only executing these steps after successful integration tests. It conditionally publishes the artifacts based on a new publish-swagger input, and manually installs kubectl to comply with organization restrictions.

current issue:
I need to setup kubectl, but I can't do that currently cause the azure/setup-kubectl action isn't allowed. If we can't allow it, we can still install kubectl manually

- name: Install kubectl
  shell: bash
  run: |
    curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
    chmod +x kubectl
    sudo mv kubectl /usr/local/bin/
    kubectl version --client

@HamzaShili65 HamzaShili65 requested a review from benashz November 7, 2024 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant