Skip to content

Commit c7c4410

Browse files
authored
Merge pull request #6395 from Flowminder/remove-autoflow
Remove AutoFlow
2 parents 22d11df + c26cd0f commit c7c4410

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+424
-14373
lines changed

.circleci/config.yml

Lines changed: 3 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -637,56 +637,12 @@ jobs:
637637
- upload_codecov:
638638
test: test_results
639639

640-
run_autoflow_tests:
641-
docker:
642-
- image: cimg/python:3.8.5
643-
working_directory: /home/circleci/project/autoflow
644-
steps:
645-
- checkout:
646-
path: /home/circleci/project/
647-
- restore_cache:
648-
keys:
649-
- autoflow-deps-6-{{ checksum "Pipfile.lock" }}
650-
- run: &install_autoflow_deps
651-
name: Install non-python autoflow dependencies
652-
command: |
653-
sudo apt-get update --allow-releaseinfo-change && sudo apt-get install -y postgresql pandoc ruby
654-
sudo gem i rubygems-update -v '<3'
655-
sudo update_rubygems
656-
sudo gem install bundler -v 2.3.26
657-
sudo gem install bundle
658-
bundle install
659-
- run:
660-
name: Install python dependencies
661-
command: |
662-
pipenv install --deploy --dev
663-
- save_cache:
664-
key: autoflow-deps-6-{{ checksum "Pipfile.lock" }}
665-
paths:
666-
- /home/circleci/.local/share/virtualenvs/
667-
- run:
668-
name: Run autoflow unit tests
669-
command: |
670-
pipenv run python -m pytest --junitxml=test_results/pytest/results.xml --cov=./ \
671-
--cov-report term --cov-report xml --durations=10
672-
- store_test_results:
673-
path: test_results
674-
- upload_codecov:
675-
test: test_results
676-
677640
build_docker_image:
678641
parameters:
679642
component:
680643
type: enum
681644
enum:
682-
[
683-
"flowmachine",
684-
"flowauth",
685-
"flowapi",
686-
"flowkit-examples",
687-
"flowetl",
688-
"autoflow",
689-
]
645+
["flowmachine", "flowauth", "flowapi", "flowkit-examples", "flowetl"]
690646
component_path:
691647
type: string
692648
machine:
@@ -826,11 +782,6 @@ jobs:
826782
at: /home/circleci
827783
- restore_cache:
828784
key: integration-test-deps-6-{{ checksum "Pipfile.lock" }}
829-
- when:
830-
condition:
831-
equal: ["not query_tests", << parameters.pytest_selector >>]
832-
steps:
833-
- run: *install_autoflow_deps
834785
- run: pipenv install --deploy --dev
835786
- save_cache:
836787
key: integration-test-deps-6-{{ checksum "Pipfile.lock" }}
@@ -841,7 +792,7 @@ jobs:
841792
name: Run integration tests
842793
command: |
843794
PIPENV_DONT_LOAD_ENV=1 FLOWAPI_PORT=9090 pipenv run pytest -sv --junitxml=test_results/pytest/results.xml --durations=10 \
844-
--cov=../flowmachine --cov=../flowclient --cov=../flowapi --cov=../autoflow \
795+
--cov=../flowmachine --cov=../flowclient --cov=../flowapi \
845796
--cov-report xml \
846797
--cov-report term \
847798
-k "<<parameters.pytest_selector>>"
@@ -1052,7 +1003,7 @@ jobs:
10521003
command: |
10531004
export DOCKER_USER=$DOCKER_CLOUD_USER
10541005
export DOCKER_PASS=$DOCKER_CLOUD_PASSWORD
1055-
for IMAGE in flowapi flowmachine flowdb flowdb-oracle flowdb-synthetic-data flowdb-testdata flowauth flowkit-examples flowetl autoflow; do
1006+
for IMAGE in flowapi flowmachine flowdb flowdb-oracle flowdb-synthetic-data flowdb-testdata flowauth flowkit-examples flowetl; do
10561007
docker-retag flowminder/$IMAGE:$CIRCLE_SHA1 ${<< parameters.tag >>:-latest}
10571008
done
10581009
@@ -1106,8 +1057,6 @@ workflows:
11061057
requires:
11071058
- build_flowdb_synthdata
11081059
<<: *run_always_org_context
1109-
- run_autoflow_tests:
1110-
<<: *run_always_org_context
11111060
- build_docker_image:
11121061
name: build_examples
11131062
component: flowkit-examples
@@ -1139,11 +1088,6 @@ workflows:
11391088
component: flowapi
11401089
component_path: flowapi
11411090
<<: *run_always_org_context
1142-
- build_docker_image:
1143-
name: build_autoflow
1144-
component: autoflow
1145-
component_path: autoflow
1146-
<<: *run_always_org_context
11471091
- run_flowauth_end_to_end_tests:
11481092
requires:
11491093
- build_flowauth
@@ -1236,8 +1180,6 @@ workflows:
12361180
- build_flowetl_wheel
12371181
- build_flowkit_jwt_generator_wheel
12381182
- run_flowmachine_tests
1239-
- run_autoflow_tests
1240-
- build_autoflow
12411183
- build_flowdb_oracle
12421184
<<: *master_only_org_context
12431185
- retag_images:

.github/dependabot.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@ updates:
1111
open-pull-requests-limit: 10
1212
ignore:
1313
- dependency-name: "apache/airflow" # Airflow image version needs to stay in sync with version in flowetl Pipfile
14-
- package-ecosystem: bundler
15-
directory: "/autoflow"
16-
schedule:
17-
interval: daily
18-
time: "04:00"
19-
timezone: Europe/London
20-
pull-request-branch-name:
21-
separator: "-"
22-
open-pull-requests-limit: 10
2314
- package-ecosystem: npm
2415
directory: "/flowauth/frontend"
2516
schedule:
@@ -171,3 +162,8 @@ updates:
171162
- dependency-name: "pglast" # pglast version is pinned because different versions may produce different query IDs
172163
labels:
173164
- FlowMachine
165+
- package-ecosystem: "github-actions"
166+
directory: "/"
167+
schedule:
168+
# Check for updates to GitHub Actions every week
169+
interval: "weekly"

.github/workflows/codeql-analysis.yml

Lines changed: 33 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -4,48 +4,42 @@ on:
44
push:
55
pull_request:
66
schedule:
7-
- cron: '0 13 * * 4'
7+
- cron: "0 13 * * 4"
88

99
jobs:
1010
CodeQL-Build:
11-
1211
runs-on: ubuntu-latest
1312

1413
steps:
15-
- name: Checkout repository
16-
uses: actions/checkout@v2
17-
with:
18-
# We must fetch at least the immediate parents so that if this is
19-
# a pull request then we can checkout the head.
20-
fetch-depth: 2
21-
22-
# If this run was triggered by a pull request event, then checkout
23-
# the head of the pull request instead of the merge commit.
24-
- run: git checkout HEAD^2
25-
if: ${{ github.event_name == 'pull_request' }}
26-
27-
# Initializes the CodeQL tools for scanning.
28-
- name: Initialize CodeQL
29-
uses: github/codeql-action/init@v1
30-
# Override language selection by uncommenting this and choosing your languages
31-
# with:
32-
# languages: go, javascript, csharp, python, cpp, java
33-
34-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
35-
# If this step fails, then you should remove it and run the build manually (see below)
36-
- name: Autobuild
37-
uses: github/codeql-action/autobuild@v1
38-
39-
# ℹ️ Command-line programs to run using the OS shell.
40-
# 📚 https://git.io/JvXDl
41-
42-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
43-
# and modify them (or add more) to build your code if your project
44-
# uses a compiled language
45-
46-
#- run: |
47-
# make bootstrap
48-
# make release
49-
50-
- name: Perform CodeQL Analysis
51-
uses: github/codeql-action/analyze@v1
14+
- name: Checkout repository
15+
uses: actions/checkout@v2
16+
with:
17+
# We must fetch at least the immediate parents so that if this is
18+
# a pull request then we can checkout the head.
19+
fetch-depth: 2
20+
21+
# Initializes the CodeQL tools for scanning.
22+
- name: Initialize CodeQL
23+
uses: github/codeql-action/init@v2
24+
# Override language selection by uncommenting this and choosing your languages
25+
with:
26+
languages: python, javascript #, go, csharp, cpp, java
27+
28+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
29+
# If this step fails, then you should remove it and run the build manually (see below)
30+
- name: Autobuild
31+
uses: github/codeql-action/autobuild@v2
32+
33+
# ℹ️ Command-line programs to run using the OS shell.
34+
# 📚 https://git.io/JvXDl
35+
36+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
37+
# and modify them (or add more) to build your code if your project
38+
# uses a compiled language
39+
40+
#- run: |
41+
# make bootstrap
42+
# make release
43+
44+
- name: Perform CodeQL Analysis
45+
uses: github/codeql-action/analyze@v2

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1414

1515
### Removed
1616

17+
- Removed AutoFlow. [#6394](https://github.com/Flowminder/FlowKit/issues/6394)
18+
1719
## [1.19.0]
1820

1921
### Added

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ DOCKER_COMPOSE_TESTDATA_FILE_BUILD ?= docker-compose-testdata-build.yml
2727
DOCKER_COMPOSE_SYNTHETICDATA_FILE_BUILD ?= docker-compose-syntheticdata-build.yml
2828
DOCKER_SERVICES ?= flowdb flowapi flowmachine flowauth flowmachine_query_locker flowetl flowetl_db worked_examples
2929
DOCKER_SERVICES_TO_START = $(patsubst flowdb%,flowdb,$(DOCKER_SERVICES))
30-
services := flowmachine flowmachine_query_locker flowapi flowauth flowdb worked_examples flowdb_testdata flowdb_synthetic_data flowetl flowetl_db autoflow
30+
services := flowmachine flowmachine_query_locker flowapi flowauth flowdb worked_examples flowdb_testdata flowdb_synthetic_data flowetl flowetl_db
3131
space :=
3232
space +=
3333
DOCKER_COMPOSE := docker compose -f $(DOCKER_COMPOSE_FILE)

autoflow.Dockerfile

Lines changed: 0 additions & 47 deletions
This file was deleted.

autoflow.Dockerfile.dockerignore

Lines changed: 0 additions & 20 deletions
This file was deleted.

autoflow/.coveragerc

Lines changed: 0 additions & 24 deletions
This file was deleted.

autoflow/.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

autoflow/Gemfile

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)