Skip to content

Commit

Permalink
update the setting of DEMISTO_SDK_GRAPH_FORCE_CREATE (demisto#33107)
Browse files Browse the repository at this point in the history
* update DEMISTO_SDK_GRAPH_FORCE_CREATE

* fixed

* update

* test

* revert test
  • Loading branch information
michal-dagan authored Feb 28, 2024
1 parent 6d5b0fa commit 48c1b49
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .gitlab/ci/.gitlab-ci.on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ validate-content-conf:
- !reference [.create-release-notes-and-common-docs]
- !reference [.secrets-fetch]
- section_start "Create or update content graph" --collapsed
- |
echo "set DEMISTO_SDK_GRAPH_FORCE_CREATE to true to create graph from scratch"
export DEMISTO_SDK_GRAPH_FORCE_CREATE=true
echo "DEMISTO_SDK_GRAPH_FORCE_CREATE was set to true to create graph from scratch"
echo $DEMISTO_SDK_GRAPH_FORCE_CREATE
- echo "Staging the repo to include the private packs in the graph"
- git add Packs
- echo "Updating the content graph"
Expand Down
4 changes: 0 additions & 4 deletions .gitlab/ci/.gitlab-ci.sdk-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ demisto-sdk-nightly:xsoar-prepare-testing-bucket:
needs: []
stage: prepare-testing-bucket
script:
- unset DEMISTO_SDK_GRAPH_FORCE_CREATE
- !reference [.generic-prepare-testing-bucket, script]
- job-done

Expand All @@ -197,7 +196,6 @@ demisto-sdk-nightly:mpv2-prepare-testing-bucket:
needs: []
stage: prepare-testing-bucket
script:
- unset DEMISTO_SDK_GRAPH_FORCE_CREATE
- !reference [.generic-prepare-testing-bucket, script]
- job-done

Expand All @@ -221,7 +219,6 @@ demisto-sdk-nightly:xpanse-prepare-testing-bucket:
needs: []
stage: prepare-testing-bucket
script:
- unset DEMISTO_SDK_GRAPH_FORCE_CREATE
- !reference [.generic-prepare-testing-bucket, script]
- job-done

Expand All @@ -244,7 +241,6 @@ demisto-sdk-nightly:xsoar-saas-prepare-testing-bucket:
needs: []
stage: prepare-testing-bucket
script:
- unset DEMISTO_SDK_GRAPH_FORCE_CREATE
- !reference [.generic-prepare-testing-bucket, script]
- job-done

Expand Down
1 change: 0 additions & 1 deletion .gitlab/ci/.gitlab-ci.variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ variables:
OVERRIDE_ALL_PACKS: "false"
TEST_UPLOAD: "true"
NATIVE_CANDIDATE_IMAGE: "latest"
DEMISTO_SDK_GRAPH_FORCE_CREATE: "true" # change this when the demisto-sdk update-graph command is stable
DEMISTO_SDK_LOG_FILE_PATH: "${ARTIFACTS_FOLDER}/logs"
CONTENT_GITLAB_CI: "true"
POETRY_VIRTUALENVS_OPTIONS_ALWAYS_COPY: "true"
Expand Down

0 comments on commit 48c1b49

Please sign in to comment.