Skip to content

Commit

Permalink
Tabular Merger: Moved to tabular-tools and fixed CI actions (#524)
Browse files Browse the repository at this point in the history
* chore: moved tabular merger tool to other repo

* ci: debugging actions
  • Loading branch information
nishaq503 authored Mar 11, 2024
1 parent 5932b3e commit f2a5d68
Show file tree
Hide file tree
Showing 14 changed files with 12 additions and 881 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/package-filter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
persist-credentials: false
- name: Find Updated Packages
id: package-filter
run: |
Expand All @@ -63,19 +62,27 @@ jobs:
fi
echo "The comparison point is ${comparison_point}"
for changed_file in $(git diff --name-only ${comparison_point}...)
# Get the changed files
changed_files=$(git diff --name-only ${comparison_point}...)
# echo the changed files
echo "The changed files are $changed_files"
for changed_file in $changed_files
do
pkg_dir=$(dirname ${changed_file})
echo "The file is $changed_file"
# Exclude the root directory
if [ "$pkg_dir" == "." ]
if [[ "$pkg_dir" = "." ]]
then
continue
fi
# Check if the changed file is a pyproject.toml file
if [ "$(basename ${changed_file})" == *"pyproject.toml"* ]
if [[ "$(basename ${changed_file})" = *"pyproject"* ]]
then
echo "Found a pyproject.toml file in $pkg_dir"
# Check that the package has all the necessary companion files
for companion_file in $COMPANION_FILES
do
Expand All @@ -88,7 +95,7 @@ jobs:
# Check that the version is a dev version
echo "Checking for dev version in $pkg_dir"
if [ $(cat $pkg_dir/VERSION) != *"dev"* ]
if [[ $(cat $pkg_dir/VERSION) != *"dev"* ]]
then
msg="${pkg_dir} does not have a dev version"
if [ ${{ inputs.ignore-missing-dev }} ]
Expand Down
27 changes: 0 additions & 27 deletions transforms/tabular/tabular-merger-tool/.bumpversion.cfg

This file was deleted.

21 changes: 0 additions & 21 deletions transforms/tabular/tabular-merger-tool/Dockerfile

This file was deleted.

52 changes: 0 additions & 52 deletions transforms/tabular/tabular-merger-tool/README.md

This file was deleted.

1 change: 0 additions & 1 deletion transforms/tabular/tabular-merger-tool/VERSION

This file was deleted.

4 changes: 0 additions & 4 deletions transforms/tabular/tabular-merger-tool/build-docker.sh

This file was deleted.

114 changes: 0 additions & 114 deletions transforms/tabular/tabular-merger-tool/plugin.json

This file was deleted.

34 changes: 0 additions & 34 deletions transforms/tabular/tabular-merger-tool/pyproject.toml

This file was deleted.

30 changes: 0 additions & 30 deletions transforms/tabular/tabular-merger-tool/run-plugin.sh

This file was deleted.

This file was deleted.

Loading

0 comments on commit f2a5d68

Please sign in to comment.