Skip to content

Commit

Permalink
one more test
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Jan 26, 2024
1 parent 14d3630 commit ee734a5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,17 @@ jobs:
GIT_TAG: ${{ needs.generate-tag.outputs.tag }}
run: mapfile -t envs < <(grep -v '#.*' < .image.env) && export "${envs[@]}" && make kotsadm-bundle-nominio

- name: tar up the bundles
run: |
tar -czvf kotsadm.tar.gz kotsadm-bundle
tar -czvf kotsadm-nominio.tar.gz kotsadm-bundle-nominio
- name: Upload kotsadm bundle
uses: actions/upload-artifact@v4
with:
name: kotsadm-bundle
path: kotsadm.tar.gz
path: kotsadm-bundle

- name: Upload kotsadm bundle without minio
uses: actions/upload-artifact@v4
with:
name: kotsadm-bundle-nominio
path: kotsadm-nominio.tar.gz
path: kotsadm-bundle-nominio

# can-run-ci:
# runs-on: ubuntu-20.04
Expand Down
22 changes: 11 additions & 11 deletions scripts/create-airgap-file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ kind: Airgap
spec:
format: docker
savedImages:
- kotsadm/kotsadm:${GIT_TAG}
- kotsadm/kotsadm-migrations:${GIT_TAG}
- kotsadm/dex:${DEX_TAG}
- kotsadm/rqlite:${RQLITE_TAG}
- kotsadm/local-volume-provider:${LVP_TAG}
- kotsadm/kotsadm:${GIT_TAG//\'/}
- kotsadm/kotsadm-migrations:${GIT_TAG//\'/}
- kotsadm/dex:${DEX_TAG//\'/}
- kotsadm/rqlite:${RQLITE_TAG//\'/}
- replicated/local-volume-provider:${LVP_TAG//\'/}
EOF
else
cat > "${BUNDLE_DIR}"/airgap.yaml <<EOF
Expand All @@ -22,11 +22,11 @@ kind: Airgap
spec:
format: docker
savedImages:
- kotsadm/kotsadm:${GIT_TAG}
- kotsadm/kotsadm-migrations:${GIT_TAG}
- kotsadm/dex:${DEX_TAG}
- kotsadm/minio:${MINIO_TAG}
- kotsadm/rqlite:${RQLITE_TAG}
- kotsadm/local-volume-provider:${LVP_TAG}
- kotsadm/kotsadm:${GIT_TAG//\'/}
- kotsadm/kotsadm-migrations:${GIT_TAG//\'/}
- kotsadm/dex:${DEX_TAG//\'/}
- kotsadm/minio:${MINIO_TAG//\'/}
- kotsadm/rqlite:${RQLITE_TAG//\'/}
- replicated/local-volume-provider:${LVP_TAG//\'/}
EOF
fi

0 comments on commit ee734a5

Please sign in to comment.