-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
name: [TEST RUN] Pushing fondant base image | ||
name: Build Python 🐍 distributions 📦 and publish to TestPyPI | ||
on: | ||
push: | ||
branches: | ||
- "feature/build-fondant-base-image" | ||
tags: | ||
- '[0-9]+.[0-9]+.*[0-9]+*' | ||
|
||
env: | ||
AWS_REGION : us-east-1 | ||
|
@@ -56,5 +56,27 @@ jobs: | |
with: | ||
registry-type: public | ||
|
||
- name: Build components | ||
run: ./scripts/build_components.sh -t $GITHUB_REF_NAME | ||
|
||
- name: Build data explorer | ||
run: ./scripts/build_explorer.sh -t $GITHUB_REF_NAME | ||
|
||
- name: Build base image | ||
run: ./scripts/build_base_image.sh -t $GITHUB_REF_NAME | ||
|
||
- name: Update version in pyproject.toml with tag version | ||
run: sed -i "s/^version = .*/version = '${{github.ref_name}}'/" pyproject.toml | ||
|
||
- name: Build a binary wheel and a source tarball | ||
run: | | ||
pip install poetry | ||
./scripts/pre-build.sh | ||
poetry build | ||
- name: Publish distribution 📦 to Test PyPI | ||
uses: pypa/[email protected] | ||
with: | ||
name: testpypi | ||
repository_url: https://test.pypi.org/legacy/ | ||
url: https://test.pypi.org/p/fondant |