Skip to content

Commit

Permalink
Use abs path to binaries in k8_cluster_test
Browse files Browse the repository at this point in the history
  • Loading branch information
tjtelan committed Nov 10, 2023
1 parent 899796b commit 5c196c0
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ jobs:
echo "DEFAULT_SPU=${{ matrix.spu }}" | tee -a $GITHUB_ENV
echo "REPL=${{ matrix.spu }}" | tee -a $GITHUB_ENV
- name: Print version
run: fluvio version && fluvio-test -h
run: ~/bin/fluvio version && ~/bin/fluvio-test -h
# Retag image to remove arch from tag
- name: Load Fluvio Docker Image
run: |
Expand Down Expand Up @@ -818,18 +818,18 @@ jobs:
if: matrix.test == 'smoke-test-k8' || matrix.test == 'stats-test'
timeout-minutes: 10
run: |
fluvio cluster start --develop --spu ${{ matrix.spu }} --rust-log ${{ env.SERVER_LOG }} --namespace ${K8_NAMESPACE}
~/bin/fluvio cluster start --develop --spu ${{ matrix.spu }} --rust-log ${{ env.SERVER_LOG }} --namespace ${K8_NAMESPACE}
- name: Start fluvio cluster TLS
timeout-minutes: 10
if: matrix.test == 'smoke-test-k8-tls'
run: |
fluvio cluster start --develop --spu ${{ matrix.spu }} --rust-log ${{ env.SERVER_LOG }} ${{ env.TLS_ARGS }} --namespace ${K8_NAMESPACE}
~/bin/fluvio cluster start --develop --spu ${{ matrix.spu }} --rust-log ${{ env.SERVER_LOG }} ${{ env.TLS_ARGS }} --namespace ${K8_NAMESPACE}
- name: Start fluvio cluster TLS with root
timeout-minutes: 10
if: matrix.test == 'smoke-test-k8-tls-root-unclean'
run: |
make smoke-test-k8-tls-policy-setup
fluvio cluster start --develop --spu ${{ matrix.spu }} --rust-log ${{ env.SERVER_LOG }} ${{ env.TLS_ARGS }} --namespace ${K8_NAMESPACE} --authorization-config-map authorization
~/bin/fluvio cluster start --develop --spu ${{ matrix.spu }} --rust-log ${{ env.SERVER_LOG }} ${{ env.TLS_ARGS }} --namespace ${K8_NAMESPACE} --authorization-config-map authorization
- name: Run ${{ matrix.test }}
timeout-minutes: 10
run: |
Expand Down Expand Up @@ -857,6 +857,7 @@ jobs:
# fail-fast: false
matrix:
os: [ubuntu-latest]
rust-target: [x86_64-unknown-linux-musl]
run: [r1]
steps:
- uses: actions/checkout@v4
Expand All @@ -868,22 +869,22 @@ jobs:
- name: Download artifact - fluvio
uses: actions/download-artifact@v3
with:
name: fluvio-x86_64-unknown-linux-musl
name: fluvio-${{ matrix.rust-target }}
path: ~/bin
- name: Download Docker Image as Artifact
uses: actions/download-artifact@v3
with:
name: infinyon-fluvio-x86_64-unknown-linux-musl.tar
name: infinyon-fluvio-${{ matrix.rust-target }}.tar
path: /tmp
- name: Mark xecutable
- name: Mark executable
run: |
chmod +x ~/bin/fluvio && ~/bin/fluvio version
# Retag image to remove arch from tag
- name: Load Fluvio Docker Image
run: |
ls -la /tmp
docker image load --input /tmp/infinyon-fluvio-x86_64-unknown-linux-musl.tar
docker image tag infinyon/fluvio:${{ github.sha }}-x86_64-unknown-linux-musl infinyon/fluvio:${{ github.sha }}
docker image load --input /tmp/infinyon-fluvio-${{ matrix.rust-target }}.tar
docker image tag infinyon/fluvio:${{ github.sha }}-${{ matrix.rust-target }} infinyon/fluvio:${{ github.sha }}
docker image ls -a
- name: Export Docker Image to tarball
Expand Down

0 comments on commit 5c196c0

Please sign in to comment.