Skip to content

Commit

Permalink
remove mobi version as we anyway dont use this anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
splattner committed Dec 12, 2024
1 parent 3755fda commit 9c2fe81
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 104 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,6 @@ jobs:
push: true
tags: |
quay.io/acend/kubernetes-basics-training:pr-${{ github.event.pull_request.number }}
-
name: Build Mobi Version
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
build-args: |
TRAINING_HUGO_ENV=mobi
push: true
tags: |
quay.io/acend/kubernetes-basics-training:pr-${{ github.event.pull_request.number }}-mobi
-
name: Build OpenShift Version
uses: docker/build-push-action@v6
Expand Down Expand Up @@ -148,7 +137,6 @@ jobs:
TRAINING_NAMESPACE: 'acend-kubernetes-basics-training-test'
run: |
kubectl rollout restart deployment/${TRAINING_HELM_RELEASE}-${TRAINING_HELM_NAME}-acend --kubeconfig $HOME/.kube/config --namespace $TRAINING_NAMESPACE
kubectl rollout restart deployment/${TRAINING_HELM_RELEASE}-${TRAINING_HELM_NAME}-mobi --kubeconfig $HOME/.kube/config --namespace $TRAINING_NAMESPACE
kubectl rollout restart deployment/${TRAINING_HELM_RELEASE}-${TRAINING_HELM_NAME}-openshift --kubeconfig $HOME/.kube/config --namespace $TRAINING_NAMESPACE
kubectl rollout restart deployment/${TRAINING_HELM_RELEASE}-${TRAINING_HELM_NAME}-baloise --kubeconfig $HOME/.kube/config --namespace $TRAINING_NAMESPACE
kubectl rollout restart deployment/${TRAINING_HELM_RELEASE}-${TRAINING_HELM_NAME}-sbb --kubeconfig $HOME/.kube/config --namespace $TRAINING_NAMESPACE
Expand All @@ -162,7 +150,6 @@ jobs:
message: |
PR environments:
* [acend](https://kubernetes-basics-pr-${{ github.event.pull_request.number }}.training.acend.ch)
* [Mobi](https://kubernetes-basics-mobi-pr-${{ github.event.pull_request.number }}.training.puzzle.ch)
* [OpenShift](https://openshift-basics-pr-${{ github.event.pull_request.number }}.training.acend.ch)
* [OpenShift Baloise](https://openshift-basics-baloise-pr-${{ github.event.pull_request.number }}.training.acend.ch)
* [OpenShift SBB](https://openshift-basics-sbb-pr-${{ github.event.pull_request.number }}.training.acend.ch)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
QUAYIO_API_TOKEN: '${{ secrets.QUAYIO_API_TOKEN }}'
REPOSITORY: '${{ github.repository }}'
run: |
curl -X DELETE -H "Authorization: Bearer ${QUAYIO_API_TOKEN}" https://quay.io/api/v1/repository/${REPOSITORY}/tag/pr-${PR_NUMBER}{,-mobi,-openshift,-sbb,-bfh}
curl -X DELETE -H "Authorization: Bearer ${QUAYIO_API_TOKEN}" https://quay.io/api/v1/repository/${REPOSITORY}/tag/pr-${PR_NUMBER}{-openshift,-sbb,-bfh}
-
name: Delete tags in quay.io appuio organization
id: delete_tags_appuio
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/push-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,6 @@ jobs:
push: true
tags: |
quay.io/acend/kubernetes-basics-training:latest
-
name: Build Mobi Version
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
build-args: |
TRAINING_HUGO_ENV=mobi
push: true
tags: |
quay.io/acend/kubernetes-basics-training:latest-mobi
-
name: Build OpenShift Version
uses: docker/build-push-action@v6
Expand Down Expand Up @@ -150,7 +139,6 @@ jobs:
TRAINING_NAMESPACE: 'acend-kubernetes-basics-training-prod'
run: |
kubectl rollout restart deployment/${TRAINING_HELM_RELEASE}-${TRAINING_HELM_NAME}-acend --kubeconfig $HOME/.kube/config --namespace $TRAINING_NAMESPACE
kubectl rollout restart deployment/${TRAINING_HELM_RELEASE}-${TRAINING_HELM_NAME}-mobi --kubeconfig $HOME/.kube/config --namespace $TRAINING_NAMESPACE
kubectl rollout restart deployment/${TRAINING_HELM_RELEASE}-${TRAINING_HELM_NAME}-openshift --kubeconfig $HOME/.kube/config --namespace $TRAINING_NAMESPACE
kubectl rollout restart deployment/${TRAINING_HELM_RELEASE}-${TRAINING_HELM_NAME}-baloise --kubeconfig $HOME/.kube/config --namespace $TRAINING_NAMESPACE
kubectl rollout restart deployment/${TRAINING_HELM_RELEASE}-${TRAINING_HELM_NAME}-sbb --kubeconfig $HOME/.kube/config --namespace $TRAINING_NAMESPACE
Expand Down
56 changes: 0 additions & 56 deletions config/mobi/config.toml

This file was deleted.

9 changes: 0 additions & 9 deletions content/en/materials/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ menu:
{{% onlyWhenNot bfh %}}

{{% onlyWhenNot openshift %}}
{{% onlyWhenNot mobi %}}
{{% blocks/feature icon="fa-magic" url="https://acend.ch/documents/acend_kubectl-cheat-sheet_v1.pdf" title="kubectl Cheat Sheet" %}}
{{% /blocks/feature %}}

Expand All @@ -20,14 +19,6 @@ menu:

{{% blocks/feature icon="fa-chalkboard-teacher" url="https://drive.google.com/uc?export=download&id=17sqbsjMPzAnYAKzEhL5waxPg8_N2xsZa" title="Kubernetes Architecture" %}}
{{% /blocks/feature %}}
{{% /onlyWhenNot %}}
{{% onlyWhen mobi %}}
{{% blocks/feature icon="fa-chalkboard-teacher" url="https://drive.google.com/uc?export=download&id=1qeb_Nmyj8016sRJaL0CGfuAi2LIwoTF2" title="Kubernetes Basics" %}}
{{% /blocks/feature %}}

{{% blocks/feature icon="fa-chalkboard-teacher" url="https://drive.google.com/uc?export=download&id=1M4txDY3UhzqWr4HLn5UXFibv2umbfx3d" title="Kubernetes Architecture" %}}
{{% /blocks/feature %}}
{{% /onlyWhen %}}
{{% blocks/feature icon="fa-chalkboard-teacher" url="https://www.cncf.io/wp-content/uploads/2018/03/CNCF-Presentation-Template-K8s-Deployment.pdf" title="Kubernetes Deployment Strategies" %}}
{{% /blocks/feature %}}

Expand Down
2 changes: 1 addition & 1 deletion content/en/pdf/header.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ weight: 10

<!-- markdownlint-disable MD033 -->
<div class="pdf-header">
<p>{{< site_title >}} - {{% onlyWhen mobi %}}Puzzle ITC GmbH{{% /onlyWhen %}}{{% onlyWhenNot mobi %}}acend gmbh{{% /onlyWhenNot %}}</p>
<p>{{< site_title >}} - acend gmbh</p>
</div>
<!-- markdownlint-enable MD033 -->
12 changes: 0 additions & 12 deletions helm-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,6 @@ acendTraining:
secretOverride: acend-wildcard
appname: kubernetes-basics
domain: training.acend.ch
-
name: mobi
replicaCount: 2
image:
repository: quay.io/acend/kubernetes-basics-training
pullPolicy: Always
tag: ""
tagsuffix: "-mobi"
ingress:
secretOverride: acend-wildcard
appname: kubernetes-basics-mobi
domain: training.puzzle.ch
-
name: openshift
replicaCount: 2
Expand Down

0 comments on commit 9c2fe81

Please sign in to comment.