Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonzeolla/lab-resources
Reusable lab resources
https://github.com/jonzeolla/lab-resources
Last synced: about 6 hours ago
JSON representation
Reusable lab resources
- Host: GitHub
- URL: https://github.com/jonzeolla/lab-resources
- Owner: JonZeolla
- Created: 2023-10-24T13:52:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-11T02:42:25.000Z (7 months ago)
- Last Synced: 2024-04-11T04:13:43.636Z (7 months ago)
- Language: Shell
- Homepage:
- Size: 150 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Security: SECURITY-INSIGHTS.yml
Awesome Lists containing this project
README
# Lab resources
Reusable lab resources live here
## Environmental setup
Ensure you have `docker` and `git` installed locally, and the `docker` daemon is running. Then run the following command to initialize the repository.
```bash
task init
```## Updating the dependencies
```bash
task update
```## Creating a release
In order to cut a release, you must additionally have `pipenv` and `python3` installed.
```bash
# Create the release
task release -- minor # or major, or patch# Push it! (Subject to branch policies)
git push --atomic origin $(git branch --show-current) --follow-tags
```## Troubleshooting
If you want to troubleshoot issues using this as a part of a workshop, create a Cloud9 environment, clone the repository that uses this project (i.e.
`policy-as-code`), run `task init` or `git submodule update --init --recursive` from inside that repository folder, and then run the following:```bash
repository=policy-as-code
role=cloud9
docker run -v ~/environment/${repository}/lab-resources/ansible/jonzeolla/labs/roles/${role}/tasks/main.yml:/root/.ansible/collections/ansible_collections/jonzeolla/labs/roles/${role}/tasks/main.yml --network host -v /:/host jonzeolla/labs:${repository}
```