Skip to content

Commit

Permalink
test code
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnider2195 committed Aug 21, 2024
1 parent eb0f297 commit e6d6f30
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,11 @@ jobs:
run: |
# Retrieve the version from the Docker image - for cases where the input version is "stable" or "latest"
docker run --rm -it --entrypoint "" ghcr.io/nautobot/nautobot-dev:${{ matrix.nautobot-version }}-py${{ matrix.python-version }} pip show nautobot \ |
grep "^Version" | sed "s/Version: //" >> /tmp/nautobot_version.txt
grep "^Version" | sed "s/Version: //" | tee /tmp/nautobot_version.txt
export NAUTOBOT_VER=$(cat /tmp/nautobot_version.txt)
echo "DEBUG: Using Nautobot version: $NAUTOBOT_VER" # Debugging
cat /tmp/nautobot_version.txt
echo "/tmp/nautobot_version.txt"
poetry add nautobot@$NAUTOBOT_VER --python ${{ matrix.python-version }}
- name: "Set up Docker Buildx"
id: "buildx"
Expand Down Expand Up @@ -155,7 +158,6 @@ jobs:
docker run --rm -it --entrypoint "" ghcr.io/nautobot/nautobot-dev:${{ matrix.nautobot-version }}-py${{ matrix.python-version }} pip show nautobot \ |
grep "^Version" | sed "s/Version: //" >> /tmp/nautobot_version.txt
export NAUTOBOT_VER=$(cat /tmp/nautobot_version.txt)
echo "Using Nautobot version: $NAUTOBOT_VER" # Debugging
poetry add nautobot@$NAUTOBOT_VER --python ${{ matrix.python-version }}
- name: "Set up Docker Buildx"
id: "buildx"
Expand Down

0 comments on commit e6d6f30

Please sign in to comment.