Questions tagged [octopus]

Octopus is a framework for database sharding with Ruby on Rails' ActiveRecord.

From the README:

Octopus is a better way to do Database Sharding in ActiveRecord. Sharding allows multiple databases in the same rails application. While there are several projects that implement Sharding (e.g. DbCharmer, DataFabric, MultiDb), each project has its own limitations. The main goal of octopus project is to provide a better way of doing Database Sharding.

Octopus supports:

  • Sharding (with multiple shards, and grouped shards).
  • Replication (Master/slave support, with multiple slaves).
  • Moving data between shards with migrations.

Source code for Octopus is on github.

143 questions
0
votes
1 answer

Powershell NUnit console seems to hang after tests via Octopus/Powershell (Chrome driver still open)

I seem to have an issue when running a PowerShell script as a part of a step in our deployment Octopus pipeline. The tests run against a few websites, and each website has a range of tests. These are just locally setup websites on our…
minkz96
  • 21
  • 4
0
votes
1 answer

OctopusDeploy not deploying package to Custom Installation Directory

I'm pretty new to OctopusDeploy and am trying to set up a process to deploy our artifact to multiple Windows Servers. As of right now it is deploying the package to the default working directory of C:\Octopus\Applications...... but I need it to be…
Cam
  • 2,026
  • 3
  • 25
  • 42
0
votes
1 answer

Octopus Deployment to Production environment

Using Octopus I want to be able to have a set up so that attempting to deploy to a Production environment includes a warning to the user and a manual intervention to continue, to prevent accidental Production deployments. I don't want this to happen…
EzaBlade
  • 657
  • 1
  • 9
  • 23
0
votes
1 answer

How to substitute array values for Octopus AWS Lambda functions

Consider the following { "foo": [ "cat", "dog" ] } I want to replace these values in Octopus with { "foo": [ "wolf" ] } How do I do it with Octopus? I can't replace with ["wolf"] in the value as I receive an error: Invalid JSON: Expecting…
rACkle
  • 433
  • 1
  • 4
  • 10
0
votes
1 answer

Comparing Server IDs in two tools via PowerShell script

I am making a PowerShell script that is supposed to retrieve and compare the server IDs in two tools that we are using - Octopus tool and MOSS (the idea is to check that all servers in Octopus are also registered in MOSS). The Octopus is accessed on…
0
votes
0 answers

Octopus deploy to create azure subscription's

Octopus only allow to add Azure account (subscription level). Our requirement is to having create azure subscription using ARM template's and move to management group. Is there a way we can achieve the same .
Amit Kumar
  • 79
  • 1
  • 10
0
votes
0 answers

Automate bitbucket SQL scripts

Currently We are using Bitbucket repository for SQL scripts version control and manually deploying the changes to database. For now we are going to automate the deployment. So Can any one suggest how we can automate the sql scripts from bitbucket…
Sreepathi
  • 93
  • 13
0
votes
1 answer

How to pass array from octopus variable to azure arm template parameter

Right now my json arm template parameter file looks like following where i am passing individual octopus variable value and it gets assigned into array inside template. "parameters": { "HighPriorityQueues": { "value": [ …
0
votes
1 answer

Query views from another database instead of tables

I want to query a view from ActiveRecord instead of a regular table. Also, the view reside in a different database, i am using octopus gem to access the other database, but the issue is i am unable to query the views. I tried something like…
opensource-developer
  • 2,826
  • 4
  • 38
  • 88
0
votes
1 answer

Unable to run Bash script from Octopus

I have been trying to trigger Jenkins Job from Octopus. One way that I found - Remote Access API. But when I trigger the command from Octopus, I get an error. Command: curl -X POST -s "https://jenkins.jenkins.dev/job/MyService/buildWithParameters"…
Chinmaya Biswal
  • 457
  • 5
  • 13
0
votes
0 answers

Building Wix project in TeamCity and send to Octopus have problem with GetAssem

error MSB4018: The "GetAssemblyVersionInfo" task failed unexpectedly. error MSB4018: System.BadImageFormatException: Could not load file or assembly 'Web.Client.Installer.exe' or one of its dependencies. The module was expected to contain an…
LittleFunny
  • 8,155
  • 15
  • 87
  • 198
0
votes
2 answers

Is it possible to get Octopus Release path in Octopus step?

I'm using Jenkins with Octopus plugin to create Release in Octopus. This works nicely. However, when in Octopus, more specifically in my first 'Script' step, I can't get hold of the Release package. Only variable I seem to be able to get…
0
votes
0 answers

PowerShell script to get all octopus environment deployment variables to excel with environment scopes

We are planning to migrate the octopus deployment pipelines to azure Devops pipelines, for this we need to export all the environment octopus variables to excel then i can easily use those variables in azure devops pipelines for deployment
Koti
  • 61
  • 3
0
votes
1 answer

Error pushing package to Octopus Deploy from build script

As part of our TFS build I'm trying to push the latest package from our build pipeline to our Octopus Deploy instance. However I'm getting the following error. I'm using a script task to execute the following octo push command. octo push…
DomBurf
  • 2,452
  • 5
  • 36
  • 71
0
votes
2 answers

The request was aborted: Could not create SSL/TLS secure channel for nuget push command

I am currently looking into using Octopus for our deployments. I'm trying to push the latest .nupkg file to our Octopus server as follows. NuGet.exe push outputfolder\My.nupkg -ApiKey myapikey -Source…
DomBurf
  • 2,452
  • 5
  • 36
  • 71