Skip to content

Commit

Permalink
Merge pull request #37 from RedHatGov/bugfix/osdk-manager
Browse files Browse the repository at this point in the history
Bugfix/osdk manager
  • Loading branch information
jharmison-redhat authored Feb 17, 2021
2 parents 76d3001 + 01e6c64 commit cdde003
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,11 @@ jobs:
password: ${{ secrets.QUAY_PASSWORD }}
- name: Build, bundle, and push (develop)
run: |
pip3 install --user --upgrade setuptools wheel pip
hack/operate.sh --push-images --bundle --develop --verbose --formatter
if: github.ref == 'refs/heads/develop'
- name: Build, bundle, and push
run: |
pip3 install --user --upgrade setuptools wheel pip
hack/operate.sh --push-images --bundle --extra-tag=latest --verbose --formatter
if: github.ref == 'refs/heads/main'
4 changes: 2 additions & 2 deletions hack/operate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,9 @@ function update_components() {
# Ensure we have the things we need to work with the operator-sdk
if [ -z "$components_updated" ]; then
if [ "$VIRTUAL_ENV" ]; then
error_run "Updating the Operator SDK manager" pip install --upgrade osdk-manager || return 1
error_run "Updating the Operator SDK manager" 'pip3 install --upgrade -r "$SCRIPT_ROOT/requirements.txt"' || return 1
else
error_run "Updating the Operator SDK manager" pip install --user --upgrade osdk-manager || return 1
error_run "Updating the Operator SDK manager" 'pip3 install --user --upgrade -r "$SCRIPT_ROOT/requirements.txt"' || return 1
fi
error_run "Updating the Operator SDK" 'sdk_version=$(osdk-manager osdk update -vvvv | cut -d" " -f 3)' || return 1
fi
Expand Down
1 change: 1 addition & 0 deletions hack/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
osdk-manager >= 0.3.1, == 0.3.*

0 comments on commit cdde003

Please sign in to comment.