From e37d2026812fe257d43223df66f7f2590e8c4780 Mon Sep 17 00:00:00 2001 From: meghanhickey Date: Tue, 7 Nov 2023 11:12:31 -0500 Subject: [PATCH 1/9] filter out docs for internal implementations; move files to correct nesting structure --- docfx_project/docfx.json | 11 +++-------- docfx_project/filterConfig.yml | 11 +++++++++++ docs.Dockerfile | 16 ---------------- readme_docs/build_docs.sh | 14 ++++++++++++++ readme_docs/docs.Dockerfile | 5 +++++ scripts/build_docs.sh | 4 ---- scripts/test.sh | 4 ---- 7 files changed, 33 insertions(+), 32 deletions(-) create mode 100644 docfx_project/filterConfig.yml delete mode 100644 docs.Dockerfile create mode 100644 readme_docs/build_docs.sh create mode 100644 readme_docs/docs.Dockerfile delete mode 100644 scripts/build_docs.sh delete mode 100644 scripts/test.sh diff --git a/docfx_project/docfx.json b/docfx_project/docfx.json index d8b5c76..a552894 100644 --- a/docfx_project/docfx.json +++ b/docfx_project/docfx.json @@ -5,19 +5,14 @@ { "src": "../", "files": [ - "IndicoV2*/**.csproj" - ], - "exclude": [ - "docfx_project/**", - "*Tests/**", - "IndicoV2.V1Adapters/**", - "IndicoV2.StrawberryShake/**" + "IndicoV2.Abstractions/**.csproj" ] } ], "dest": "apiV2", "disableGitFeatures": false, - "outputFormat": "markdown" + "outputFormat": "markdown", + "filter": "filterConfig.yml" } ] } \ No newline at end of file diff --git a/docfx_project/filterConfig.yml b/docfx_project/filterConfig.yml new file mode 100644 index 0000000..593e704 --- /dev/null +++ b/docfx_project/filterConfig.yml @@ -0,0 +1,11 @@ +apiRules: + - exclude: + uidRegex: IndicoV2\.Workflows\.Models\.Workflow + - exclude: + uidRegex: IndicoV2\.Submissions\.Models\.SubmissionSs + - exclude: + uidRegex: IndicoV2\.Submissions\.Models\.FilterConverter + - exclude: + uidRegex: IndicoV2\.Ocr\.Models\.ExtractionJobResult + - exclude: + uidRegex: IndicoV2\.CommonModels\.Pagination\.HasCursor diff --git a/docs.Dockerfile b/docs.Dockerfile deleted file mode 100644 index 687f608..0000000 --- a/docs.Dockerfile +++ /dev/null @@ -1,16 +0,0 @@ -FROM mcr.microsoft.com/dotnet/sdk:7.0 -COPY . /indico-client-csharp -WORKDIR /indico-client-csharp -RUN chmod +x ./scripts/build_docs.sh -CMD ["sleep", "infinity"] - -# ARG COMMIT_MSG=${git log -1 --pretty=%B} -# # use devops sa github pat to interact with readme docs repo -# WORKDIR / -# RUN git clone git@github.com:IndicoDataSolutions/indico-readme.git -# RUN git checkout -b csharp-docs -# COPY /indico-client-csharp/_site /indico-readme/sdks/csharp -# RUN git add --all && git commit -m ${COMMIT_MSG} && git push -u origin csharp-docs - - - diff --git a/readme_docs/build_docs.sh b/readme_docs/build_docs.sh new file mode 100644 index 0000000..4e83bd8 --- /dev/null +++ b/readme_docs/build_docs.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +dotnet tool install docfx +dotnet tool run docfx docfx_project/docfx.json + +mv docfx_project/apiV2 apiV2_docs + +for filename in apiV2_docs/*.md; do + newlocation="$(echo $filename | sed -r 's|\.|\/|g; s|/([^/]*)$|.md|g')" + # create the parent directory + mkdir -p "$(dirname "$newlocation")" + # move file into correct directory + mv $filename $newlocation +done \ No newline at end of file diff --git a/readme_docs/docs.Dockerfile b/readme_docs/docs.Dockerfile new file mode 100644 index 0000000..82ad143 --- /dev/null +++ b/readme_docs/docs.Dockerfile @@ -0,0 +1,5 @@ +FROM mcr.microsoft.com/dotnet/sdk:7.0-alpine +COPY . /indico-client-csharp +WORKDIR /indico-client-csharp +RUN apk update && apk add jq vim bash +CMD ["sleep", "infinity"] diff --git a/scripts/build_docs.sh b/scripts/build_docs.sh deleted file mode 100644 index c22a83c..0000000 --- a/scripts/build_docs.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash - -dotnet tool install docfx -dotnet tool run docfx docfx_project/docfx.json \ No newline at end of file diff --git a/scripts/test.sh b/scripts/test.sh deleted file mode 100644 index 534e762..0000000 --- a/scripts/test.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash - -# make sure to set INDICO_HOST and INDICO_TOKEN environment variables -dotnet test --no-build --no-restore \ No newline at end of file From bf3f004f84c56e2aa210eaffbe6f33b00158214a Mon Sep 17 00:00:00 2001 From: meghanhickey Date: Tue, 7 Nov 2023 15:03:25 -0500 Subject: [PATCH 2/9] updating links, adding missing index files, making sure files have unique slugs --- readme_docs/CommonModels.md | 13 +++++++++++++ readme_docs/Extensions.md | 13 +++++++++++++ readme_docs/build_docs.sh | 25 ++++++++++++++++++------- 3 files changed, 44 insertions(+), 7 deletions(-) create mode 100644 readme_docs/CommonModels.md create mode 100644 readme_docs/Extensions.md diff --git a/readme_docs/CommonModels.md b/readme_docs/CommonModels.md new file mode 100644 index 0000000..d8e88b2 --- /dev/null +++ b/readme_docs/CommonModels.md @@ -0,0 +1,13 @@ +# Namespace IndicoV2.CommonModels + +### Classes + + [PageInfo](IndicoV2.CommonModels.Pagination.PageInfo.md) + +Represents graphql pagination cursor. + +### Interfaces + + [IHasCursor](IndicoV2.CommonModels.Pagination.IHasCursor\-1.md) + + [IPrediction](IndicoV2.CommonModels.Predictions.IPrediction.md) diff --git a/readme_docs/Extensions.md b/readme_docs/Extensions.md new file mode 100644 index 0000000..c039143 --- /dev/null +++ b/readme_docs/Extensions.md @@ -0,0 +1,13 @@ +# Namespace IndicoV2.Extensions + +### Namespaces + + [IndicoV2.Extensions.SubmissionResult.Exceptions](IndicoV2.Extensions.SubmissionResult.Exceptions.md) + +### Interfaces + + [IDataSetAwaiter](IndicoV2.Extensions.DataSets.IDataSetAwaiter.md) + + [IJobAwaiter](IndicoV2.Extensions.Jobs.IJobAwaiter.md) + + [ISubmissionResultAwaiter](IndicoV2.Extensions.SubmissionResult.ISubmissionResultAwaiter.md) diff --git a/readme_docs/build_docs.sh b/readme_docs/build_docs.sh index 4e83bd8..52eac3f 100644 --- a/readme_docs/build_docs.sh +++ b/readme_docs/build_docs.sh @@ -3,12 +3,23 @@ dotnet tool install docfx dotnet tool run docfx docfx_project/docfx.json -mv docfx_project/apiV2 apiV2_docs +mv docfx_project/apiV2/* apiV2_docs for filename in apiV2_docs/*.md; do - newlocation="$(echo $filename | sed -r 's|\.|\/|g; s|/([^/]*)$|.md|g')" - # create the parent directory - mkdir -p "$(dirname "$newlocation")" - # move file into correct directory - mv $filename $newlocation -done \ No newline at end of file + if [ "$(basename $filename)" != "IndicoV2.md" ]; then + newdir="$(dirname "$(echo $filename | sed -r 's|\.|\/|g; s|/([^/]*)$|.md|g')")" + # create the parent directory + mkdir -p $newdir + # move file into correct directory + newfilename="$(basename $filename | sed -r 's|IndicoV2\.(.+)\.md|\1|; s|\.|-|g')" + newlocation="${newdir}/${newfilename}.md" + mv $filename $newlocation + fi +done + +mv readme_docs/CommonModels.md apiV2_docs/IndicoV2/CommonModels.md +mv readme_docs/Extensions.md apiV2_docs/IndicoV2/Extensions.md + +cd ./apiV2_docs +# fix links +find . -type f -name '*.md' -print0 | xargs -0 sed -i -r 's|IHasCursor\\-1|IHasCursor-1|; s|IndicoV2\.(.+)\.md|\1|; s|\.|-|g' \ No newline at end of file From 2d4b4edf51344f6c5cdf6bd5b1beb594205f7972 Mon Sep 17 00:00:00 2001 From: meghanhickey Date: Tue, 7 Nov 2023 19:23:04 -0500 Subject: [PATCH 3/9] fix build script --- readme_docs/build_docs.sh | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/readme_docs/build_docs.sh b/readme_docs/build_docs.sh index 52eac3f..218cf72 100644 --- a/readme_docs/build_docs.sh +++ b/readme_docs/build_docs.sh @@ -2,24 +2,23 @@ dotnet tool install docfx dotnet tool run docfx docfx_project/docfx.json +cd docfx_project -mv docfx_project/apiV2/* apiV2_docs - -for filename in apiV2_docs/*.md; do +for filename in apiV2/*.md; do if [ "$(basename $filename)" != "IndicoV2.md" ]; then newdir="$(dirname "$(echo $filename | sed -r 's|\.|\/|g; s|/([^/]*)$|.md|g')")" # create the parent directory mkdir -p $newdir # move file into correct directory - newfilename="$(basename $filename | sed -r 's|IndicoV2\.(.+)\.md|\1|; s|\.|-|g')" + newfilename="$(basename $filename | sed -r 's|(.+)\.md|\1|; s|\.|-|g')" newlocation="${newdir}/${newfilename}.md" mv $filename $newlocation fi done -mv readme_docs/CommonModels.md apiV2_docs/IndicoV2/CommonModels.md -mv readme_docs/Extensions.md apiV2_docs/IndicoV2/Extensions.md +mv ../readme_docs/CommonModels.md ./apiV2/IndicoV2/IndicoV2-CommonModels.md +mv ../readme_docs/Extensions.md ./apiV2/IndicoV2/IndicoV2-Extensions.md -cd ./apiV2_docs # fix links -find . -type f -name '*.md' -print0 | xargs -0 sed -i -r 's|IHasCursor\\-1|IHasCursor-1|; s|IndicoV2\.(.+)\.md|\1|; s|\.|-|g' \ No newline at end of file +find ./apiV2 -type f -name '*.md' -print0 | xargs -0 sed -i -r 's|IHasCursor\\-1|IHasCursor-1|; s|(.+)\.md|\1|; s|\.|-|g' +cd .. \ No newline at end of file From e50890d2d85905ebb41569431e46cc1c847d3f64 Mon Sep 17 00:00:00 2001 From: meghanhickey Date: Wed, 8 Nov 2023 12:09:35 -0500 Subject: [PATCH 4/9] add back test script --- test.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test.sh diff --git a/test.sh b/test.sh new file mode 100644 index 0000000..534e762 --- /dev/null +++ b/test.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# make sure to set INDICO_HOST and INDICO_TOKEN environment variables +dotnet test --no-build --no-restore \ No newline at end of file From d64d14c4f0ad54b30bb84d41827eaa493cdd08e0 Mon Sep 17 00:00:00 2001 From: meghanhickey Date: Wed, 8 Nov 2023 13:22:50 -0500 Subject: [PATCH 5/9] add updated pipeline yaml --- harness-docs.yaml | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/harness-docs.yaml b/harness-docs.yaml index 25b2785..0c71ef4 100644 --- a/harness-docs.yaml +++ b/harness-docs.yaml @@ -21,7 +21,7 @@ pipeline: repo: harbor.devops.indico.io/indico/indico-client-csharp tags: - <+codebase.commitSha> - dockerfile: docs.Dockerfile + dockerfile: readme_docs/docs.Dockerfile platform: os: Linux arch: Amd64 @@ -45,7 +45,31 @@ pipeline: image: harbor.devops.indico.io/indico/indico-client-csharp:<+codebase.commitSha> command: | cd /indico-client-csharp - ./scripts/build_docs.sh + chmod +x ./readme_docs/build_docs.sh + ./readme_docs/build_docs.sh + + cp -r docfx_project/apiV2 $DOCS_PATH + git clone https://user:$GITHUB_TOKEN@github.com/IndicoDataSolutions/indico-readme.git + cd indico-readme + git config --global user.email "engineering@indico.io" + git config --global user.name "cat-automation" + git checkout -b docs-version-$TAG + + mkdir -p markdown + cp -r $DOCS_PATH ./markdown/$LANGUAGE + bash add_frontmatter_yaml.sh + + git add ./markdown/$LANGUAGE + git commit -m "a set of doc changes" + + git push --set-upstream origin docs-version-$TAG + curl -L \ + -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer $GITHUB_TOKEN" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/IndicoDataSolutions/indico-readme/pulls \ + -d '{"title":"Amazing new feature","body":"Please pull these awesome changes in!","head":"docs-version-'"$TAG"'","base":"main"}' shell: Bash infrastructure: type: KubernetesDirect @@ -71,9 +95,9 @@ pipeline: envVariables: GITHUB_TOKEN: <+secrets.getValue("readmeghpat")> TAG: <+codebase.commitSha> - LANGUAGE: chsarp + LANGUAGE: c-sharp README_API_KEY: <+secrets.getValue("meghanhickeyreadmepat")> - DOCS_PATH: /harness/csharp + DOCS_PATH: /harness/c-sharp timeout: 1m 30s tags: {} properties: @@ -83,4 +107,4 @@ pipeline: repoName: indico-client-csharp build: <+input> identifier: Generate_CSharp_Docs - name: Generate CSharp Docs + name: Generate CSharp Docs \ No newline at end of file From caa2d5fb7acece5bc6c86cb6745cd20bd99a488d Mon Sep 17 00:00:00 2001 From: meghanhickey Date: Wed, 8 Nov 2023 13:46:26 -0500 Subject: [PATCH 6/9] don't try to nest csharp docs --- readme_docs/build_docs.sh | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/readme_docs/build_docs.sh b/readme_docs/build_docs.sh index 218cf72..7018d98 100644 --- a/readme_docs/build_docs.sh +++ b/readme_docs/build_docs.sh @@ -2,23 +2,26 @@ dotnet tool install docfx dotnet tool run docfx docfx_project/docfx.json -cd docfx_project +# cd docfx_project -for filename in apiV2/*.md; do - if [ "$(basename $filename)" != "IndicoV2.md" ]; then - newdir="$(dirname "$(echo $filename | sed -r 's|\.|\/|g; s|/([^/]*)$|.md|g')")" - # create the parent directory - mkdir -p $newdir - # move file into correct directory - newfilename="$(basename $filename | sed -r 's|(.+)\.md|\1|; s|\.|-|g')" - newlocation="${newdir}/${newfilename}.md" - mv $filename $newlocation - fi -done +# for filename in apiV3/*.md; do +# if [ "$(basename $filename)" != "IndicoV2.md" ]; then +# newdir="$(dirname "$(echo $filename | sed -r 's|\.|\/|g; s|/([^/]*)$|.md|g')")" +# # create the parent directory +# mkdir -p $newdir +# echo $newdir +# # move file into correct directory +# newfilename="$(basename $filename | sed -r 's|(.+)\.md|\1|; s|\.|-|g')" +# echo $newfilename +# newlocation="${newdir}/${newfilename}.md" +# echo $newlocation +# mv $filename $newlocation +# fi +# done -mv ../readme_docs/CommonModels.md ./apiV2/IndicoV2/IndicoV2-CommonModels.md -mv ../readme_docs/Extensions.md ./apiV2/IndicoV2/IndicoV2-Extensions.md +# mv ../readme_docs/CommonModels.md ./apiV2/IndicoV2/IndicoV2-CommonModels.md +# mv ../readme_docs/Extensions.md ./apiV2/IndicoV2/IndicoV2-Extensions.md -# fix links -find ./apiV2 -type f -name '*.md' -print0 | xargs -0 sed -i -r 's|IHasCursor\\-1|IHasCursor-1|; s|(.+)\.md|\1|; s|\.|-|g' -cd .. \ No newline at end of file +# # fix links +# find ./apiV2 -type f -name '*.md' -print0 | xargs -0 sed -i -r 's|IHasCursor\\-1|IHasCursor-1|; s|(.+)\.md|\1|; s|\.|-|g' +# cd .. \ No newline at end of file From 68fe578cacdf6bf0ddb7f0300e513d9abd127008 Mon Sep 17 00:00:00 2001 From: meghanhickey Date: Wed, 8 Nov 2023 17:31:03 -0500 Subject: [PATCH 7/9] only one level of nesting --- readme_docs/build_docs.sh | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/readme_docs/build_docs.sh b/readme_docs/build_docs.sh index 7018d98..aaa5daf 100644 --- a/readme_docs/build_docs.sh +++ b/readme_docs/build_docs.sh @@ -2,26 +2,23 @@ dotnet tool install docfx dotnet tool run docfx docfx_project/docfx.json -# cd docfx_project +cd docfx_project +rm apiV2/toc.yml -# for filename in apiV3/*.md; do -# if [ "$(basename $filename)" != "IndicoV2.md" ]; then -# newdir="$(dirname "$(echo $filename | sed -r 's|\.|\/|g; s|/([^/]*)$|.md|g')")" -# # create the parent directory -# mkdir -p $newdir -# echo $newdir -# # move file into correct directory -# newfilename="$(basename $filename | sed -r 's|(.+)\.md|\1|; s|\.|-|g')" -# echo $newfilename -# newlocation="${newdir}/${newfilename}.md" -# echo $newlocation -# mv $filename $newlocation -# fi -# done +for filename in apiV2/*.md; do + newfilename="$(basename $filename | sed -r 's|(.+)\.md|\1|; s|\.|-|g')" + newdir="$(basename $newfilename | sed -r 's|(IndicoV2\-\w+)\-.*|\1|')" + if [ $newfilename == $newdir ]; then + mv $filename "apiV2/$newfilename.md" + else + mkdir -p "apiV2/$newdir" + mv $filename "apiV2/$newdir/$newfilename.md" + fi +done -# mv ../readme_docs/CommonModels.md ./apiV2/IndicoV2/IndicoV2-CommonModels.md -# mv ../readme_docs/Extensions.md ./apiV2/IndicoV2/IndicoV2-Extensions.md +mv ../readme_docs/CommonModels.md ./apiV2/IndicoV2-CommonModels.md +mv ../readme_docs/Extensions.md ./apiV2/IndicoV2-Extensions.md -# # fix links -# find ./apiV2 -type f -name '*.md' -print0 | xargs -0 sed -i -r 's|IHasCursor\\-1|IHasCursor-1|; s|(.+)\.md|\1|; s|\.|-|g' -# cd .. \ No newline at end of file +# fix links +find apiV2 -type f -name '*.md' -print0 | xargs -0 sed -i -r 's|IHasCursor\\-1|IHasCursor-1|; s|(.+)\.md|\1|; s|\.|-|g' +cd .. \ No newline at end of file From 9c7a082a7f2f7e6b7d6d81200f0226516d502969 Mon Sep 17 00:00:00 2001 From: meghanhickey Date: Thu, 9 Nov 2023 09:39:22 -0500 Subject: [PATCH 8/9] lowercase links --- readme_docs/{docs.Dockerfile => Dockerfile} | 2 +- readme_docs/build_docs.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename readme_docs/{docs.Dockerfile => Dockerfile} (75%) diff --git a/readme_docs/docs.Dockerfile b/readme_docs/Dockerfile similarity index 75% rename from readme_docs/docs.Dockerfile rename to readme_docs/Dockerfile index 82ad143..b69724e 100644 --- a/readme_docs/docs.Dockerfile +++ b/readme_docs/Dockerfile @@ -1,5 +1,5 @@ FROM mcr.microsoft.com/dotnet/sdk:7.0-alpine COPY . /indico-client-csharp WORKDIR /indico-client-csharp -RUN apk update && apk add jq vim bash +RUN apk update && apk add jq vim bash sed CMD ["sleep", "infinity"] diff --git a/readme_docs/build_docs.sh b/readme_docs/build_docs.sh index aaa5daf..dd9ef6f 100644 --- a/readme_docs/build_docs.sh +++ b/readme_docs/build_docs.sh @@ -20,5 +20,5 @@ mv ../readme_docs/CommonModels.md ./apiV2/IndicoV2-CommonModels.md mv ../readme_docs/Extensions.md ./apiV2/IndicoV2-Extensions.md # fix links -find apiV2 -type f -name '*.md' -print0 | xargs -0 sed -i -r 's|IHasCursor\\-1|IHasCursor-1|; s|(.+)\.md|\1|; s|\.|-|g' +find apiV2 -type f -name '*.md' -print0 | xargs -0 sed -i -r 's|IHasCursor\\-1|IHasCursor-1|; s|(\(.+)\.md|\L\1|; s|\.|-|g' cd .. \ No newline at end of file From 049b38cd542a33625004cb1d8200c6f856e89d0b Mon Sep 17 00:00:00 2001 From: meghanhickey Date: Thu, 9 Nov 2023 10:03:24 -0500 Subject: [PATCH 9/9] updated harness pipeline yaml --- readme_docs/harness-docs.yaml | 110 ++++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 readme_docs/harness-docs.yaml diff --git a/readme_docs/harness-docs.yaml b/readme_docs/harness-docs.yaml new file mode 100644 index 0000000..eb780c0 --- /dev/null +++ b/readme_docs/harness-docs.yaml @@ -0,0 +1,110 @@ +pipeline: + projectIdentifier: IPA_Release + orgIdentifier: default + tags: {} + stages: + - stage: + name: Build Docs Container + identifier: Build_Docs_Container + description: "" + type: CI + spec: + cloneCodebase: true + execution: + steps: + - step: + type: BuildAndPushDockerRegistry + name: BuildAndPushDockerRegistry_1 + identifier: BuildAndPushDockerRegistry_1 + spec: + connectorRef: account.harbor + repo: harbor.devops.indico.io/indico/indico-client-csharp + tags: + - <+codebase.commitSha> + dockerfile: readme_docs/Dockerfile + platform: + os: Linux + arch: Amd64 + runtime: + type: Cloud + spec: {} + - stage: + name: Build Csharp Docs + identifier: Build_Python_Docs + description: "" + type: Custom + spec: + execution: + steps: + - step: + type: Container + name: PR To Readme + identifier: PR_To_Readme + spec: + connectorRef: account.harbor + image: harbor.devops.indico.io/indico/indico-client-csharp:<+codebase.commitSha> + command: | + cd /indico-client-csharp + chmod +x ./readme_docs/build_docs.sh + ./readme_docs/build_docs.sh + + cp -r docfx_project/apiV2 $DOCS_PATH + git clone https://user:$GITHUB_TOKEN@github.com/IndicoDataSolutions/indico-readme.git + cd indico-readme + git config --global user.email "engineering@indico.io" + git config --global user.name "cat-automation" + git checkout -b docs-version-$TAG + + mkdir -p markdown + cp -r $DOCS_PATH ./markdown/$LANGUAGE + bash add_frontmatter_yaml.sh + + git add ./markdown/$LANGUAGE + git commit -m "a set of doc changes" + + git push --set-upstream origin docs-version-$TAG + curl -L \ + -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer $GITHUB_TOKEN" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/IndicoDataSolutions/indico-readme/pulls \ + -d '{"title":"Amazing new feature","body":"Please pull these awesome changes in!","head":"docs-version-'"$TAG"'","base":"main"}' + shell: Bash + infrastructure: + type: KubernetesDirect + spec: + connectorRef: account.Dev_Cluster + namespace: default + resources: + limits: + cpu: "0.5" + memory: 500Mi + annotations: {} + labels: {} + containerSecurityContext: + capabilities: + drop: [] + add: [] + nodeSelector: {} + reports: + type: JUnit + spec: + paths: [] + outputVariables: [] + envVariables: + GITHUB_TOKEN: <+secrets.getValue("account.indicomachineuser_github_token")> + TAG: <+codebase.commitSha> + LANGUAGE: c-sharp + README_API_KEY: <+secrets.getValue("meghanhickeyreadmepat")> + DOCS_PATH: /harness/c-sharp + timeout: 1m 30s + tags: {} + properties: + ci: + codebase: + connectorRef: account.Indico + repoName: indico-client-csharp + build: <+input> + identifier: Generate_CSharp_Docs + name: Generate CSharp Docs