Giter Club home page Giter Club logo

docs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs's Issues

Extra requirement when applying minimum permissions for service account

When limiting permissions for the user that the service runs under, the document at

https://github.com/OctopusDeploy/docs/blob/master/docs/installation/installing-octopus/permissions-required-for-the-octopus-windows-service.md

gives a breakdown of what permissions need to be applied as a minimum. However on applying these on a Windows 2012 R2 server, the service still wouldn't start up. To get it working I had to run:

"netsh http add urlacl url=http://+:80/ user=$svcAccount"

Can the documentation be updated to reflect this?

Thanks.

Workflows shouldn't fail when secrets aren't available

I have a fork of this repository with actions enabled (this is a common state for forks and should be encouraged).

When I refreshed main, the build-astro workflow failed.

It's possible to avoid failing by either checking for secrets -- this requires a bit of:

env:
  has_secret1: ${{ secrets.secret1 != '' }}
  if: ${{ env.has_secret1 }}

or using an if: github.repository_owner -- I don't recommend this practice, but it does work if you don't want to let forks set up their own secrets to run workflows.

Dark Mode?

Any chance dark mode support is on the radar for the documentation site? So bright 😎

Unable to run local dev preview on Linux

Following the instructions here fails when running pnpm dev with the following error:

> pnpm dev

> @octopus/[email protected] dev /home/henrik/code/octopusdeploy/docs
> node --no-experimental-fetch ./src/themes/accelerator/utilities/img.mjs && astro dev

/home/henrik/code/octopusdeploy/docs/node_modules/.pnpm/[email protected]/node_modules/sharp/lib/sharp.js:107
  throw new Error(help.join('\n'));
        ^

Error: Could not load the "sharp" module using the linux-x64 runtime
Possible solutions:
- Ensure optional dependencies can be installed:
    npm install --include=optional sharp
    yarn add sharp --ignore-engines
- Ensure your package manager supports multi-platform installation:
    See https://sharp.pixelplumbing.com/install#cross-platform
- Add platform-specific dependencies:
    npm install --os=linux --cpu=x64 sharp
    npm install --force @img/sharp-linux-x64
- Consult the installation documentation:
    See https://sharp.pixelplumbing.com/install
    at Object.<anonymous> (/home/henrik/code/octopusdeploy/docs/node_modules/.pnpm/[email protected]/node_modules/sharp/lib/sharp.js:107:9)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)
    at Module.require (node:internal/modules/cjs/loader:1141:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object.<anonymous> (/home/henrik/code/octopusdeploy/docs/node_modules/.pnpm/[email protected]/node_modules/sharp/lib/constructor.js:10:1)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)

Node.js v18.15.0
 ELIFECYCLE  Command failed with exit code 1.

node/npm/pnpm info:

> node -v
v18.15.0
> npm -v
9.5.0
> pnpm -v
8.11.0

Linux distribution info:

> lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.3 LTS
Release:	22.04
Codename:	jammy

Upload artifact to existing deployment includes headers in file content

I have converted this article to use curl:

# Upload file content
curl -v -X PUT -F [email protected] -H "X-Octopus-ApiKey: ${OCTOPUS_API_KEY}" "${uploadUrl}"

Unfortunatelly it includes http part data:

--------------------------246875bc4e54cce7
Content-Disposition: form-data; name="fileData"; filename="report.html"
Content-Type: text/html

<!DOCTYPE html>
<html lang="en">

This is big issue for binary files, I can live with it for text ones.

Probably it is issue with octopus itself not with documentation so please move this issue to the right place.

Contradictory and confusing detail in 'Creating releases' page

See page: https://octopus.com/docs/api-and-integration/octo.exe-command-line/creating-releases

This page has lead to some confusion and a fair bit of lost effort and time, there are 2 issues.

  1. The [options] section states that switches are provided in --SWITCH=VALUE when the examples describe --SWITCH _space_ VALUE
  2. The [options] section states that the --package switch can override the "Version number to use for a package in the release" however it overrides the package for a STEP in the release process.

The former issue certainly added some confusion as I was unsure as to whether iI was passing the switches to octo.exe correctly, however the latter issue is by far the most obscure and confusing.

Please can the documentation be clarified to prevent further confusion by people using octo.exe, including your support staff (see http://help.octopusdeploy.com/discussions/questions/7042-defaultpackageversion-package).

Also is it possible to explain/describe the reasons for why the "name of the step" needs to be specified; when it could reference a step which has nothing todo with deploying packages (e.g. a custom deployment step). When creating a release through the UI you select the packages not the packages for each step, hence the confusion here.

"Create OctoPack" documentation is missing some information about NuSpec file naming

The documentation on Create Octopack > Adding a NuSpec file makes it sound like the NuSpec file will always get picked up as long as it has the same name as the project file. I've found that this isn't true; setting the OctoPackProjectName MSBuild param will also change the behavior so that it looks for a NuSpec with that name instead of the project name.

Also, this part of the documentation should have information on the OctoPackNuSpecFileName MSBuild param, which is how you can resolve the above. I only found information about that param on a forum post

Thanks!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.