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

chore: Align GH-Actions internal Repo with KLM Repo #2104

Merged
merged 14 commits into from
Dec 13, 2024
5 changes: 4 additions & 1 deletion .github/actions/deploy-cert-manager/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ runs:
shell: bash
run: |
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v${{ inputs.cert_manager_version }}/cert-manager.yaml
cmctl check api --wait=2m
for deploy in cert-manager cert-manager-webhook cert-manager-cainjector; do
kubectl rollout status deploy -n cert-manager "$deploy" --timeout=2m || exit 1
done
14 changes: 0 additions & 14 deletions .github/actions/install-cmctl/action.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/actions/install-istioctl/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ runs:
run: |
curl -L https://istio.io/downloadIstio | ISTIO_VERSION=${{ inputs.istio_version }} TARGET_ARCH=x86_64 sh -
chmod +x istio-${{ inputs.istio_version }}/bin/istioctl
mv istio-${{ inputs.istio_version }}/bin/istioctl /usr/local/bin
echo "$(pwd)/istio-${{ inputs.istio_version }}/bin" >> $GITHUB_PATH
7 changes: 6 additions & 1 deletion .github/actions/install-k3d/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@ runs:
- name: Install k3d
shell: bash
run: |
wget -qO - https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=v${{ inputs.k3d_version }} bash
mkdir -p ./k3d/bin
curl -L -s https://github.com/k3d-io/k3d/releases/download/v${{ inputs.k3d_version }}/k3d-linux-amd64 -o k3d-linux
chmod +x k3d-linux
mv k3d-linux ./k3d/bin/k3d
echo "$(pwd)/k3d/bin" >> $GITHUB_PATH
5 changes: 3 additions & 2 deletions .github/actions/install-modulectl/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ runs:
- name: Install modulectl
shell: bash
run: |
mkdir -p ./modulectl/bin
wget https://github.com/kyma-project/modulectl/releases/download/${{ inputs.modulectl_version }}/modulectl-linux -O modulectl-linux
chmod +x modulectl-linux
mv modulectl-linux /usr/local/bin/modulectl
echo "PATH=/usr/local/bin/modulectl" >> $GITHUB_OUTPUT
mv modulectl-linux ./modulectl/bin/modulectl
echo "$(pwd)/modulectl/bin" >> $GITHUB_PATH
1 change: 0 additions & 1 deletion .github/actions/setup-tools/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ runs:
- uses: ./lifecycle-manager/.github/actions/install-modulectl
with:
modulectl_version: ${{ inputs.modulectl_version }}
- uses: ./lifecycle-manager/.github/actions/install-cmctl
- uses: ./lifecycle-manager/.github/actions/install-k3d
with:
k3d_version: ${{ inputs.k3d_version }}
Expand Down
Loading