{"id":16918200,"url":"https://github.com/vito/warden-linux","last_synced_at":"2026-04-16T19:03:22.144Z","repository":{"id":16919919,"uuid":"19681282","full_name":"vito/warden-linux","owner":"vito","description":"warden-linux, but with a winston .yml","archived":false,"fork":false,"pushed_at":"2014-05-12T00:40:00.000Z","size":1696,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T22:25:46.258Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vito.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-12T00:39:15.000Z","updated_at":"2016-07-01T17:36:21.000Z","dependencies_parsed_at":"2022-09-24T11:02:33.350Z","dependency_job_id":null,"html_url":"https://github.com/vito/warden-linux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vito/warden-linux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito%2Fwarden-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito%2Fwarden-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito%2Fwarden-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito%2Fwarden-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vito","download_url":"https://codeload.github.com/vito/warden-linux/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito%2Fwarden-linux/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259957215,"owners_count":22937544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T19:39:14.752Z","updated_at":"2026-04-16T19:03:17.121Z","avatar_url":"https://github.com/vito.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Warden in Go, on linux\n\n* [![Build Status](http://drone.diego-ci.cf-app.com/github.com/cloudfoundry-incubator/warden-linux/status.svg?branch=master)](http://drone.diego-ci.cf-app.com/github.com/cloudfoundry-incubator/warden-linux)\n* [![Coverage Status](https://coveralls.io/repos/cloudfoundry-incubator/warden-linux/badge.png)](https://coveralls.io/r/cloudfoundry-incubator/warden-linux)\n* [Tracker](https://www.pivotaltracker.com/s/projects/962374)\n* [Warden](https://github.com/cloudfoundry/warden)\n\n# Running\n\nFor development, you can just spin up the Vagrant VM and run the server\nlocally, pointing at its host:\n\n```bash\n# if you need it:\nvagrant plugin install vagrant-omnibus\n\n# then:\nlibrarian-chef install\nvagrant up\nssh-copy-id vagrant@192.168.50.5\nssh vagrant@192.168.50.5 sudo cp -r .ssh/ /root/.ssh/\n./scripts/add-route\n./scripts/run-warden-remote-linux\n\n# or run from inside the vm:\nvagrant ssh\nsudo su -\ngoto warden-linux\n./scripts/run-warden-linux\n```\n\nThis runs the server locally and configures the Linux backend to do everything\nover SSH to the Vagrant box.\n\n# Testing\n\n## Pre-requisites\n\n* [Docker](https://www.docker.io/) v0.9.0 or later (for creating a root filesystem)\n* [git](http://git-scm.com/) (for warden and its dependencies on github)\n* [mercurial](http://mercurial.selenic.com/) (for some dependencies not on github)\n\nRun **all** the following commands **as root**.\n\nMake a directory to contain go code:\n```\n# mkdir ~/go\n```\n\nFrom now on, we assume this directory is in `/root/go`.\n\nInstall Go 1.2.1 or later. For example, install [gvm](https://github.com/moovweb/gvm) and issue:\n```\n# gvm install go1.2.1\n# gvm use go1.2.1\n```\n\nExtend `$GOPATH` and `$PATH`:\n```\n# export GOPATH=/root/go:$GOPATH\n# export PATH=$PATH:/root/go/bin\n```\n\nInstall [godep](https://github.com/kr/godep) (used to manage warden's dependencies):\n```\n# go get github.com/kr/godep\n```\n\nGet garden and its dependencies:\n```\n# go get github.com/cloudfoundry-incubator/warden-linux\n# cd /root/go/src/github.com/cloudfoundry-incubator/warden-linux\n# godep restore\n```\n\nMake the C code:\n```\n# make\n```\n\nCreate a root filesystem, extract it (still as root), and point to it:\n```\n# make warden-test-rootfs.tar\n# gzip warden-test-rootfs.tar\n# mkdir -p /var/warden/rootfs\n# tar xzf warden-test-rootfs.tar.gz -C /var/warden/rootfs\n# export WARDEN_TEST_ROOTFS=/var/warden/rootfs\n```\n(You may wish to save the root filesystem tar.gz file for future use.)\n\nInstall ginkgo (used to test garden):\n```\n# go install github.com/onsi/ginkgo/ginkgo\n```\n\nRun the tests (skipping performance measurements):\n```\n# ginkgo -r -skipMeasurements\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvito%2Fwarden-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvito%2Fwarden-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvito%2Fwarden-linux/lists"}