E62B Remove vagrant by Weltraumschaf · Pull Request #2894 · secureCodeBox/secureCodeBox · GitHub
[go: up one dir, main page]

Skip to content
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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ megalinter-reports/
**/__pycache__
**/.pytest_cache
**/.asciinema
.vagrant
**/*.log
**/*.monopic
.s3_credentials
Expand Down
58 changes: 0 additions & 58 deletions Vagrantfile

This file was deleted.

87 changes: 0 additions & 87 deletions bin/install-minikube.sh

This file was deleted.

1 change: 0 additions & 1 deletion bin/npm-ci-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ PACKAGE_JSON_LIST=$(find "$PROJECT_DIR" \( \
-name .github -o \
-name .idea -o \
-name .reuse -o \
-name .vagrant -o \
-name .vscode -o \
-name bin -o \
-name docs -o \
Expand Down
32 changes: 32 additions & 0 deletions documentation/blog/2025-02-07-we-remove-vagrant-all-setup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
# SPDX-FileCopyrightText: the secureCodeBox authors
#
# SPDX-License-Identifier: Apache-2.0

title: We Remove Vagrant Setup
author: Sven Strittmatter
author_title: Core Developer
author_url: https://github.com/Weltraumschaf
author_image_url: https://www.gravatar.com/avatar/3fe213284598b5cb69009665902c77a1
tags:
- eol
- macos
description: We remove the Vagrant All-in-One Setup completely.
---

**TL;DR** We remove the Vagrant All-in-One Setup completely.

<!--truncate-->

Since the introduction of Apple Silicon CPUs we couldn't run [Vagrant][vagrant] with [Virtualbox][virtualbox] anymore because Virtualbox is not ported on ARM at the moment. This may change in the future. I've also tried to get Vagrant up and running with other hypervisors (e.g. VMWare, QEMU), but didn't worked out well 😫

Since the setup of _secureCodeBox_ with [Minikube][minikube], [Kind][kind] or [Colima][colima] is quite easy we drop Vagrant completely. With Colima, you can also run x86 images easily on arm hist as described in [Run x86 Images With Kubernetes on Apple Silicon][colima-setup].

To be honest, using VMs is so 20th century like 😬

[vagrant]: https://www.vagrantup.com/
[virtualbox]: https://www.virtualbox.org/
[colima]: https://github.com/abiosoft/colima
[colima-setup]: /blog/2024/10/25/run-x86-images-with-kubernetes-on-apple-silicon
[minikube]: https://minikube.sigs.k8s.io/docs/start/?arch=%2Fmacos%2Fx86-64%2Fstable%2Fbinary+download
[kind]: https://kind.sigs.k8s.io/
20 changes: 1 addition & 19 deletions documentation/docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sidebar_position: 1
path: "docs/getting-started/installation"
---

The secureCodeBox is running on [Kubernetes](https://kubernetes.io/). To install it you need [Helm](https://helm.sh), a package manager for Kubernetes. For your first steps Kubernetes from [Docker Desktop](https://www.docker.com/products/docker-desktop), [Minikube](https://minikube.sigs.k8s.io/docs/) or [KIND](https://kind.sigs.k8s.io/) is sufficient. We also provide a [Vagrant](https://www.vagrantup.com/) based all-in-one installation (see [below](#vagrant-all-in-one-installation)).
The secureCodeBox is running on [Kubernetes](https://kubernetes.io/). To install it you need [Helm](https://helm.sh), a package manager for Kubernetes. For your first steps Kubernetes from [Docker Desktop](https://www.docker.com/products/docker-desktop), [Minikube](https://minikube.sigs.k8s.io/docs/) or [KIND](https://kind.sigs.k8s.io/) is sufficient.

First of all you need to install the secureCodeBox Operator which is responsible for starting all security scans.

Expand Down Expand Up @@ -153,24 +153,6 @@ helm upgrade --install swagger-petstore oci://ghcr.io/securecodebox/helm/swagger
These charts will be installed in the `default` namespace, but you can choose the namespace of your choice by adding `--namespace YOURNAMESPACE` to each helm command.
:::

## Vagrant All-in-one Installation

We provide a [Vagrant](https://www.vagrantup.com/) setup with everything installed (Kubernetes cluster, operator, scanners, hooks, demo applications, etc.). You only need [Vagrant installed](https://www.vagrantup.com/docs/installation) and our main repository to play around with secureCodeBox:

```bash
git clone https://github.com/secureCodeBox/secureCodeBox.git
cd secureCodeBox
vagrant up
```

After this setup has finished just ssh into the vagrant box:

```bash
vagrant ssh
```

Now you can [start with your first scan](/docs/getting-started/first-scans).

## Troubleshooting

### MinIO Startup Problems
Expand Down
Loading
0