GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - BeazleyLabs/OctopusDSC: A PowerShell DSC resource for installing Tentacle

This repository was archived by the owner on Dec 1, 2020. It is now read-only.
BranchesTags
Open more actions menu
 
 

Latest commit

 

History

170 Commits
170 Commits

Folders and files

NameName
Last commit message
Last commit date
OctopusDSC
OctopusDSC
 
 
Tests
Tests
 
 
.gitignore
.gitignore
 
 
LICENSE.txt
LICENSE.txt
 
 
Octopus_blue_64px.png
Octopus_blue_64px.png
 
 
README-cOctopusServer.md
README-cOctopusServer.md
 
 
README-cOctopusServerActiveDirectoryAuthentication.md
README-cOctopusServerActiveDirectoryAuthentication.md
 
 
README-cOctopusServerAzureADAuthentication.md
README-cOctopusServerAzureADAuthentication.md
 
 
README-cOctopusServerGoogleAppsAuthentication.md
README-cOctopusServerGoogleAppsAuthentication.md
 
 
README-cOctopusServerUsernamePasswordAuthentication.md
README-cOctopusServerUsernamePasswordAuthentication.md
 
 
README-cTentacleAgent.md
README-cTentacleAgent.md
 
 
README.md
README.md
 
 
build-aws.ps1
build-aws.ps1
 
 
build-azure.ps1
build-azure.ps1
 
 
build-virtualbox.ps1
build-virtualbox.ps1
 
 
cleanup-aws.ps1
cleanup-aws.ps1
 
 
cleanup-azure.ps1
cleanup-azure.ps1
 
 
publish.ps1
publish.ps1
 
 
vagrantfile
vagrantfile
 
 

Repository files navigation

OctopusDSC

This repository contains a PowerShell module with DSC resources that can be used to install and configure an Octopus Deploy Server and Tentacle agent.

Read about the cTentacleAgent or cOctopusServer resources.

Authentication can be configured to use:

  • Active Directory Domain with cOctopusServerActiveDirectoryAuthentication
  • Azure AD with cOctopusServerAzureADAuthentication
  • GoogleApps with cOctopusServerGoogleAppsAuthentication
  • Username/passwords stored in Octopus with cOctopusServerUsernamePasswordAuthentication

Development

This project is setup to use Vagrant to provide a dev/test environment. Once you've installed Vagrant, you can use build-virtualbox.sh to spin up a local virtual machine using VirtualBox and run the test scenarios (NOTE: The first time you run vagrant up it has to download the octopusdeploy/dsc-test-server box and this can take some time depending on your Internet speed, so be patient and go grab a coffee while it downloads). On a build server, you most likely want to use build-aws.sh to spin up a virtual machine on AWS to run the tests.

Configuration is handled by environment variables. The shell scripts will show a message letting you know what variables need to be set.

As there are no windows specific build scripts at present, if you want to run the tests against AWS on windows:

  1. Install Vagrant from vagrantup.com
  2. Install VirtualBox from virtualbox.org
  3. If you are on a Mac or Linux you need to install PowerShell, see https://github.com/PowerShell/PowerShell/blob/master/docs/installation/linux.md.
  4. If you want to test locally using virtualbox
    • Run vagrant plugin install vagrant-dsc
    • Run vagrant plugin install vagrant-winrm
    • Run vagrant plugin install vagrant-winrm-syncedfolders
    • Run vagrant up -- provider virtualbox. This will run all the scenarios under the Tests folder.
  5. If you want to test using AWS
    • Run vagrant plugin install vagrant-aws
    • Run vagrant plugin install vagrant-aws-winrm
    • Set an environment variable AWS_ACCESS_KEY_ID to a valid value
    • Set an environment variable AWS_SECRET_ACCESS_KEY to a valid value
    • Set an environment variable AWS_SUBNET_ID to a valid subnet where you want the instance launched
    • Set an environment variable AWS_SECURITY_GROUP_ID to a valid security group you want to assign to the instance
    • Run vagrant up --provider aws. This will run all the scenarios under the Tests folder.
  6. Run vagrant destroy -f once you have finished to kill the virtual machine.

Tests are written in ServerSpec, which is an infrastructure oriented layer over RSpec.

When creating a PR, please ensure that all existing tests run succesfully against VirtualBox, and please include a new scenario where possible. Before you start, please raise an issue to discuss your plans so we can make sure it fits with the goals of the project.

About

A PowerShell DSC resource for installing Tentacle

Resources

Readme
License
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.