mirror of
https://github.com/Infisical/infisical.git
synced 2025-04-17 19:37:38 +00:00
docs + minor fixes
This commit is contained in:
Binary file not shown.
After Width: | Height: | Size: 68 KiB |
Binary file not shown.
After Width: | Height: | Size: 104 KiB |
Binary file not shown.
After Width: | Height: | Size: 119 KiB |
Binary file not shown.
After Width: | Height: | Size: 176 KiB |
BIN
docs/images/integrations/circleci-context/integrations-page.png
Normal file
BIN
docs/images/integrations/circleci-context/integrations-page.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 290 KiB |
33
docs/integrations/cicd/circleci-context.mdx
Normal file
33
docs/integrations/cicd/circleci-context.mdx
Normal file
@ -0,0 +1,33 @@
|
||||
---
|
||||
title: "CircleCI Context"
|
||||
description: "How to sync secrets from Infisical to CircleCI Contexts"
|
||||
---
|
||||
|
||||
Prerequisites:
|
||||
|
||||
- Set up and add envars to [Infisical Cloud](https://app.infisical.com)
|
||||
|
||||
<Steps>
|
||||
<Step title="CircleCI API Token">
|
||||
Obtain an API token in User Settings > Personal API Tokens
|
||||
|
||||

|
||||
|
||||
Navigate to your project's integrations tab in Infisical.
|
||||
|
||||

|
||||
<Tip>If you already have other integrations setup, click "Add Integration" on the top right corner to add the CircleCi Context integration.</Tip>
|
||||
|
||||
Press on the CircleCI Contexts tile and input your CircleCI API token to grant Infisical access to your CircleCI account.
|
||||
|
||||

|
||||
|
||||
</Step>
|
||||
<Step title="Start integration">
|
||||
Select which Infisical environment secrets you want to sync to which CircleCI Context and press create integration to start syncing secrets to CircleCI.
|
||||
|
||||

|
||||

|
||||
|
||||
</Step>
|
||||
</Steps>
|
@ -428,6 +428,7 @@
|
||||
"group": "View more",
|
||||
"pages": [
|
||||
"integrations/cicd/circleci",
|
||||
"integrations/cicd/circleci-context",
|
||||
"integrations/cicd/travisci",
|
||||
"integrations/cicd/rundeck",
|
||||
"integrations/cicd/codefresh",
|
||||
|
@ -52,27 +52,30 @@ export default function CircleCIContextCreateIntegrationPage() {
|
||||
className="px-6 text-left text-xl"
|
||||
subTitle="After adding your API Token, you will be prompted to set up an integration for a particular Infisical project and environment."
|
||||
>
|
||||
<div className="flex flex-row items-center">
|
||||
<div className="flex items-center pb-0.5">
|
||||
<div className="flex flex-row items-center justify-between">
|
||||
<div className="flex items-center">
|
||||
<Image
|
||||
src="/images/integrations/CircleCI.png"
|
||||
height={30}
|
||||
width={30}
|
||||
alt="CircleCI logo"
|
||||
/>
|
||||
<span className="ml-1.5">CircleCI Context Integration </span>
|
||||
</div>
|
||||
<span className="ml-1.5">CircleCI Context Integration </span>
|
||||
<Link href="https://infisical.com/docs/integrations/cicd/circleci-context" passHref>
|
||||
<a target="_blank" rel="noopener noreferrer">
|
||||
<div className="ml-2 mb-1 inline-block cursor-default rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
|
||||
<FontAwesomeIcon icon={faBookOpen} className="mr-1.5" />
|
||||
Docs
|
||||
<FontAwesomeIcon
|
||||
icon={faArrowUpRightFromSquare}
|
||||
className="ml-1.5 mb-[0.07rem] text-xxs"
|
||||
/>
|
||||
</div>
|
||||
</a>
|
||||
<Link
|
||||
href="https://infisical.com/docs/integrations/cicd/circleci-context"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
passHref
|
||||
>
|
||||
<div className="ml-2 mb-1 flex cursor-pointer flex-row items-center gap-1.5 rounded-md bg-yellow/20 px-1.5 pb-[0.03rem] pt-[0.04rem] text-sm text-yellow opacity-80 hover:opacity-100">
|
||||
<FontAwesomeIcon icon={faBookOpen} />
|
||||
Docs
|
||||
<FontAwesomeIcon
|
||||
icon={faArrowUpRightFromSquare}
|
||||
className="mb-[0.07rem] text-xxs"
|
||||
/>
|
||||
</div>
|
||||
</Link>
|
||||
</div>
|
||||
</CardTitle>
|
||||
|
@ -118,7 +118,7 @@ export default function CircleCIContextCreateIntegrationPage() {
|
||||
<Card className="max-w-lg rounded-md p-8 pt-4">
|
||||
<CardTitle
|
||||
className="w-full px-0 text-left text-xl"
|
||||
subTitle="Choose which environment or folder in Infisical you want to sync to CircleCI environment variables."
|
||||
subTitle="Choose which environment or folder in Infisical you want to sync to CircleCI Context Variables."
|
||||
>
|
||||
<div className="flex w-full flex-row items-center justify-between">
|
||||
<div className="flex flex-row items-center gap-1.5">
|
||||
@ -212,7 +212,11 @@ export default function CircleCIContextCreateIntegrationPage() {
|
||||
control={control}
|
||||
name="targetContext"
|
||||
render={({ field: { value, onChange }, fieldState: { error } }) => (
|
||||
<FormControl errorText={error?.message} isError={Boolean(error)} label="Bitbucket Repo">
|
||||
<FormControl
|
||||
errorText={error?.message}
|
||||
isError={Boolean(error)}
|
||||
label="CircleCI Context"
|
||||
>
|
||||
<FilterableSelect
|
||||
value={value}
|
||||
getOptionValue={(option) => option.appId!}
|
||||
|
Reference in New Issue
Block a user