Skip to content

Canary Automated Testing #471

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 116 commits into from
Mar 21, 2025
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
d8cab8f
Add a workflow to test and publish releases
chewy-zlai Mar 4, 2025
6af9e09
Update version of setup-python action
chewy-zlai Mar 4, 2025
1e21aa5
Add id-token:write permission
chewy-zlai Mar 4, 2025
6314ce2
Remove unnecessary gcp credentials from build artifacts job
chewy-zlai Mar 4, 2025
4de2174
Use Major.Minor.Patch for test version
chewy-zlai Mar 5, 2025
ec9ac6e
Fix env variable setting
chewy-zlai Mar 5, 2025
171dac2
Set version to 0.0.0 for testing
chewy-zlai Mar 5, 2025
06881e0
Add Bazel cache credentials, and add failure hanlding to both integra…
chewy-zlai Mar 5, 2025
e725aa7
Pass in ssh key to checkout action. Also add dependency on both integ…
chewy-zlai Mar 5, 2025
1fa9f2d
Add version back to python wheel name
chewy-zlai Mar 5, 2025
9d37543
Add id-token permissions to integration test jobs
chewy-zlai Mar 5, 2025
86ef8d8
fix name of aws role to assume
chewy-zlai Mar 5, 2025
5321830
Rename github-actions
chewy-zlai Mar 5, 2025
a80796d
fix service account names
chewy-zlai Mar 5, 2025
ad2275f
activate venv to find zipline command
chewy-zlai Mar 5, 2025
b80e698
Fix python path
chewy-zlai Mar 5, 2025
5eaee89
remove gcp submitter jar as it is not needed anymore.
chewy-zlai Mar 5, 2025
4af4c33
Add test of compile to aws integration tests
chewy-zlai Mar 5, 2025
9d0e80f
fix gcp region env variable
chewy-zlai Mar 5, 2025
9b8e625
cleaned some whitespace
chewy-zlai Mar 5, 2025
d2e4d53
cleaned some more whitespace
chewy-zlai Mar 5, 2025
aa34249
run fetch command on its own to see if it gives an error message
chewy-zlai Mar 6, 2025
8873a14
Merge branch 'main' of https://github.com/zipline-ai/chronon into che…
chewy-zlai Mar 6, 2025
df72a92
Merge branch 'main' of https://github.com/zipline-ai/chronon into che…
chewy-zlai Mar 6, 2025
d5092ba
fix typo
chewy-zlai Mar 6, 2025
7ddcc4c
define green to fix the info bars
chewy-zlai Mar 6, 2025
0d02a31
Fix references to env.Version. Also fix arn for AWS credentials
chewy-zlai Mar 6, 2025
15ce246
fix missed reference to Version
chewy-zlai Mar 6, 2025
70a17a7
rename references to jars
chewy-zlai Mar 6, 2025
38aa6ae
fix aws customer names
chewy-zlai Mar 6, 2025
4acb554
remove ls
chewy-zlai Mar 6, 2025
cf5fa58
remove base for now
chewy-zlai Mar 6, 2025
7a0d7a2
Readd base back in
chewy-zlai Mar 6, 2025
941bffd
Add pushing artifacts to dev
chewy-zlai Mar 6, 2025
60f5382
Remove pushing to plaid as their infra isn't setup yet
chewy-zlai Mar 6, 2025
345c0ba
Done testing. Trigger on published release now
chewy-zlai Mar 6, 2025
5c0e9c2
Edit devnotes to include instructions for publishing a new release
chewy-zlai Mar 6, 2025
b216c2a
Remove TODO for setting the version
chewy-zlai Mar 6, 2025
4596836
Merge branch 'main' of https://github.com/zipline-ai/chronon into che…
chewy-zlai Mar 6, 2025
6b2374d
Update to python 3.11 for building the wheel to match .tool-versions,…
chewy-zlai Mar 6, 2025
e6f3084
Try splitting out push_to_canary into separate jobs.
chewy-zlai Mar 7, 2025
1dc3150
Fix names of wheel and jars
chewy-zlai Mar 7, 2025
c034901
Checkout the repo for new jobs
chewy-zlai Mar 7, 2025
e39cc58
Stop pushing quickstart image to canary and start pushing jars
chewy-zlai Mar 7, 2025
c031aee
remove empty env from step
chewy-zlai Mar 7, 2025
31efee7
switch service account to github_actions
chewy-zlai Mar 7, 2025
650a4e4
testing passed. Run on pushes to main
chewy-zlai Mar 7, 2025
098d1e7
Delete artifacts after publishing to reduce storage costs
chewy-zlai Mar 10, 2025
6acabb3
Set version to 0.0.0 for testing
chewy-zlai Mar 10, 2025
4f84228
Done testing. Use version from release again
chewy-zlai Mar 10, 2025
f9aa2fa
Test pushing to plaid
chewy-zlai Mar 10, 2025
0c787fc
Add python wheel to canary push
chewy-zlai Mar 10, 2025
170e40d
Test version with 'v' prefix
chewy-zlai Mar 10, 2025
1a12024
Test python version
chewy-zlai Mar 10, 2025
638b771
Handle release version tags which start with 'v'
chewy-zlai Mar 10, 2025
302edbc
Ignore 'v' prefix on tags
chewy-zlai Mar 10, 2025
2f6e228
Fix ignoring 'v' prefix on tags
chewy-zlai Mar 10, 2025
7f9f494
Fix reference to env variable
chewy-zlai Mar 10, 2025
35fd8d2
Handle v in version
chewy-zlai Mar 11, 2025
3a709ee
Fetch tags
chewy-zlai Mar 11, 2025
ab350a4
Done testing release workflow
chewy-zlai Mar 11, 2025
d88c705
Use 'git tag' instead of 'git describe'
chewy-zlai Mar 11, 2025
e48baa6
Pass wheel file name as an output between jobs
chewy-zlai Mar 11, 2025
af2565d
Use renamed branches
chewy-zlai Mar 11, 2025
e3642ce
Merge branch 'main' of https://github.com/zipline-ai/chronon into che…
chewy-zlai Mar 11, 2025
6b0c355
add aws testing
chewy-zlai Mar 11, 2025
ea6e000
Change wheels to wheel. Add metadata
chewy-zlai Mar 11, 2025
084dfc7
update metadata for gcs
chewy-zlai Mar 12, 2025
82d86ab
update metadata for gcs and ignore errors deleting glue table
chewy-zlai Mar 12, 2025
7ffd48e
Ignore errors deleting s3 tables. Separate metadata update from pushi…
chewy-zlai Mar 12, 2025
1e00a22
use '|| true' to ignore failures when deleting s3 objects and glue ta…
chewy-zlai Mar 12, 2025
dfb2dc0
Add CUSTOMER_ID=canary
chewy-zlai Mar 12, 2025
57b965c
Push to Canary works now. Setting to push to main
chewy-zlai Mar 12, 2025
53fad09
Add VERSION as a env variable
chewy-zlai Mar 12, 2025
13712c2
Restructure to push jars before testing
chewy-zlai Mar 12, 2025
41b020e
move integration testing logic to push_to_canary and have publish_rel…
chewy-zlai Mar 13, 2025
880137f
rename CANARY_CONFS_SSH_KEY secret and clean up python wheel at end o…
chewy-zlai Mar 13, 2025
552059e
remove empty env
chewy-zlai Mar 13, 2025
a440715
Fix wheel references
chewy-zlai Mar 13, 2025
b879b0d
add GH_TOKEN env variable for github actions
chewy-zlai Mar 13, 2025
24cab40
Fix reference to wheel_file, and narrow permissions
chewy-zlai Mar 14, 2025
aadf632
Add actions: read permission
chewy-zlai Mar 14, 2025
ef94244
Merge branch 'main' of https://github.com/zipline-ai/chronon into che…
chewy-zlai Mar 14, 2025
244b18c
Add GH_TOKEN to step converting release to draft
chewy-zlai Mar 14, 2025
1c6be4d
Separate canary testing PR from release publishing PR
chewy-zlai Mar 14, 2025
0740b66
Merge branch 'main' of https://github.com/zipline-ai/chronon into che…
chewy-zlai Mar 14, 2025
544c039
Move artifact deletion to after the tests. Also add info to failure S…
chewy-zlai Mar 14, 2025
115a08c
Use 'version' parameter and refactor some of the test code into a fun…
chewy-zlai Mar 14, 2025
f824b34
Merge branch 'main' of https://github.com/zipline-ai/chronon into che…
chewy-zlai Mar 15, 2025
755ac3c
Merge branch 'main' of https://github.com/zipline-ai/chronon into che…
chewy-zlai Mar 17, 2025
b5f1e5c
Fail on dataproc error
chewy-zlai Mar 17, 2025
55fc27d
Extract state string
chewy-zlai Mar 18, 2025
23d374d
Give write permissions to job which pushes to main-passing-tests
chewy-zlai Mar 18, 2025
fb59b21
testing passed. Run on pushes to main
chewy-zlai Mar 18, 2025
5f9da00
Clean up whitespace
chewy-zlai Mar 18, 2025
936e793
Remove more whitespace
chewy-zlai Mar 18, 2025
8f7800e
Cancel running spark jobs if the workflow is cancelled
chewy-zlai Mar 18, 2025
124f517
use if: cancelled()
chewy-zlai Mar 19, 2025
99c99c8
remove unneeded download steps
chewy-zlai Mar 19, 2025
19e3753
remove whitespace
chewy-zlai Mar 19, 2025
ab03d02
add id to workflow step to reference job_id output
chewy-zlai Mar 19, 2025
8c85421
Use correct gcloud command
chewy-zlai Mar 19, 2025
d7ba819
add region to command to kill spark job
chewy-zlai Mar 19, 2025
34d5aaa
quiet flag and ignore errors
chewy-zlai Mar 19, 2025
2047218
cancelling the job worked. Setting it to pushs on main again
chewy-zlai Mar 19, 2025
4486afc
Move table deletion into the same step as the tests
chewy-zlai Mar 19, 2025
1d8bf87
Merge branch 'main' of https://github.com/zipline-ai/chronon into che…
chewy-zlai Mar 19, 2025
184e7bf
Use existing scripts to run integration tests
chewy-zlai Mar 19, 2025
933a52f
Merge branch 'main' of https://github.com/zipline-ai/chronon into che…
chewy-zlai Mar 20, 2025
6c8bb1e
fix aws group_bys team, and setup gcloud
chewy-zlai Mar 20, 2025
68bea64
Passing tests. push on main
chewy-zlai Mar 21, 2025
0c23800
Review edits
chewy-zlai Mar 21, 2025
8d3fee3
Add sha to wheel version. Use quickstart for both dev and canary unti…
chewy-zlai Mar 21, 2025
177f9bf
Merge branch 'main' of https://github.com/zipline-ai/chronon into che…
chewy-zlai Mar 21, 2025
f814e62
One last test before I merge
chewy-zlai Mar 21, 2025
151064b
Done testing
chewy-zlai Mar 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/push_to_canary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ jobs:
uses: google-github-actions/auth@v2
with:
project_id: ${{env.GCP_PROJECT_ID}}
workload_identity_provider: projects/703996152583/locations/global/workloadIdentityPools/github-actions/providers/github
service_account: githubactions@canary-443022.iam.gserviceaccount.com
workload_identity_provider: projects/${{secrets.GCP_CANARY_PROJECT_NUMBER}}/locations/global/workloadIdentityPools/github-actions/providers/github
service_account: github-actions@${{secrets.GCP_CANARY_PROJECT_ID}}.iam.gserviceaccount.com

- name: Set up Google Cloud SDK
uses: google-github-actions/setup-gcloud@v2
Expand Down
Loading
Loading