Skip to content
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

Main prerelease 3 5 0 #1360

Merged
merged 340 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
340 commits
Select commit Hold shift + click to select a range
e1b53c1
Merge pull request #1202 from swirlai/ds-1574
dnicodemus Feb 16, 2024
4274734
Created DevUtils home for various things to get them out of the top l…
dnicodemus Feb 19, 2024
e27cac0
Instructions for debug and tests
dnicodemus Feb 19, 2024
8bf2bd4
New Snowflake AI connector and SP
sid-swirl Feb 19, 2024
7e9ed27
Pandas
sid-swirl Feb 19, 2024
1318f21
Merge pull request #1206 from swirlai/DS-1706
dnicodemus Feb 19, 2024
8975804
Merge pull request #1205 from swirlai/DS-1701
dnicodemus Feb 19, 2024
cd8419e
Fix base class
sid-swirl Feb 20, 2024
f2f1ba0
Merge pull request #1207 from swirlai/DS-1706
dnicodemus Feb 20, 2024
b37e02f
snowflake-ai-connector-connlist-variable-fix
Feb 20, 2024
448ee13
Merge pull request #1208 from srbhr/fix-snowflake-connector-issue
dnicodemus Feb 20, 2024
1e79d95
FIX CSRF
dnicodemus Feb 21, 2024
3403714
change oauth headers
dkostenko-orionalliance Feb 21, 2024
5434d61
Merge pull request #1212 from swirlai/change-oauth-headers
erikspears Feb 21, 2024
c58bd5b
add a default
dnicodemus Feb 21, 2024
79e410d
static ui page updates for develop branch
erikspears Feb 21, 2024
126d32f
Merge pull request #1215 from swirlai/ds1713-updates
dnicodemus Feb 21, 2024
3589ae0
Clean output from snowflake, don't set error state on stem miss
sid-swirl Feb 21, 2024
e2d4338
Merge pull request #1216 from swirlai/DS-1706
dnicodemus Feb 21, 2024
7786818
Restore credlist fix DUH
sid-swirl Feb 21, 2024
b1d109f
Merge pull request #1217 from swirlai/DS-1706
dnicodemus Feb 21, 2024
2c1c725
Merge pull request #1209 from swirlai/DS-1616-fix-csrf
erikspears Feb 21, 2024
1bd032a
update Dockerfile to account for new DevUtils directory
erikspears Feb 21, 2024
0db6613
Merge pull request #1218 from swirlai/ds-1717
dnicodemus Feb 21, 2024
baed2c7
testing optimized Dockerfile syntax
erikspears Feb 21, 2024
f415be4
adjust in order of operations in the new Dockerfile
erikspears Feb 21, 2024
65f8d86
troubleshooting errors with new dockerfile builds
erikspears Feb 21, 2024
1640343
more updates to optimize docker build; testing a requirements.txt change
erikspears Feb 21, 2024
1e915c0
remove extra line before PR
erikspears Feb 21, 2024
b9d73ea
retrieving accidentally deleted workflow file on this branch
erikspears Feb 21, 2024
66d7188
Merge pull request #1219 from swirlai/ds-1720
dnicodemus Feb 21, 2024
4b8b4a6
Snowflake ai JSON load error fix
Feb 22, 2024
044be95
Merge pull request #1222 from srbhr/fix-json-keys-error
dnicodemus Feb 22, 2024
3e5a2cc
Add more warnings, handle \n\n anywhere
sid-swirl Feb 22, 2024
0cfb158
Re-add json conversion of dataframe json-string to dict
sid-swirl Feb 22, 2024
b0225b3
merge develop
dnicodemus Feb 22, 2024
d549bed
Merge pull request #1223 from swirlai/DS-1706
dnicodemus Feb 22, 2024
04c9975
update automated test workflows and scripts to use new docker image +…
erikspears Feb 24, 2024
cb625df
adjust name values back to previous; couple small cleanups
erikspears Feb 24, 2024
0cdf44d
reset names again; this time need to nudge propagation of changes fir…
erikspears Feb 24, 2024
82c3c2b
add docker hub login for new image repo
erikspears Feb 24, 2024
743f4e7
Merge pull request #1225 from swirlai/ds1739-develop
erikspears Feb 25, 2024
47ec495
rename one workflow file on develop
erikspears Feb 25, 2024
e7b2c4d
Merge pull request #1227 from swirlai/ds1739-develop
erikspears Feb 25, 2024
7588e7f
Commit the chart-feature version of the UI
dnicodemus Feb 27, 2024
9d3ddb1
Merge pull request #1232 from swirlai/DS-1758-ui-x-dist
dnicodemus Feb 27, 2024
b71c0ca
Build for a stand alone docker image
dnicodemus Feb 28, 2024
7374392
support files for various docker images
dnicodemus Feb 28, 2024
4bb8a7b
Merge pull request #1234 from swirlai/DS-1759
dnicodemus Feb 28, 2024
f013670
removing test YML files from develop
erikspears Feb 28, 2024
b79c210
Merge pull request #1238 from swirlai/rm-tests-develop
dnicodemus Feb 28, 2024
a63bb34
remove home page updagte
dnicodemus Feb 28, 2024
e1873a5
Merge pull request #1240 from swirlai/DS-1759
dnicodemus Feb 28, 2024
bddaaef
replace and update testing yml files on develop
erikspears Feb 28, 2024
601978f
update Tests badge on readme.md in develop
erikspears Feb 28, 2024
7d3fed9
Merge pull request #1241 from swirlai/ds-1752-develop
erikspears Feb 28, 2024
055120a
Shell to generate commands and fix to Dockerfile
dnicodemus Feb 28, 2024
7ffeac2
fix
dnicodemus Feb 28, 2024
33debcd
Merge pull request #1243 from swirlai/DS-1759
dnicodemus Feb 28, 2024
086e91e
all works for me now
dnicodemus Feb 28, 2024
e800039
Some more support files
dnicodemus Feb 28, 2024
4b7f081
SnowflakeAI no result if 'insufficient context' in body
sid-swirl Feb 29, 2024
e2f3475
Merge pull request #1249 from swirlai/DS-1763
dnicodemus Feb 29, 2024
6a5fa63
Remove test stub and add a timeout to the query execution for snow fl…
dnicodemus Feb 29, 2024
5127b65
fix comment
dnicodemus Feb 29, 2024
2b1ad4b
better error logging
dnicodemus Feb 29, 2024
affded9
Merge branch 'develop' into DS-1759
dnicodemus Feb 29, 2024
9ec3ed3
image and start up seem to work for most important features
dnicodemus Feb 29, 2024
bc1590e
Merge pull request #1253 from swirlai/DS-1759
dnicodemus Feb 29, 2024
d72fa50
fix spelling
dnicodemus Feb 29, 2024
08c061f
sequence docker and docker-sa on develop branch
erikspears Feb 29, 2024
ab71b46
Merge pull request #1258 from swirlai/ds1759-workflows-develop
dnicodemus Feb 29, 2024
2854887
Merge pull request #1252 from swirlai/DS-1767_DS-1766
dnicodemus Mar 1, 2024
56aa80b
update qa-wip.yml with tag options
erikspears Mar 1, 2024
bdf17f4
remove some cruft
erikspears Mar 1, 2024
4bc1547
Merge branch 'develop' into fix-wip-dev
erikspears Mar 1, 2024
9d3d87a
Merge pull request #1262 from swirlai/fix-wip-dev
erikspears Mar 1, 2024
27e3d1a
update chomium details in qa workflows on develop
erikspears Mar 1, 2024
e187ccc
Merge pull request #1263 from swirlai/qa-chromium-dev
erikspears Mar 1, 2024
9243ca3
update VS Code debugger readme and make it a markdown file too
erikspears Mar 1, 2024
4f5927f
Merge pull request #1265 from swirlai/ds1701-doc
dnicodemus Mar 1, 2024
5db2e92
add csrf to .env.docker on develop
erikspears Mar 2, 2024
0fb9e7f
Merge pull request #1267 from swirlai/ds1784-develop
erikspears Mar 2, 2024
9306db4
fix develop branch docker image tag
erikspears Mar 3, 2024
45eb5e9
Merge branch 'develop' into ds1784-develop
erikspears Mar 3, 2024
d77fae7
Merge pull request #1268 from swirlai/ds1784-develop
erikspears Mar 3, 2024
abfd3df
remove duplicate code checkout
erikspears Mar 3, 2024
f2baa09
Merge branch 'develop' into ds1784-develop
erikspears Mar 3, 2024
4d6a0e4
Merge pull request #1269 from swirlai/ds1784-develop
erikspears Mar 3, 2024
c23fcde
remove duplicate step from develop version
erikspears Mar 3, 2024
3e009d2
update develop SA docker build to use branch variable correctly
erikspears Mar 4, 2024
07c1890
Merge pull request #1272 from swirlai/ds1784-develop
erikspears Mar 4, 2024
4a7fbc5
update Dockerfile to 3.12.2 Python on develop
erikspears Mar 4, 2024
934fc21
Merge pull request #1274 from swirlai/ds1629-develop
dnicodemus Mar 4, 2024
0771904
Revert "update develop SA docker build to use branch variable correctly"
erikspears Mar 4, 2024
bfc6436
Merge pull request #1276 from swirlai/revert-1272-ds1784-develop
erikspears Mar 4, 2024
97eed25
add branch to the workflow run
dnicodemus Mar 4, 2024
6dfc970
Merge pull request #1277 from swirlai/DS-1775-fix-sa
dnicodemus Mar 4, 2024
6af694e
undo optimiztions on develop Dockerfile; they broke stuff
erikspears Mar 4, 2024
7c9e409
Merge pull request #1279 from swirlai/ds1796-develop
dnicodemus Mar 4, 2024
413eba9
no quoites
dnicodemus Mar 4, 2024
fe4cb52
Merge pull request #1281 from swirlai/DS-1775-fix-sa
dnicodemus Mar 4, 2024
2489593
introduce logic to handle the docker image tagging correctly for any …
erikspears Mar 5, 2024
1c6879f
Merge pull request #1283 from swirlai/ds1797-develop
erikspears Mar 5, 2024
56e9606
changes for conifigurable loggin
dnicodemus Mar 5, 2024
0c31ce2
Merge pull request #1286 from swirlai/DS-1812
dnicodemus Mar 6, 2024
58d905b
Init logger for Djanog app, disambiguiate logger in request, fix a ty…
dnicodemus Mar 6, 2024
6b0c655
Merge pull request #1287 from swirlai/DS-1812-fix-1
dnicodemus Mar 6, 2024
92dd9f7
clean up import star
dnicodemus Mar 6, 2024
a524d47
fix logging in relevancy
dnicodemus Mar 6, 2024
76ab4a6
Merge pull request #1290 from swirlai/DS-1812-fix-3
dnicodemus Mar 6, 2024
825e5d8
Merge pull request #1289 from swirlai/DS-1812-fix-2
dnicodemus Mar 6, 2024
0afda25
fix typo in query xform class
erikspears Mar 7, 2024
eaf6e0f
Merge pull request #1291 from swirlai/ds1518-commdev
dnicodemus Mar 7, 2024
30282d7
bringing over some fixes from Enterprise
dnicodemus Mar 7, 2024
eb9f597
fix a double add
dnicodemus Mar 7, 2024
347cdaf
sync this file up by hand from public develop
dnicodemus Mar 7, 2024
df2e0fe
Merge pull request #1292 from swirlai/DS-1812-review-1
dnicodemus Mar 7, 2024
1f6ba8e
a way to clone a specific repo if you have access
dnicodemus Mar 7, 2024
b4e8e48
Merge pull request #1293 from swirlai/DS-1826
dnicodemus Mar 7, 2024
c9391c5
update qa workflows on develop
erikspears Mar 8, 2024
df7a07f
Merge pull request #1294 from swirlai/qa-workflows
dnicodemus Mar 8, 2024
f47dc42
provide defaults for some env values
dnicodemus Mar 8, 2024
a550393
Merge pull request #1296 from swirlai/DS-1782
dnicodemus Mar 8, 2024
66e80f0
update banner to 3.5.0 on develop
erikspears Mar 8, 2024
c273fd1
Merge pull request #1297 from swirlai/ds1838
dnicodemus Mar 8, 2024
a169ae3
Remove Snowflake AI connector, init, model, SP
sid-swirl Mar 10, 2024
83d0800
Update default SPs
sid-swirl Mar 10, 2024
3519ec6
Remove unused snowflake package
sid-swirl Mar 11, 2024
c688bee
fix spelling mistake
dnicodemus Mar 11, 2024
743aa8c
Merge pull request #1300 from swirlai/DS-1839
dnicodemus Mar 11, 2024
0ec0d75
Update db.sqlite3.dist, tweak preloaded formatting
sid-swirl Mar 11, 2024
53f2d83
Merge pull request #1299 from swirlai/DS-1816
dnicodemus Mar 12, 2024
80f295e
update Django version on develop
erikspears Mar 20, 2024
cc3cd1b
Merge pull request #1301 from swirlai/ds-1884-pubdev
dnicodemus Mar 20, 2024
5ecc094
DS-1880 replicate the changes from enterprise swirl to how the number…
spencer-solomon Mar 27, 2024
ee56f0d
Merge pull request #1302 from swirlai/DS-1880
dnicodemus Mar 27, 2024
6b39efd
update QA Suite workflow setup on develop branch
erikspears Apr 1, 2024
6ddcba1
Merge pull request #1306 from swirlai/ds1935-pubdev
erikspears Apr 1, 2024
d05ad00
add new test+build workflow to develop branch
erikspears Apr 4, 2024
bea576b
Merge pull request #1314 from swirlai/ds1936-develop
erikspears Apr 4, 2024
ddf22ec
pin lxml version
erikspears Apr 4, 2024
438a545
Merge pull request #1315 from swirlai/ds1944-pubdev
dnicodemus Apr 4, 2024
a35c84c
add boolean NOT config to some SPs + fresh db.dist
erikspears Apr 5, 2024
a4b0538
Merge pull request #1316 from swirlai/ds-1955
erikspears Apr 6, 2024
70f55f3
new testing wip workflow for test debugging in the GH runners
erikspears Apr 7, 2024
82e58a9
Merge pull request #1317 from swirlai/ds1936-develop
erikspears Apr 7, 2024
11ecec7
remove page-fetch config from MS SP
erikspears Apr 7, 2024
6c40e60
set prior testing and build workflows to manual only on develop
erikspears Apr 7, 2024
c7c9b41
Merge pull request #1320 from swirlai/ds1936-develop
erikspears Apr 8, 2024
c3fe6b8
Merge pull request #1319 from swirlai/ds1962-develop
dnicodemus Apr 8, 2024
2fedea2
update to drf-spectacular for Swagger OpenAPI
erikspears Apr 10, 2024
43e3452
fix index page link to new OpenAPI docs
erikspears Apr 10, 2024
5e979b1
serializers and views updates for new OpenAPI doc
erikspears Apr 10, 2024
3f69d7f
forgot to add one new serializer to views
erikspears Apr 10, 2024
db0b930
Merge pull request #1322 from swirlai/ds-1977
dnicodemus Apr 10, 2024
1a07d26
update test workflows to use new GH secrets via env file
erikspears Apr 12, 2024
70a1bca
Merge pull request #1326 from swirlai/ds1983-pubdevelop
erikspears Apr 12, 2024
bdabebe
Merge branch 'develop' into DS-1842
erikspears Apr 16, 2024
2bf3685
merge in develop; updated pre-checkin-tests.sh
erikspears Apr 16, 2024
9b7d831
Merge pull request #1298 from swirlai/DS-1842
erikspears Apr 16, 2024
234035e
add back snowflake package
erikspears Apr 16, 2024
49e9eb3
Merge pull request #1327 from swirlai/DS-1842
erikspears Apr 16, 2024
5b7db07
couple updates to Swirl adming ui
erikspears Apr 19, 2024
84c33cd
Merge pull request #1328 from swirlai/ds2032-public
dnicodemus Apr 19, 2024
267b2e2
small text updates to Admin UI
erikspears Apr 19, 2024
73de94c
Merge pull request #1329 from swirlai/ds2032-public
erikspears Apr 19, 2024
61f3320
add new env var to test workflows
erikspears Apr 19, 2024
962a4f0
Merge branch 'develop' into ds2032-public
erikspears Apr 19, 2024
13322ae
Merge pull request #1330 from swirlai/ds2032-public
erikspears Apr 19, 2024
61f1944
fix typo in test workflow updates
erikspears Apr 19, 2024
117e3da
Merge branch 'ds2032-public' of https://github.com/swirlai/swirl-sear…
erikspears Apr 19, 2024
026529e
Merge branch 'develop' into ds2032-public
erikspears Apr 19, 2024
46dbcaa
Merge pull request #1331 from swirlai/ds2032-public
erikspears Apr 19, 2024
45db500
cleaning up individual testing and docker workflows; manual trigger o…
erikspears Apr 22, 2024
0fad889
fix indentation in updated unit tests workflow
erikspears Apr 22, 2024
8e5877b
fix indentation on updates docker builds workflow
erikspears Apr 22, 2024
5f6561c
Merge pull request #1332 from swirlai/ds2035-pubdev
erikspears Apr 22, 2024
5b69d3e
Fix broken logs for new preview UI
dnicodemus Apr 22, 2024
deb690b
remove custom debug
dnicodemus Apr 22, 2024
b022afc
Merge pull request #1334 from swirlai/DS-2018
erikspears Apr 22, 2024
ef709a6
update job name in qa-suite.yml
erikspears Apr 22, 2024
5cec9f1
Merge pull request #1335 from swirlai/ds2035-pubdev
erikspears Apr 22, 2024
6ee4a1b
fix max int and add ability to pass or ignore certs
dnicodemus Apr 23, 2024
955780f
bring this fix udpate over to open-source
erikspears Apr 25, 2024
b4a6dfc
Merge pull request #1338 from swirlai/ds1944-public
dnicodemus Apr 25, 2024
f32cd08
Merge pull request #1337 from swirlai/DS-1973-cert-args
erikspears Apr 25, 2024
fd917df
exclude brandingconfig viewset from swagger; get rid of a couple warn…
erikspears Apr 25, 2024
f96eb62
Merge pull request #1339 from swirlai/ds-2068
dnicodemus Apr 25, 2024
beee9d7
start enabling of RAG automated testing
erikspears Apr 25, 2024
c484db7
update testing workflow steps to enable RAG tests against develop branch
erikspears Apr 26, 2024
d5f5178
Merge pull request #1340 from swirlai/ds1741-public
erikspears Apr 26, 2024
ef4bfdd
update testing workflows for RAG etc.
erikspears Apr 27, 2024
b0cc0e1
Merge pull request #1342 from swirlai/ds1741-public
erikspears Apr 27, 2024
e2e7134
update Swagger doc to only render /api/ paths; remove microsoft token…
erikspears Apr 29, 2024
1815074
Merge pull request #1343 from swirlai/ds-2080
erikspears Apr 29, 2024
4761a80
add exclusion to swgger docs
erikspears Apr 30, 2024
4924710
Merge pull request #1344 from swirlai/ds-2076-public
dnicodemus Apr 30, 2024
89757eb
Parched from cherry pick fix from Enterprise
dnicodemus May 2, 2024
b0ec08e
include load files too
dnicodemus May 2, 2024
6ddee66
a DB in sync with the changes
dnicodemus May 2, 2024
85b5ebf
update credentials line in SPs
erikspears May 2, 2024
c32a784
Merge pull request #1346 from swirlai/DS-1821
erikspears May 2, 2024
33e96c8
first pass at updating the automated testing run steps
erikspears May 3, 2024
f6c174b
specify dockerfile
erikspears May 3, 2024
c1dbc15
update test+build workflow
erikspears May 3, 2024
e9cb5ba
add explanation comment and logfile upload
erikspears May 3, 2024
a4e9dcc
fix new step syntax error
erikspears May 3, 2024
5276ab3
update the qa-suite.yml as well
erikspears May 3, 2024
c1ef67c
revert to original commands section
erikspears May 3, 2024
95aefb0
fix indentation in workflow
erikspears May 3, 2024
067de9a
sorting env var issues
erikspears May 4, 2024
c90783a
fix env vars
erikspears May 4, 2024
43334f3
update other qa suite workflows
erikspears May 4, 2024
d33504a
Merge pull request #1347 from swirlai/ds-2116
erikspears May 4, 2024
3999568
fix env stuff
erikspears May 4, 2024
59fd8f8
Merge branch 'develop' into ds-2116
erikspears May 4, 2024
5220d81
Merge pull request #1348 from swirlai/ds-2116
erikspears May 4, 2024
9c4176e
fix minor bugs
dnicodemus May 6, 2024
4dc9ff9
Merge pull request #1349 from swirlai/DS-1419-fix-indexer
dnicodemus May 6, 2024
38ee34a
first pass at in-kind qa workflow updates here
erikspears May 15, 2024
a6033cc
remove unnecessary step from qa workflow updates
erikspears May 15, 2024
d7bd363
add openai api key to .env
erikspears May 15, 2024
8cbc5f1
update qa-wip.yml; and remove unnecessary qa docker compose build yml
erikspears May 15, 2024
5daa2f9
update test and build pipeline workflow
erikspears May 15, 2024
cfbfbb9
Merge pull request #1352 from swirlai/ds-2136
dnicodemus May 15, 2024
0e22312
update logo on Django homepage
erikspears May 17, 2024
6c16b1c
Merge pull request #1356 from swirlai/ds-2143
erikspears May 20, 2024
21b4987
freeze requirements.txt for release
erikspears May 22, 2024
5ece4d3
merged release 3.5.0 into pre-release branch
dnicodemus May 22, 2024
05447fc
use the preview UI
dnicodemus May 22, 2024
d27c707
take from main
dnicodemus May 22, 2024
c9fb4e8
point test runs to correct qa docker image
dnicodemus May 22, 2024
c7c2e73
remove devutils azure from public, don't need it
dnicodemus May 22, 2024
5b5d783
sync sqllite dist db
dnicodemus May 22, 2024
2ed44ba
--no-cache
dnicodemus May 22, 2024
3f02dbb
odd and ends
dnicodemus May 22, 2024
896cc4d
temp change to testing workflow
erikspears May 22, 2024
1e8a1dc
reset temp test workflow change
erikspears May 22, 2024
64f3149
fresh db.dist
erikspears May 22, 2024
9ddbacc
remove duplicate line
erikspears May 23, 2024
1ee3e66
remove extra line
erikspears May 23, 2024
ceac470
update Swagger description text
erikspears May 23, 2024
0f41cf0
remove old swagger json page
erikspears May 23, 2024
2283983
update logos in uploads dir
erikspears May 23, 2024
bebe372
put up a static page for passwrd reset
dnicodemus May 23, 2024
4bc1f88
add maileto link
dnicodemus May 23, 2024
f007b3c
set the microsoftGalaxyOauth value to tru
dnicodemus May 24, 2024
3680e75
update docker-compose.yaml with UI auth param
erikspears May 24, 2024
144810f
Merge pull request #1366 from swirlai/DS-2180
dnicodemus May 24, 2024
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
1 change: 1 addition & 0 deletions .env.dist
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ MICROSOFT_CLIENT_ID=''
MICROSOFT_CLIENT_SECRET=''
MICROSOFT_REDIRECT_URI=''
CSRF_TRUSTED_ORIGINS='http://localhost:8000'
# SWIRL_LOG_DEBUG='examples : swirl.page_fetch.web_page, swirl.processors.rag'
4 changes: 2 additions & 2 deletions .github/workflows/docker-image-spg-experimental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
docker system prune -af
docker volume prune -f
docker builder prune -f
- name: Build the Docker Image
- name: Build the Docker image
run: docker build --no-cache -t swirlai/spyglass:fork-x -f Dockerfile.fork.spg .
- name: Push the Docker Image
- name: Push the Docker image
run: docker push swirlai/spyglass:fork-x
- name: Upload Log Files
if: always()
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-image-spg-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
docker system prune -af
docker volume prune -f
docker builder prune -f
- name: Build the Docker Image
- name: Build the Docker image
run: docker build --no-cache -t swirlai/spyglass:preview -f Dockerfile.develop.spg .
- name: Push the Docker Image
- name: Push the Docker image
run: docker push swirlai/spyglass:preview
- name: Upload Log Files
if: always()
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker-image-spg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
docker system prune -af
docker volume prune -f
docker builder prune -f
- name: Build the Docker Image
run: docker build --no-cache -t swirlai/spyglass:latest -f Dockerfile.spg .
- name: Push the Docker Image
- name: Build the Docker image
run: docker build --no-cache -t swirlai/spyglass:latest -f Dockerfile.spg .
- name: Push the Docker image
run: docker push swirlai/spyglass
- name: Upload Log Files
if: always()
Expand Down
79 changes: 30 additions & 49 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker + SA Docker Builds
name: Docker Build and Push

on:
# Manual trigger only
Expand All @@ -7,51 +7,32 @@ on:
jobs:

swirl-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout the Code
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push Swirl Docker Image
run: |
BRANCH_NAME=${GITHUB_REF#refs/heads/}
TAG_NAME=$([ "$BRANCH_NAME" = "main" ] && echo "latest" || echo "$BRANCH_NAME")
docker buildx use devBuilder || docker buildx create --name devBuilder --use
docker buildx build -t swirlai/swirl-search:$TAG_NAME --platform linux/amd64,linux/arm64 --push .
- name: Update the Docker Repo Description
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKER_USERNAME_X }}
password: ${{ secrets.DOCKER_PASSWORD_X }}
repository: swirlai/swirl-search

standalone-docker:
needs: swirl-docker
runs-on: ubuntu-latest
steps:
- name: Checkout the Code
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push Standalone Docker Image
run: |
BRANCH_NAME=${GITHUB_REF#refs/heads/}
TAG_SUFFIX="-sa"
TAG_NAME=$([ "$BRANCH_NAME" = "main" ] && echo "latest$TAG_SUFFIX" || echo "$BRANCH_NAME$TAG_SUFFIX")
docker buildx use devBuilder || docker buildx create --name devBuilder --use
docker buildx build -f DevUtils/docker/Dockerfile.sa --platform linux/amd64,linux/arm64 -t swirlai/swirl-search:${TAG_NAME} --push .
- name: Upload Log Files
if: always()
uses: actions/upload-artifact@v4
with:
name: log-files
path: |
logs/
/var/log/syslog*
runs-on: ubuntu-latest
steps:
- name: Checkout the Code
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push Swirl Docker Image
run: |
BRANCH_NAME=${GITHUB_REF#refs/heads/}
TAG_NAME=$([ "$BRANCH_NAME" = "main" ] && echo "latest" || echo "$BRANCH_NAME")
docker buildx use devBuilder || docker buildx create --name devBuilder --use
docker buildx build -t swirlai/swirl-search:$TAG_NAME --platform linux/amd64,linux/arm64 --push .
- name: Update the Docker Repo Description
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKER_USERNAME_X }}
password: ${{ secrets.DOCKER_PASSWORD_X }}
repository: swirlai/swirl-search
- name: Upload Log Files
if: always()
uses: actions/upload-artifact@v4
with:
name: log-files
path: |
logs/
/var/log/syslog*
5 changes: 2 additions & 3 deletions .github/workflows/qa-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
workflow_dispatch:

jobs:

qa-suite:
runs-on: ubuntu-latest
services:
Expand All @@ -29,14 +28,14 @@ jobs:
- name: Set Up Python
uses: actions/setup-python@v5
with:
python-version: '3.12.1'
python-version: '3.12.2'
cache: 'pip'
- name: Install Swirl
run: ./install.sh
- name: Setup Swirl
run: python swirl.py setup
- name: Install the Latest Galaxy UI
run: ./install-ui.sh
run: ./install-ui.sh -p
env:
MSAL_CB_PORT: 8000
MSAL_HOST: localhost
Expand Down
109 changes: 45 additions & 64 deletions .github/workflows/test-build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout the Code
uses: actions/checkout@v4
- name: Set Up Python
uses: actions/setup-python@v5
with:
python-version: '3.12.1'
cache: 'pip'
- name: Install Swirl
run: ./install.sh
- name: Install the Unit Tests
run: ./install-test.sh
- name: Run the Unit Tests
run: pytest
- name: Checkout the Code
uses: actions/checkout@v4
- name: Set Up Python
uses: actions/setup-python@v5
with:
python-version: '3.12.2'
cache: 'pip'
- name: Install Swirl
run: ./install.sh
- name: Install the Unit Tests
run: ./install-test.sh
- name: Run the Unit Tests
run: pytest

qa-suite:
needs: unit-tests
Expand All @@ -53,14 +53,14 @@ jobs:
- name: Set Up Python
uses: actions/setup-python@v5
with:
python-version: '3.12.1'
python-version: '3.12.2'
cache: 'pip'
- name: Install Swirl
run: ./install.sh
- name: Setup Swirl
run: python swirl.py setup
- name: Install the Latest Galaxy UI
run: ./install-ui.sh
run: ./install-ui.sh -p
env:
MSAL_CB_PORT: 8000
MSAL_HOST: localhost
Expand All @@ -84,52 +84,33 @@ jobs:
docker run --net=host --env-file .env.qa -t swirlai/swirl-search-qa:automated-tests-master sh -c "behave --tags=qa_suite,community"

swirl-docker:
needs: qa-suite
runs-on: ubuntu-latest
steps:
- name: Checkout the Code
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push Swirl Docker Image
run: |
BRANCH_NAME=${GITHUB_REF#refs/heads/}
TAG_NAME=$([ "$BRANCH_NAME" = "main" ] && echo "latest" || echo "$BRANCH_NAME")
docker buildx use devBuilder || docker buildx create --name devBuilder --use
docker buildx build -t swirlai/swirl-search:$TAG_NAME --platform linux/amd64,linux/arm64 --push .
- name: Update the Docker Repo Description
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKER_USERNAME_X }}
password: ${{ secrets.DOCKER_PASSWORD_X }}
repository: swirlai/swirl-search

standalone-docker:
needs: swirl-docker
runs-on: ubuntu-latest
steps:
- name: Checkout the Code
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push Standalone Docker Image
run: |
BRANCH_NAME=${GITHUB_REF#refs/heads/}
TAG_SUFFIX="-sa"
TAG_NAME=$([ "$BRANCH_NAME" = "main" ] && echo "latest$TAG_SUFFIX" || echo "$BRANCH_NAME$TAG_SUFFIX")
docker buildx use devBuilder || docker buildx create --name devBuilder --use
docker buildx build -f DevUtils/docker/Dockerfile.sa --platform linux/amd64,linux/arm64 -t swirlai/swirl-search:${TAG_NAME} --push .
- name: Upload Log Files
if: always()
uses: actions/upload-artifact@v4
with:
name: log-files
path: |
logs/
/var/log/syslog*
needs: qa-suite
runs-on: ubuntu-latest
steps:
- name: Checkout the Code
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push Swirl Docker Image
run: |
BRANCH_NAME=${GITHUB_REF#refs/heads/}
TAG_NAME=$([ "$BRANCH_NAME" = "main" ] && echo "latest" || echo "$BRANCH_NAME")
docker buildx use devBuilder || docker buildx create --name devBuilder --use
docker buildx build -t swirlai/swirl-search:$TAG_NAME --platform linux/amd64,linux/arm64 --push .
- name: Update the Docker Repo Description
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKER_USERNAME_X }}
password: ${{ secrets.DOCKER_PASSWORD_X }}
repository: swirlai/swirl-search
- name: Upload Log Files
if: always()
uses: actions/upload-artifact@v4
with:
name: log-files
path: |
logs/
/var/log/syslog*
Loading