-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update o2a converter to support Airflow 2
- Update mappers and templates for control and action nodes; - Update requirements for supporting Airflow>=2; - Update folder structure for o2a_libs; - Add scripts for kokoro CI; - Update documentation and tests; Change-Id: I4424678f0c21044170aab65c14f9d1057bba57fe GitOrigin-RevId: dc0a985215a4d680860199d5f28e3f99ffcfcbdb
- Loading branch information
1 parent
4f86965
commit 9b05719
Showing
100 changed files
with
703 additions
and
329 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 |
---|---|---|
|
@@ -17,3 +17,4 @@ output-artifacts/ | |
*.egg-info/ | ||
/.eggs/ | ||
/pip-wheel-metadata | ||
/o2a/o2a_libs/dist |
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
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
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
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/env bash | ||
# Copyright 2019 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
set -euo pipefail | ||
MY_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
O2A_DIR="$( cd "${MY_DIR}/.." && pwd )" | ||
|
||
pushd "${O2A_DIR}" | ||
echo | ||
"${MY_DIR}/o2a-confirm" "Preparing production package" | ||
echo | ||
rm -rvf o2a/o2a_libs/dist/* | ||
rm -rvf o2a/o2a_libs/src/o2a_lib.egg-info | ||
rm -rvf .eggs | ||
python3 -m pip install --upgrade build | ||
python3 -m build o2a/o2a_libs | ||
echo | ||
"${MY_DIR}/o2a-confirm" "Uploading to production PyPi" | ||
echo | ||
python3 -m twine upload --repository-url https://upload.pypi.org/legacy/ o2a/o2a_libs/dist/* | ||
popd |
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,32 @@ | ||
#!/usr/bin/env bash | ||
# Copyright 2019 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
set -euo pipefail | ||
MY_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
O2A_DIR="$( cd "${MY_DIR}/.." && pwd )" | ||
|
||
pushd "${O2A_DIR}" | ||
echo | ||
"${MY_DIR}/o2a-confirm" "Preparing test package" | ||
echo | ||
rm -rvf o2a/o2a_libs/dist/* | ||
rm -rvf o2a/o2a_libs/src/o2a_lib.egg-info | ||
rm -rvf .eggs | ||
python3 -m pip install --upgrade build | ||
python3 -m build o2a/o2a_libs | ||
echo | ||
"${MY_DIR}/o2a-confirm" "Uploading to test PyPi" | ||
echo | ||
python3 -m twine upload --repository-url https://test.pypi.org/legacy/ o2a/o2a_libs/dist/* | ||
popd |
Oops, something went wrong.