Skip to content

Commit

Permalink
remove custom action
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig O'Donnell committed Nov 8, 2023
1 parent 5e52ae3 commit 47d6c97
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 60 deletions.
56 changes: 0 additions & 56 deletions .github/actions/kurl-create-installer/action.yml

This file was deleted.

49 changes: 45 additions & 4 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -617,14 +617,55 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: ./.github/actions/kurl-create-installer
- name: create installer
id: create-installer
with:
addon_version: ${{ needs.generate-kurl-addon.outputs.addon_version }}
addon_package_url: ${{ needs.generate-kurl-addon.outputs.addon_package_url }}
run: |
set +e
echo "apiVersion: cluster.kurl.sh/v1beta1
kind: Installer
metadata:
name: kots-ci-installer
spec:
kubernetes:
version: 1.28.x
flannel:
version: latest
minio:
version: latest
openebs:
version: latest
isLocalPVEnabled: true
localPVStorageClassName: default
isCstorEnabled: false
contour:
version: latest
containerd:
version: latest
registry:
version: latest
kotsadm:
version: ${{ needs.generate-kurl-addon.outputs.addon_version }}
s3Override: ${{ needs.generate-kurl-addon.outputs.addon_package_url }}
ekco:
version: latest
enableInternalLoadBalancer: true" > installer.yaml
installer_url=$(curl -s -X POST https://k8s.kurl.sh/installer -H 'Content-Type: text/yaml' --data-binary @installer.yaml)
installer_id=${installer_url#"https://kurl.sh/"}
echo "installer_id=$installer_id" >> $GITHUB_ENV
outputs:
installer_id: ${{ steps.create-installer.outputs.installer_id }}


echo-kurl-installer-id:
runs-on: ubuntu-20.04
needs: [ can-run-ci, enable-tests, create-kurl-installer ]
steps:
- name: echo installer id
run: |
echo "installer_id=${{ needs.create-kurl-installer.outputs.installer_id }}"
cmx-versions:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 47d6c97

Please sign in to comment.