Skip to content

Commit

Permalink
Remove os-uni devcontainer
Browse files Browse the repository at this point in the history
Done with the course, so no need to keep it around.
  • Loading branch information
Molter73 committed Jun 26, 2024
1 parent 271b139 commit 11256e7
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 94 deletions.
5 changes: 0 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,3 @@ updates:
schedule:
interval: "weekly"
open-pull-requests-limit: 1
- package-ecosystem: docker # See documentation for possible values
directory: "/os-uni" # Location of package manifests
schedule:
interval: "weekly"
open-pull-requests-limit: 1
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
image:
- collector
- falco-libs
- os-uni
steps:
- uses: actions/checkout@v3

Expand Down
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.PHONY: all
all: collector falco os-uni clean deploy
all: collector falco clean deploy

.PHONY: deploy
deploy:
Expand All @@ -16,7 +16,3 @@ collector:
.PHONY: falco
falco:
make -C falco-libs build

.PHONY: os-uni
os-uni:
make -C os-uni build
12 changes: 0 additions & 12 deletions lua/init.lua
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
local collector_repo = os.getenv('GOPATH') .. '/src/github.com/stackrox/collector'
local falco_repo = os.getenv('GOPATH') .. '/src/github.com/falcosecurity/libs'
local os_uni_repo = os.getenv('GOPATH') .. '/src/github.com/molter73/os-uni'
local movies_repo = os.getenv('GOPATH') .. '/src/github.com/molter73/movies'

local collector = require('collector')
local falco = require('falco')
local os_uni = require('os-uni')

local collector_claim = collector.volume_claim()
local falco_claim = falco.volume_claim()
Expand All @@ -20,7 +18,6 @@ local volumes = {
{ name = 'docker-sock', hostPath = { path = '/var/run/docker.sock', } },
{ name = 'collector-repo', hostPath = { path = collector_repo, } },
{ name = 'falco-repo', hostPath = { path = falco_repo, } },
{ name = 'os-uni-repo', hostPath = { path = os_uni_repo, } },
{ name = 'movies-repo', hostPath = { path = movies_repo, } },
{ name = 'collector-ccache', persistentVolumeClaim = { claimName = collector_claim.metadata.name } },
{ name = 'falco-ccache', persistentVolumeClaim = { claimName = falco_claim.metadata.name, } },
Expand Down Expand Up @@ -54,14 +51,6 @@ local falco_opts = {
}
}

local os_uni_opts = {
repo_path = os_uni_repo,
volumes = {
{ mountPath = os_uni_repo, name = 'os-uni-repo', },
{ mountPath = movies_repo, name = 'movies-repo', },
},
}

local metadata = {
name = 'devcontainers',
namespace = 'devcontainers',
Expand All @@ -74,7 +63,6 @@ local spec = {
containers = {
collector.setup(collector_opts),
falco.setup(falco_opts),
os_uni.setup(os_uni_opts),
},
volumes = volumes,
}
Expand Down
24 changes: 0 additions & 24 deletions lua/os-uni.lua

This file was deleted.

21 changes: 0 additions & 21 deletions os-uni/Containerfile

This file was deleted.

13 changes: 0 additions & 13 deletions os-uni/Makefile

This file was deleted.

13 changes: 0 additions & 13 deletions os-uni/clangd.yaml

This file was deleted.

0 comments on commit 11256e7

Please # to comment.