Skip to content

Commit

Permalink
Removed src directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mcasperson committed Jun 21, 2021
1 parent 7970bc8 commit 9c07e15
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 19 deletions.
34 changes: 16 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,24 @@ The directory structure of a step package project is shown below:
* `\`
* `steps` - A directory containing the step definitions.
* `<step-name>` - A directory containing the definition of a step. There may be many of these directories to define many steps within a single step package.
* `src` - The directory containing the step source and configuration.
* `__tests__` - The directory containing step tests.
* `executor.spec.ts` - Tests validating the logic in the `executor.ts` file.
* `executor.ts` - The code to be executed when a step is run by Octopus.
* `inputs.ts` - The definition of the inputs required by the step.
* `logo.svg` - The image to be displayed in the Octopus web UI for the step.
* `metadata.json` - The step metadata.
* `ui.ts` - The step UI definition.
* `validation.ts` - The step validation rules.
* `__tests__` - The directory containing step tests.
* `executor.spec.ts` - Tests validating the logic in the `executor.ts` file.
* `executor.ts` - The code to be executed when a step is run by Octopus.
* `inputs.ts` - The definition of the inputs required by the step.
* `logo.svg` - The image to be displayed in the Octopus web UI for the step.
* `metadata.json` - The step metadata.
* `ui.ts` - The step UI definition.
* `validation.ts` - The step validation rules.
* `targets`
* `<target-name>`
* `src`
* `__tests__` - The directory containing step tests.
* `executor.spec.ts` - Tests validating the logic in the `executor.ts` file.
* `executor.ts` - The code to be executed when a target healthcheck is run by Octopus.
* `inputs.ts` - The definition of the inputs required by the target.
* `logo.svg` - The image to be displayed in the Octopus web UI for the target.
* `metadata.json` - The target metadata.
* `ui.ts` - The target UI definition.
* `validation.ts` - The target validation rules.
* `__tests__` - The directory containing step tests.
* `executor.spec.ts` - Tests validating the logic in the `executor.ts` file.
* `executor.ts` - The code to be executed when a target healthcheck is run by Octopus.
* `inputs.ts` - The definition of the inputs required by the target.
* `logo.svg` - The image to be displayed in the Octopus web UI for the target.
* `metadata.json` - The target metadata.
* `ui.ts` - The target UI definition.
* `validation.ts` - The target validation rules.
* `.eslintignore` - The [ESLint ignore file](https://eslint.org/docs/user-guide/configuring/ignoring-code#the-eslintignore-file).
* `.eslintrc.js` - The [ESLint configuration file](https://eslint.org/docs/user-guide/configuring/).
* `.gitignore` - The [git ignore file](https://git-scm.com/docs/gitignore).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import HelloWorldStepInputs from "./inputs";
import {ExecutionInputs, Handler, OctopusContext, TargetInputs} from "@octopusdeploy/step-api";
import HelloWorldTargetInputs from "../../../targets/hello-world-target/src/inputs";
import HelloWorldTargetInputs from "../../targets/hello-world-target/inputs";

const HelloWorldStepExecutor: Handler<HelloWorldStepInputs, HelloWorldTargetInputs> = async (
inputs: ExecutionInputs<HelloWorldStepInputs>,
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 9c07e15

Please sign in to comment.