-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
76 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: Configure Azure CI/CD variables | ||
description: Learn how to configure CI/CD variables for CI Server authentication to automate deployments with Azure Pipelines | ||
--- | ||
<!-- markdownlint-disable MD013 --> | ||
|
||
## Define sfdx-hardis environment variables | ||
|
||
- Go to **Project -> Pipelines** | ||
- Select your pipeline | ||
- Click on **Edit** , then on **Variables** | ||
- Input variable name and value | ||
- Don't forget to click on **save** ! | ||
|
||
![](assets/images/screenshot-monitoring-azure-variable.png) | ||
|
||
More info: [Azure documentation](https://learn.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=classic%2Cbatch){target=blank} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
title: Configure Bitbucket CI/CD variables | ||
description: Learn how to configure CI/CD variables for CI Server authentication to automate deployments with Bitbucket Pipelines | ||
--- | ||
<!-- markdownlint-disable MD013 --> | ||
|
||
## Define sfdx-hardis environment variables | ||
|
||
- Go to **Project -> Repository Settings > Repository Variables** _(you must have Bitbucket authorizations to access this menu)_ | ||
|
||
![](assets/images/screenshot-bitbucket-variables.png) | ||
|
||
More info: [BitBucket documentation](https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/#Secured-variables){target=blank} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
title: Configure GitHub CI/CD variables | ||
description: Learn how to configure CI/CD variables for CI Server authentication to automate deployments with GitHub | ||
--- | ||
<!-- markdownlint-disable MD013 --> | ||
|
||
## Define sfdx-hardis environment variables | ||
|
||
- Go to **Repository -> Settings > Secret and variables -> Actions** _(you must have Github authorizations to access this menu)_ | ||
|
||
![](assets/images/screenshot-monitoring-github-variable.png.jpg) | ||
|
||
- Create the new secret with the following info: | ||
- name: **YOUR_VARIABLE_NAME** | ||
- value: `Your variable value` | ||
|
||
![](assets/images/screenshot-monitoring-github-variable-add.png.jpg) | ||
|
||
More info: [GitHub documentation](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository){target=blank} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
title: Configure Gitlab CI/CD variables | ||
description: Learn how to configure CI/CD variables for CI Server authentication to automate deployments with Gitlab | ||
--- | ||
<!-- markdownlint-disable MD013 --> | ||
|
||
## Define sfdx-hardis environment variables | ||
|
||
- Go to **Project -> Settings > CI/CD -> Variables** _(you must have Gitlab authorizations to access this menu)_ | ||
|
||
![](assets/images/screenshot-gitlab-variables.png) | ||
|
||
- Create the variable with the following info: | ||
- name: **YOUR_VARIABLE_NAME** | ||
- value: `Your variable value` | ||
- Select **Mask variable** if the value is secured, like credentials or tokens | ||
- Unselect **Protected variable** | ||
|
||
![](assets/images/screenshot-add-variable-gitlab.png) | ||
|
||
More info: [Gitlab documentation](https://docs.gitlab.com/ee/ci/variables/#for-a-project){target=blank} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters