Skip to content
Open

devops #1769

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/manager/src/constants/API_ENDPOINTS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ If you didn't intend to run Slice Machine this way, stop it immediately and unse

case APPLICATION_MODE.DevTools:
case APPLICATION_MODE.MarketingTools:
case APPLICATION_MODE.Devops:
case APPLICATION_MODE.Platform: {
return {
PrismicWroom: `https://${process.env.SM_ENV}-wroom.com/`,
Expand Down
1 change: 1 addition & 0 deletions packages/manager/src/constants/API_TOKENS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const API_TOKENS: APITokens = (() => {
case APPLICATION_MODE.DevTools:
case APPLICATION_MODE.MarketingTools:
case APPLICATION_MODE.Platform:
case APPLICATION_MODE.Devops:
case APPLICATION_MODE.Staging:
return {
SegmentKey: "Ng5oKJHCGpSWplZ9ymB7Pu7rm0sTDeiG",
Expand Down
1 change: 1 addition & 0 deletions packages/manager/src/constants/APPLICATION_MODE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export const APPLICATION_MODE = {
DevTools: "dev-tools",
MarketingTools: "marketing-tools",
Platform: "platform",
Devops: "devops",
Staging: "staging",
Production: "production",
} as const;
6 changes: 4 additions & 2 deletions scripts/play.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ type Args = {
| "production"
| "development"
| "dev-tools"
| "devops"
| "marketing-tools"
| "platform";

Expand Down Expand Up @@ -109,7 +110,7 @@ Usage:
Options:
--new Create a new playground
--framework, -f Specify the playground's framework (next, nuxt, sveltekit) (default: ${DEFAULT_FRAMEWORK})
--environment, -e Specify the playground's environment (staging, dev-tools, marketing-tools, platform, production, development) (default: ${DEFAULT_ENVIRONMENT})
--environment, -e Specify the playground's environment (staging, dev-tools, marketing-tools, platform, devops, production, development) (default: ${DEFAULT_ENVIRONMENT})
--no-start Do not start Slice Machine and the website
--prefix, -p Specify the prefix for the playground name (default: ${DEFAULT_PREFIX})
--dry-run, -n Show what would have happened
Expand All @@ -130,6 +131,7 @@ Arguments:
"development",
"dev-tools",
"marketing-tools",
"devops",
"platform",
].includes(args.environment)
) {
Expand Down Expand Up @@ -338,7 +340,7 @@ async function createPlayground(
{ dryRun: options.dryRun },
);
} else if (
["dev-tools", "marketing-tools", "platform"].includes(options.environment!)
["dev-tools", "marketing-tools", "devops", "platform"].includes(options.environment!)
) {
await updateSliceMachineConfig(
dir,
Expand Down
Loading