Uh oh!
There was an error while loading. Please reload this page.
[Part 2] Calendar to GCS Operator - #20769
Conversation
rsg17
commented
Jan 9, 2022
I would like some help on how to do system tests. I have created the example dag and system test file; but I am not sure how to test it. I read through this guide. I think I need make some changes to variables.env file; but I am not sure what these changes should be. Also, I am not sure about the --forward-credentials option for running system tests. Which credentials will it forward? Do I need to put the credentials somewhere? |
From your example DAG it looks like you need to set up two variables:
Apart from that you will need to add a credentials key because you are using it in test: @pytest.mark.credential_file(GCP_GCS_KEY)The file should be named
Regarding this question:
You need to use credentials to some GCP project. As far as I know we don't have airflow project that can be used for this purpose (cc @potiuk to confirm). |
rsg17
commented
Jan 9, 2022
Thank you! |
josh-fell
left a comment
There was a problem hiding this comment.
Looks pretty good! Just a few suggestions.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Is this TODO still needed? The associated doc looks relatively complete.
You can always mark PRs as a draft first if you still have some WIP actions you'd like to do before you'd like a more detailed review.
There was a problem hiding this comment.
Actually I marked it as TODO because I think it needs the doc url.. which I assumed would be created after I merged this PR.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Thank you for all your help @turbaszek. Could you help take a look? This gives the error location: self = <subprocess.Popen object at 0x4065c8b250> Here is the error: I tried running |
fcdd63b to
34babc8CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
60a9bc9 to
2b70f38Comparersg17
commented
Feb 1, 2022
@turbaszek |
The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease. |
rsg17
commented
Feb 15, 2022
Rebased. Thank you! |

related: #8471
This PR adds a Google Calendar to GCS Operator to write Google Calendar Events to GCS.
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.