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

ASP Net Core multiple environment publishing

Coming from the .NET MVC world, I am confused on how .NET Core deals with multi-environment deployments. (Dev, Test, Production) The tech used here are Bamboo (Build Server) + Octopus Deploy (CD). .NET Core appears to be using appsettings instead,…
Noob
  • 247
  • 1
  • 3
  • 12
0
votes
1 answer

Azure function deployment from Octopus

If I deploy the azure function package from an on-premise octopus server thought the internet how to ensure it's security? example 1 example 2 I'm pretty sure it's secure but I cannot find any information about that at a low level. The whole…
user2542183
  • 53
  • 2
  • 6
0
votes
1 answer

Octopus set ASPNETCORE_ENVIRONMENT

Windows 10 Octopus v2018.4.3 Has anyone successfully used Octopus to set the system environment variable ASPNETCORE_ENVIRONMENT ?
BaltoStar
  • 8,165
  • 17
  • 59
  • 91
0
votes
1 answer

Why Octopus binding variables does not work?

I have just started with Octopus deployment. I tried to add binding variables and re-deploy my web as below snapshot. Unfortunately, my binding does not work. Any idea? Many thanks! Added more info @ 17 Jan 2020 Creating a new release version…
Duc Tran
  • 103
  • 1
  • 6
0
votes
1 answer

AWS Code Build (Windows Image) Tcp ports are blocked

I have set up my .net core 2.1 projects on the AWS Code Build window Image. In my build spec yaml file, I am pushing my built package to the octopus server which uses specific TCP port but it seems like the port is blocked and I am unable to make…
0
votes
1 answer

Run Performane Test on deployment server through TeamCity and Octopus deploy

Hi We are using TeamCity and OCtopus for CI/CD. We have several hundred test cases. As set up we have build server (Machine A) and it gets deployed on server (Machine B) We use TeamCity and and last step is Deploy step through OctopusDeploy. We…
0
votes
0 answers

Hide my Octopus API key in powershell script

I am using my octopus API key in a powershell script. Is there a way to hide the key. I am hardcoding it in the below command. At the moment I have hardcoded the API key into my script. I would prefer if I could use a way of hiding it and maybe…
hankey39
  • 349
  • 2
  • 5
  • 19
0
votes
1 answer

Notification when cant download artifact

We have a scheduled release in Octopus that deploys the last known good release to Prod back to Prod. However this has started failing because the artifact has fallen out of our retention policy - this we can fix by altering the retention…
Adam Stewart
  • 1,983
  • 1
  • 18
  • 25
0
votes
2 answers

How to check IIS reset or not by Octopus

We have a MVC application and we are using Jenkin and Octopus for the deployment. We have used the Octopus for the deployment. There is an step to restart the IIS through the octopus. We need to check if the IIS has been restarted by the Octoups or…
Pankaj Saha
  • 869
  • 3
  • 17
  • 37
0
votes
1 answer

How can I create Nginx IIS LoadBalancer by using Powershell over Octopus?

How can I create Nginx load balancer with IIS? This question is not easy to describe for me. So I separated 2 phases about my problem. 1)there is 1 Nginx server(app.xyz.com) infront of IIS Websites (app1.xyz.com,app2.xyz.com,app3.xyz.com ) All…
Penguen
  • 16,836
  • 42
  • 130
  • 205
0
votes
2 answers

Unable to access ssl certificate from octopus library as X509Certificate2 object using powershell

I am trying to create a jwt token using a pfx which,I have stored in Octopus library. For this I have to create an object of X509Certificate2, which takes certificate path and password as input. Can someone please suggest a way to do this using…
Alan
  • 11
  • 3
0
votes
1 answer

Azure Databricks CI/CD - Octopus Question

I am trying to automate the Azure Databricks service, cluster creation using Octopus releases. It looks like currently the Databricks access token need to be generated manually to make the rest of the REST Api calls - Access Token Creation using…
Satya Azure
  • 459
  • 7
  • 22
0
votes
1 answer

Rails and Octopus gem and issues with delayed job

I use Octopus gem. If I call a delayed method on an active record object, I get the following error: Delayed::DeserializationError: Job failed to load: undefined method `[]' for nil:NilClass The error only occurs if Octopus is turned on. Delayed…
knagode
  • 5,816
  • 5
  • 49
  • 65
0
votes
2 answers

Rails using multiple databases - no implicit conversion of nil into String

I am trying to setup connection to another DB class Something < ApplicationRecord self.abstract_class = true establish_connection {adapter:"postgresql",host:"localhost",port:5432,database:"dev_x",user:"user",password:"1234"} end But whenever I…
knagode
  • 5,816
  • 5
  • 49
  • 65
0
votes
1 answer

Teamcity Nuget Publish to Octopus Repository(built in) fails with 503 error

I have an AsP.net Website with nuspec file set up on teamcity.I have basically defined two build steps. 1. Nuget Pack 2. Nuget Publish. The nuget package gets created successfully, but I get a 503 error whilst trying to run the Nuget publish…
lacoder
  • 1,253
  • 1
  • 11
  • 22