Skip to content

Commit

Permalink
try installing git from this orb?
Browse files Browse the repository at this point in the history
  • Loading branch information
JComins000 committed Oct 29, 2024
1 parent 8125381 commit 9890b21
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
10 changes: 10 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,16 @@ jobs:
mv -v tmpfile "<<pipeline.parameters.params_basename>>"
fi
- run:
name: Set det-version parameter.
command: |
VERSION=$(./version.sh)
echo "Version is: [${VERSION}]"
echo "CIRCLE_TAG is: [${CIRCLE_TAG}]"
jq --arg version "${VERSION}" '. += {"det-version": $version}' < "<<pipeline.parameters.params_basename>>" > tmpfile
mv -v tmpfile "<<pipeline.parameters.params_basename>>"
cat "<<pipeline.parameters.params_basename>>"
# this must be last; persist the file to the workspace
- persist_to_workspace:
root: .
Expand Down
7 changes: 3 additions & 4 deletions .circleci/real_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ orbs:
kubernetes: circleci/[email protected]
queue: eddiewebb/[email protected]
win: circleci/[email protected]
python: circleci/[email protected]

executors:
python-38:
Expand Down Expand Up @@ -2697,10 +2698,8 @@ jobs:
executor: << parameters.executor-name >>
steps:
- checkout
- run:
name: Install git
command: |
sudo apt-get install git
- python/install-packages:
packages: ['git']
- run:
name: Set VERSION environment variable
command: |
Expand Down

0 comments on commit 9890b21

Please sign in to comment.