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

Upgrade provision-cluster to v0.3.0 #97

Merged
merged 1 commit into from
Apr 12, 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
4 changes: 2 additions & 2 deletions .github/actions/provision-cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Example Usage

```yaml
- uses: datawire/infra-actions/provision-cluster@v0.2.9
- uses: datawire/infra-actions/provision-cluster@v0.3.0
with:
distribution: Kubeception
version: 1.27
Expand All @@ -13,7 +13,7 @@
```

```yaml
- uses: datawire/infra-actions/provision-cluster@v0.2.9
- uses: datawire/infra-actions/provision-cluster@v0.3.0
with:
distribution: GKE
version: 1.27
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ jobs:
- name: Kubectl tool installer
uses: Azure/setup-kubectl@v3
- id: provision
uses: datawire/infra-actions/provision-cluster@v0.2.9
uses: datawire/infra-actions/provision-cluster@v0.3.0
with:
distribution: GKE
version: ${{ matrix.clusters.version }}
kubeconfig: ${{ runner.temp}}/kubeconfig.yaml
kubeconfig: ${{ runner.temp }}/kubeconfig.yaml
gkeCredentials: ${{ env.GKE_CREDENTIALS }}
useAuthProvider: "false"
- name: "Get kubeconfig and cluster information"
run: |
set -e
Expand All @@ -48,11 +47,11 @@ jobs:
- name: Kubectl tool installer
uses: Azure/setup-kubectl@v3
- id: provision
uses: datawire/infra-actions/provision-cluster@v0.2.9
uses: datawire/infra-actions/provision-cluster@v0.3.0
with:
distribution: Kubeception
version: ${{ matrix.clusters.version }}
kubeconfig: ${{ runner.temp}}/kubeconfig.yaml
kubeconfig: ${{ runner.temp }}/kubeconfig.yaml
kubeceptionToken: ${{ env.KUBECEPTION_TOKEN }}
- name: "Get kubeconfig and cluster information"
run: |
Expand Down
5 changes: 2 additions & 3 deletions docs/GITHUB_ACTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,13 @@ jobs:
steps:
# The provision-cluster action will automatically register a cleanup hook to remove the
# cluster it provisions when the job is done.
- uses: datawire/infra-actions/provision-cluster@v0.2.9
- uses: datawire/infra-actions/provision-cluster@v0.3.0
with:
distribution: GKE
version: ${{ matrix.clusters.version }}
# Tells provision-cluster where to write the kubeconfig file.
kubeconfig: kubeconfig.yaml
gkeCredentials: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
useAuthProvider: "false"
- run: make tests

my_matrix_job_kubeception:
Expand All @@ -45,7 +44,7 @@ jobs:
steps:
# The provision-cluster action will automatically register a cleanup hook to remove the
# cluster it provisions when the job is done.
- uses: datawire/infra-actions/provision-cluster@v0.2.9
- uses: datawire/infra-actions/provision-cluster@v0.3.0
with:
distribution: Kubeception
version: ${{ matrix.clusters.version }}
Expand Down
Loading