Skip to content

Commit

Permalink
Remove Helm chart code (#1938)
Browse files Browse the repository at this point in the history
* rm Helm chart starter directory

* rm Helm release playbook

* rm Helm install from docs

* rm Helm chart workflows

* rm Helm starter from yamllint

* rm Helm targets from Makefile

* Revert "rm Helm targets from Makefile"

This reverts commit da38360.

* remove helm from Makefile

* rm kubectl-slice and yp from Makefile
  • Loading branch information
oraNod authored Aug 8, 2024
1 parent 8224b0b commit f0a518b
Show file tree
Hide file tree
Showing 28 changed files with 0 additions and 1,374 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,49 +50,6 @@ jobs:
with:
name: awx_operator_molecule_test
path: ${{ env.DEBUG_OUTPUT_DIR }}
helm:
runs-on: ubuntu-latest
name: helm
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Create k8s Kind Cluster
uses: helm/kind-action@v1.10.0

- name: Build operator image and load into kind
run: |
IMG=awx-operator-ci make docker-build
kind load docker-image --name chart-testing awx-operator-ci
- name: Patch pull policy for tests
run: |
kustomize edit add patch --path ../testing/pull_policy/Never.yaml
working-directory: config/default

- name: Build and lint helm chart
run: |
IMG=awx-operator-ci make helm-chart
helm lint ./charts/awx-operator
- name: Install kubeval
run: |
mkdir tmp && cd tmp
wget https://github.com/instrumenta/kubeval/releases/latest/download/kubeval-linux-amd64.tar.gz
tar xf kubeval-linux-amd64.tar.gz
sudo cp kubeval /usr/local/bin
working-directory: ./charts

- name: Run kubeval
run: |
helm template -n awx awx-operator > tmp/test.yaml
kubeval --strict --force-color --ignore-missing-schemas tmp/test.yaml
working-directory: ./charts

- name: Install helm chart
run: |
helm install --wait my-awx-operator --namespace awx --create-namespace ./charts/awx-operator
no-log:
runs-on: ubuntu-latest
steps:
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/promote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,3 @@ jobs:
docker buildx imagetools create \
ghcr.io/${{ github.repository }}:${{ env.TAG_NAME }} \
--tag ${{ env.QUAY_REGISTRY }}/awx-operator:latest
- name: Release Helm chart
run: |
ansible-playbook ansible/helm-release.yml -v \
-e operator_image=${{ env.QUAY_REGISTRY }}/awx-operator \
-e chart_owner=${{ github.repository_owner }} \
-e tag=${{ env.TAG_NAME }} \
-e gh_token=${{ secrets.GITHUB_TOKEN }} \
-e gh_user=${{ github.actor }} \
-e repo_type=https
26 changes: 0 additions & 26 deletions .github/workflows/publish-helm.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .helm/starter/.helmignore

This file was deleted.

7 changes: 0 additions & 7 deletions .helm/starter/Chart.yaml

This file was deleted.

Loading

0 comments on commit f0a518b

Please # to comment.