Skip to content

Commit

Permalink
[FLINK-17375] Adopt nightly python wheels jobs to refactored ci scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
rmetzger committed May 26, 2020
1 parent a22b130 commit 1d2aa07
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tools/azure-pipelines/build-python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
# Compile
- script: |
${{parameters.environment}} ./tools/ci/compile.sh
./tools/azure-pipelines/create_build_artifact.sh
displayName: Compile
- script: |
Expand All @@ -33,14 +32,13 @@ jobs:
name: set_version
- script: |
cd $(Pipeline.Workspace)
tar czf $(Pipeline.Workspace)/flink.tar.gz flink_cache/flink-dist/target/flink-$(set_version.VERSION)-bin/flink-$(set_version.VERSION)
tar czf $(Pipeline.Workspace)/flink.tar.gz flink-dist/target/flink-$(set_version.VERSION)-bin/flink-$(set_version.VERSION)
displayName: Compress in tgz
# upload artifacts for building wheels
- task: PublishPipelineArtifact@1
inputs:
path: $(FLINK_ARTIFACT_DIR)
targetPath: $(Pipeline.Workspace)/flink.tar.gz
artifact: FlinkCompileArtifact-${{parameters.stage_name}}

- job: build_wheels
Expand All @@ -64,7 +62,7 @@ jobs:
- script: |
tar zxf $(Pipeline.Workspace)/flink.tar.gz -C $(Pipeline.Workspace)
mkdir -p flink-dist/target/flink-$(VERSION)-bin
ln -snf $(CACHE_FLINK_DIR)/flink-dist/target/flink-$(VERSION)-bin/flink-$(VERSION) `pwd`/flink-dist/target/flink-$(VERSION)-bin/flink-$(VERSION)
ln -snf $(Pipeline.Workspace)/flink-dist/target/flink-$(VERSION)-bin/flink-$(VERSION) `pwd`/flink-dist/target/flink-$(VERSION)-bin/flink-$(VERSION)
displayName: Recreate 'flink-dist/target' symlink
- script: |
cd flink-python
Expand Down

0 comments on commit 1d2aa07

Please sign in to comment.