Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Continuous Integration: independent release process
This commit introduces several new pipelines to aid a PXF release process independent of any underlying SQL database. This commit thus includes scripts for making and managing a PXF RPM, which includes the C extension, whose code now lives under external-table/. These are the new pipelines: * pivnet_artifacts: a pipeline that fetches releases of GPDB from PivNet, aka TanzuNet * pxf-build: pipeline that builds and releases new PXF artifacts * dev-pxf-build: dev version of pxf-build, much abbreviated * pxf-certification: pipeline that tests existing PXF artifacts against new versions of Greenplum * pxf_pr_pipeline: new PR pipeline which uses the new build process Version is now managed at the top level, in a file `version`. By changing this file to a non-SNAPSHOT version, we can create a release using the pxf-build pipeline. This causes a new tag/release to be triggered on GitHub (Releases API), as well as a new SNAPSHOT version to be committed. Further, by uploading an OSL file to the appropriate cloud location, we trigger publication of our release to the Release Engineering team. Along with an independent release, we are now also installing PXF not under GPHOME but separately in PXF_HOME. Thus this commit also has changes to the PXF CLI to reflect the new install location. This includes a new command called `pxf [cluster] register` to re-install the PXF C extension under GPHOME. Other noteworthy changes include: * The new pipelines make use of smaller images that don't include PXF dependencies, but instead pull in those dependencies via tarballs that are pre-built. * The new pattern for setting pipelines is to have targets in concourse/Makefile. * Cloud tests have been hardened to reduce flakiness * In CI scripts we source ~gpadmin/.pxfrc which is cached on each image * Slack integrations have been added for pxf-certification, pxf-build, and dev-pxf-build pipelines Co-authored-by: Oliver Albertini <oalbertini@vmware.com> Co-authored-by: Alexander Denissov <adenissov@pivotal.io> Co-authored-by: Francisco Guerrero <aguerrero@pivotal.io>
- Loading branch information
1 parent
5938ad7
commit 2674c5a
Showing
102 changed files
with
7,114 additions
and
592 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
on: | ||
push: | ||
# Sequence of patterns matched against refs/tags | ||
tags: | ||
- '*' # match on any tag | ||
|
||
name: Create Release | ||
|
||
jobs: | ||
build: | ||
name: Create Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: PXF Version ${{ github.ref }} | ||
body: | | ||
## PLACE CHANGELOG diff in here | ||
draft: false | ||
prerelease: false |
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 |
---|---|---|
|
@@ -3,6 +3,10 @@ | |
*.pyc | ||
*.log | ||
*.out | ||
*.rpm | ||
*.deb | ||
*.o | ||
*.so | ||
build/ | ||
server/*/out | ||
server/tmp | ||
server/pxf-cli/go/pkg |
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
Oops, something went wrong.