Skip to content

Commit a705d0f

Browse files
committed
test adjustments added
Signed-off-by: Michael Zeevi <[email protected]>
1 parent 580c8fa commit a705d0f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ jobs:
3535
TAG: mellanox/${{ env.IMAGE_NAME }}
3636
run: |
3737
echo "Docker tags will be: $DOCKER_TAGS"
38-
for docker_tag in $DOCKER_TAGS; do
39-
make VERSION=$docker_tag image-build-multiarch image-push-multiarch
40-
done
38+
# for docker_tag in $DOCKER_TAGS; do
39+
# make VERSION=$docker_tag image-build-multiarch image-push-multiarch # TODO: uncomment after testing
40+
# done
4141
outputs:
4242
default_branch: ${{ env.DEFAULT_BRANCH }} # we output this here, to use in the following job's conditioning (due to github actions environment variable scope limitations).
4343

@@ -71,14 +71,15 @@ jobs:
7171
run: |
7272
git_sha=$(git rev-parse --short HEAD) # short git commit hash
7373
current_chart_version=$(yq '.version' deployment/network-operator/Chart.yaml)
74-
APP_VERSION=$git_sha VERSION=$current_chart_version-$git_sha make chart-build chart-push
74+
APP_VERSION=$git_sha VERSION=$current_chart_version-$git_sha make chart-build #chart-push # TODO: uncomment last goal after testing
7575
- name: Make package and push (`git_tag` as chart version)
7676
if: github.ref_type == 'tag'
7777
run: |
7878
git_tag=${{ github.ref_name }}
79-
APP_VERSION=$git_tag VERSION=${git_tag:1} make chart-build chart-push # VERSION as 'v' prefix removed
79+
APP_VERSION=$git_tag VERSION=${git_tag:1} make chart-build #chart-push # VERSION as 'v' prefix removed # TODO: uncomment last goal after testing
8080
8181
ocp-bundle:
82+
if: github.ref_type == 'foo' # TODO: remove condition after testing
8283
needs:
8384
- docker-build-push
8485
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)