Skip to content

Commit 6673489

Browse files
committed
docs: add missing CI default flags to CI/CD page
1 parent fd0e115 commit 6673489

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

integrations/ci_cd.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ description: Use Kosli in CI Systems like GitHub Actions, GitLab CI, and more.
2525
| --commit | `<GITHUB_SHA>` |
2626
| --git-commit | `<GITHUB_SHA>` |
2727
| --repository | `<GITHUB_REPOSITORY>` |
28+
| --repo-id | `<GITHUB_REPOSITORY_ID>` |
29+
| --repo-url | `<GITHUB_SERVER_URL>/<GITHUB_REPOSITORY>` |
30+
| --repo-provider | `github` |
2831
| --github-org | `<GITHUB_REPOSITORY_OWNER>` |
2932

3033
Where `<PLACEHOLDERS>` are Github Actions predefined variables. See [here](https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables) for more details.
@@ -72,6 +75,9 @@ description: Use Kosli in CI Systems like GitHub Actions, GitLab CI, and more.
7275
| --commit | `<CI_COMMIT_SHA>` |
7376
| --git-commit | `<CI_COMMIT_SHA>` |
7477
| --repository | `<CI_PROJECT_NAME>` |
78+
| --repo-id | `<CI_PROJECT_ID>` |
79+
| --repo-url | `<CI_PROJECT_URL>` |
80+
| --repo-provider | `gitlab` |
7581
| --gitlab-org | `<CI_PROJECT_NAMESPACE>` |
7682

7783
Where `<PLACEHOLDERS>` are GitLab predefined variables. See [here](https://docs.gitlab.com/ee/ci/variables/predefined_variables.html) for more details.
@@ -91,6 +97,9 @@ description: Use Kosli in CI Systems like GitHub Actions, GitLab CI, and more.
9197
| --commit | `<Build.SourceVersion>` |
9298
| --git-commit | `<Build.SourceVersion>` |
9399
| --repository | `<Build.Repository.Name>` |
100+
| --repo-id | `<Build.Repository.Id>` |
101+
| --repo-url | `<Build.Repository.Uri>` |
102+
| --repo-provider | `azure-devops` |
94103
| --project | `<System.TeamProject>` |
95104
| --azure-org-url | `<System.CollectionUri>` |
96105

@@ -106,6 +115,9 @@ description: Use Kosli in CI Systems like GitHub Actions, GitLab CI, and more.
106115
| --commit | `<BITBUCKET_COMMIT>` |
107116
| --git-commit | `<BITBUCKET_COMMIT>` |
108117
| --repository | `<BITBUCKET_REPO_SLUG>` |
118+
| --repo-id | `<BITBUCKET_REPO_UUID>` |
119+
| --repo-url | `<BITBUCKET_GIT_HTTP_ORIGIN>` |
120+
| --repo-provider | `bitbucket` |
109121
| --bitbucket-workspace | `<BITBUCKET_WORKSPACE>` |
110122

111123
Where `<PLACEHOLDERS>` are Bitbucket Cloud predefined variables. See [here](https://support.atlassian.com/bitbucket-cloud/docs/variables-in-pipelines/) for more details.
@@ -119,6 +131,7 @@ description: Use Kosli in CI Systems like GitHub Actions, GitLab CI, and more.
119131
| --commit-url | `<CODEBUILD_SOURCE_REPO_URL>/commit(s)/<CODEBUILD_RESOLVED_SOURCE_VERSION>` |
120132
| --commit | `<CODEBUILD_RESOLVED_SOURCE_VERSION>` |
121133
| --git-commit | `<CODEBUILD_RESOLVED_SOURCE_VERSION>` |
134+
| --repo-url | `<CODEBUILD_SOURCE_REPO_URL>` |
122135

123136
Where `<PLACEHOLDERS>` are AWS CodeBuild predefined variables. See [here](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-env-vars.html) for more details.
124137
</Tab>
@@ -129,7 +142,10 @@ description: Use Kosli in CI Systems like GitHub Actions, GitLab CI, and more.
129142
| :--- | :--- |
130143
| --build-url | `<CIRCLE_BUILD_URL>` |
131144
| --commit-url | `<CIRCLE_REPOSITORY_URL>(converted to https url)/commit(s)/<CIRCLE_SHA1>` |
145+
| --commit | `<CIRCLE_SHA1>` |
132146
| --git-commit | `<CIRCLE_SHA1>` |
147+
| --repository | `<CIRCLE_PROJECT_REPONAME>` |
148+
| --repo-url | `<CIRCLE_REPOSITORY_URL>` |
133149

134150
Where `<PLACEHOLDERS>` are CircleCI predefined variables. See [here](https://circleci.com/docs/env-vars/#built-in-environment-variables) for more details.
135151
</Tab>

0 commit comments

Comments
 (0)