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

Configure release pipeline, using shared actions from dbt-adapters #1

Merged
merged 96 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
1cd0d66
reuse shared actions from `dbt-adapters`
mikealfare Jan 26, 2024
a45563e
make updates that reflect updates in the shared actions for publishing
mikealfare Jan 26, 2024
087579e
point workflows to shared actions in dbt-adapters
mikealfare Jan 26, 2024
c49c76b
point workflows to config/release branch to test
mikealfare Jan 26, 2024
87125f9
point actions to config/release branch to test
mikealfare Jan 26, 2024
eb73665
pass credentials through for postgres setup
mikealfare Jan 26, 2024
d59cbe7
limit integration tests to ubuntu for testing
mikealfare Jan 26, 2024
b69a91f
make setup_db.sh executable
mikealfare Jan 26, 2024
3cb86c6
revert to the original action
mikealfare Jan 26, 2024
af7b7d5
break apart action into two steps, move script into scripts folder
mikealfare Jan 26, 2024
ca2ad1e
put the config script back in the same terminal as the postgres serve…
mikealfare Jan 27, 2024
794f29b
roll back the version of ubuntu to match dbt-core
mikealfare Jan 27, 2024
89ec631
elevate privileges when running the db script
mikealfare Jan 27, 2024
6134705
avoid a cd
mikealfare Jan 27, 2024
4f2865d
move db config script into action directory
mikealfare Jan 27, 2024
3c6a457
setup python before postgres
mikealfare Jan 27, 2024
f4d74a1
add required environment variables
mikealfare Jan 27, 2024
69f73e6
make the file executable
mikealfare Jan 27, 2024
4a926cf
make the setup script executable
mikealfare Jan 27, 2024
3c9843a
move the action steps into the workflow
mikealfare Jan 27, 2024
cdf3548
turn on persist credentials
mikealfare Jan 27, 2024
860d3db
remove working dir arg
mikealfare Jan 27, 2024
d875cfa
add print statement for debugging
mikealfare Jan 27, 2024
71e2604
move database configuration into sql file
mikealfare Jan 27, 2024
afd5001
update script call
mikealfare Jan 27, 2024
453713b
update script call
mikealfare Jan 27, 2024
e17b429
update script call
mikealfare Jan 27, 2024
a67511c
update script call
mikealfare Jan 27, 2024
c6756c1
update script call
mikealfare Jan 27, 2024
49c8519
update script call
mikealfare Jan 27, 2024
f3ecdbe
update script call
mikealfare Jan 27, 2024
9af2867
test empty script
mikealfare Jan 27, 2024
ed931fd
test empty script
mikealfare Jan 27, 2024
c2cefc2
test empty script
mikealfare Jan 27, 2024
38b2adb
test empty script
mikealfare Jan 27, 2024
5f84769
test empty script
mikealfare Jan 27, 2024
5348a7a
test empty script
mikealfare Jan 27, 2024
f9c6680
test empty script
mikealfare Jan 27, 2024
ef13ba4
test empty script
mikealfare Jan 27, 2024
d6f2907
test empty script
mikealfare Jan 27, 2024
0c8df35
test empty script
mikealfare Jan 27, 2024
cbbda05
test empty script
mikealfare Jan 27, 2024
0289ea6
test empty script
mikealfare Jan 27, 2024
0f6ba46
test empty script
mikealfare Jan 27, 2024
5fc4824
test empty script
mikealfare Jan 27, 2024
e166b3d
grant access to the file for postgres user
mikealfare Jan 27, 2024
2ec2b44
grant access to the file for postgres user
mikealfare Jan 27, 2024
e0ea031
grant access to the file for postgres user
mikealfare Jan 28, 2024
73ca781
grant access to the file for postgres user
mikealfare Jan 28, 2024
c61e99e
grant access to the file for postgres user
mikealfare Jan 28, 2024
9f706c1
revert to core process
mikealfare Jan 29, 2024
978c0db
make the file executable
mikealfare Jan 29, 2024
04a9482
make the file executable
mikealfare Jan 29, 2024
539243c
woohoo
mikealfare Jan 29, 2024
328d9ef
woohoo
mikealfare Jan 29, 2024
1924c8e
check permissions by running a stub script
mikealfare Jan 29, 2024
5586097
point actions back to dbt-adapters/main now that config-release was m…
mikealfare Jan 29, 2024
d128a74
call script directly
mikealfare Jan 29, 2024
1115c6e
verify access to the scripts directory
mikealfare Jan 29, 2024
de3bb43
verify action has access to the scripts directory
mikealfare Jan 29, 2024
444780a
verify postgres user has access to the scripts directory
mikealfare Jan 29, 2024
254e3de
swap with real script
mikealfare Jan 29, 2024
55758fc
test connection to postgres with debug query
mikealfare Jan 29, 2024
01615fa
test connection to postgres with debug query
mikealfare Jan 29, 2024
8db60a4
test connection to postgres with debug query
mikealfare Jan 29, 2024
fbc05bf
test connection to postgres with debug query
mikealfare Jan 29, 2024
37474f8
test connection to postgres with debug query
mikealfare Jan 29, 2024
15e9a3e
test connection to postgres with debug query
mikealfare Jan 29, 2024
793647f
test connection to postgres with debug query
mikealfare Jan 29, 2024
f807fd7
test add environment variables from script
mikealfare Jan 29, 2024
23f02b6
test add environment variables from script
mikealfare Jan 29, 2024
22cdd60
test add environment variables from script
mikealfare Jan 29, 2024
158e59e
test add environment variables from script
mikealfare Jan 29, 2024
2ff4167
test add environment variables from script
mikealfare Jan 29, 2024
fd3089d
test add environment variables from script
mikealfare Jan 30, 2024
d7b46dc
test add environment variables from script
mikealfare Jan 30, 2024
8569d4e
test error message received
mikealfare Jan 30, 2024
d792247
test error message received
mikealfare Jan 30, 2024
308878d
test error message received
mikealfare Jan 30, 2024
6989641
test error message received
mikealfare Jan 30, 2024
c020dff
try services approach
mikealfare Jan 30, 2024
aae803d
try services approach
mikealfare Jan 30, 2024
e03a0ac
try services approach
mikealfare Jan 30, 2024
bbbf134
try services approach
mikealfare Jan 30, 2024
402fc97
try services approach
mikealfare Jan 30, 2024
1b48fbb
try services approach
mikealfare Jan 30, 2024
3f37ba1
try services approach
mikealfare Jan 30, 2024
0728a1b
try services approach
mikealfare Jan 30, 2024
be230c4
try services approach
mikealfare Jan 30, 2024
a7b9264
try services approach
mikealfare Jan 30, 2024
5f1bfda
run integration tests in ci
mikealfare Jan 30, 2024
efc346e
remove debugging artifacts
mikealfare Jan 30, 2024
a78dd72
re-scope environment variables to specific step
mikealfare Jan 30, 2024
33ae245
remove leading "- " to avoid false positives
mikealfare Jan 30, 2024
ab04416
remove adapters-irrelevant tests
mikealfare Jan 30, 2024
fb5f047
remove adapters-irrelevant tests
mikealfare Jan 30, 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
25 changes: 0 additions & 25 deletions .github/actions/publish-pypi/action.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/actions/publish-results/action.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/actions/setup-environment/action.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/actions/setup-postgres-linux/action.yml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/actions/setup-postgres-linux/setup_db.sh

This file was deleted.

24 changes: 0 additions & 24 deletions .github/actions/setup-postgres-macos/action.yml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/actions/setup-postgres-macos/setup_db.sh

This file was deleted.

12 changes: 0 additions & 12 deletions .github/actions/setup-postgres-windows/action.yml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/actions/setup-postgres-windows/setup_db.sh

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint
name: Code Quality

on:
push:
Expand All @@ -16,7 +16,7 @@ concurrency:
cancel-in-progress: true

jobs:
lint:
code-quality:
name: Python 3.8
runs-on: ubuntu-latest

Expand All @@ -26,15 +26,11 @@ jobs:
with:
persist-credentials: false

- name: Setup environment
uses: ./.github/actions/setup-environment
with:
python-version: "3.8"
- name: Setup `hatch`
uses: dbt-labs/dbt-adapters/.github/actions/setup-hatch@main

- name: Run linters
run: hatch run lint:all
shell: bash

- name: Run typechecks
run: hatch run typecheck:all
shell: bash
Loading
Loading