-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00ff2ae
commit a1cf815
Showing
41 changed files
with
1,152 additions
and
1,519 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,38 @@ | ||
name: "Update dev branches" | ||
description: "Update dev branches for testing cross-repo changes" | ||
|
||
inputs: | ||
dbt-adapters-branch: | ||
description: "The branch/tag of `dbt-adapters` to use" | ||
default: "" | ||
dbt-common-branch: | ||
description: "The branch/tag of `dbt-common` to use" | ||
default: "" | ||
dbt-core-branch: | ||
description: "The branch/tag of `dbt-core` to use" | ||
default: "" | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: "[DEBUG] Inputs" | ||
shell: bash | ||
run: | | ||
echo dbt-adapters : ${{ inputs.dbt-adapters-branch }} | ||
echo dbt-common : ${{ inputs.dbt-common-branch }} | ||
echo dbt-core : ${{ inputs.dbt-core-branch }} | ||
- name: "Update `dbt-adapters` branch" | ||
if: ${{ inputs.dbt-adapters-branch }} | ||
shell: bash | ||
run: ./.github/actions/update-dev-branches/update_dev_branch.sh "dbt-adapters" ${{ inputs.dbt-adapters-branch }} | ||
|
||
- name: "Update `dbt-common` branch" | ||
if: ${{ inputs.dbt-common-branch }} | ||
shell: bash | ||
run: ./.github/actions/update-dev-branches/update_dev_branch.sh "dbt-common" ${{ inputs.dbt-common-branch }} | ||
|
||
- name: "Update `dbt-core` branch" | ||
if: ${{ inputs.dbt-core-branch }} | ||
shell: bash | ||
run: ./.github/actions/update-dev-branches/update_dev_branch.sh "dbt-core" ${{ inputs.dbt-core-branch }} |
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,15 @@ | ||
#!/bin/bash -e | ||
set -e | ||
|
||
package=$1 | ||
branch=$2 | ||
|
||
file="pyproject.toml" | ||
sed_pattern="s|${package}.git@main*|${package}.git@${branch}|g" | ||
|
||
# mac ships with a different version of sed that requires a delimiter arg | ||
if [[ "$OSTYPE" == darwin* ]]; then | ||
sed -i "" "$sed_pattern" $file | ||
else | ||
sed -i "$sed_pattern" $file | ||
fi |
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 |
---|---|---|
@@ -1,12 +1,13 @@ | ||
version: 2 | ||
|
||
updates: | ||
- package-ecosystem: "pip" | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
interval: "daily" | ||
rebase-strategy: "disabled" | ||
- package-ecosystem: "github-actions" | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
interval: "weekly" | ||
rebase-strategy: "disabled" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.