Skip to content

Commit

Permalink
packaging: Added workflow directory to each step on #2163
Browse files Browse the repository at this point in the history
  • Loading branch information
sulhicader committed Nov 16, 2023
1 parent c817498 commit cd63621
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/wave-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ jobs:
- uses: actions/checkout@v3

- name: Download H2O CLI
working-directory: ./university
run: mkdir -p .bin && curl -o .bin/h2o https://h2oai-cloud-release.s3.amazonaws.com/releases/ai/h2o/h2o-cloud/v0.28.2/cli/linux-amd64/h2o

- name: Change permissions
working-directory: ./university
run: chmod +x .bin/h2o

- name: Set version
working-directory: ./university
run: sed -i -r -e "s/\{\{VERSION\}\}/$(env.VERSION)/g" app.toml

- name: Get App Version
Expand All @@ -28,6 +31,7 @@ jobs:
echo "VERSION=${{ env.VERSION }}" >> "$GITHUB_OUTPUT"
- name: Make air-gapped bundle
working-directory: ./university
run: |
.bin/h2o bundle \
--docker-base-image 524466471676.dkr.ecr.us-east-1.amazonaws.com/q8s/launcher:v0.23.0-38 \
Expand All @@ -39,13 +43,15 @@ jobs:
--generate-dockerfile
- uses: actions/upload-artifact@v3
working-directory: ./university
with:
name: wave-bundle
path: |
./*.Dockerfile
./*.wave
- uses: actions/upload-artifact@v3
working-directory: ./university
with:
name: wave-bundle-helm
path: helm/
1 change: 0 additions & 1 deletion .github/workflows/wave.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ env:
jobs:
bundle:
name: Create Wave Bundle
working-directory: ./university
uses: ./.github/workflows/wave-bundle.yaml

publish:
Expand Down

0 comments on commit cd63621

Please sign in to comment.