Skip to content

Commit

Permalink
Delete patch-release workflow (#6448)
Browse files Browse the repository at this point in the history
  • Loading branch information
theoilie authored Oct 24, 2023
1 parent 553bdce commit de11917
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 38 deletions.
3 changes: 0 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ parameters:
workflow:
type: string
default: 'main'
patch-release-commit-sha:
type: string
default: ''

commands:
create_concatenated_patch_file:
Expand Down
3 changes: 0 additions & 3 deletions .circleci/src/@continue_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ parameters:
run-release-workflow:
type: boolean
default: false
patch-release-commit-sha:
type: string
default: ''

run-web-workflow:
type: boolean
Expand Down
9 changes: 1 addition & 8 deletions .circleci/src/jobs/deploy-foundation-nodes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,7 @@ steps:
command: |
git clone --branch stage https://github.com/AudiusProject/audius-docker-compose.git audius-docker-compose
cd audius-docker-compose
# Use custom commit hash if provided. Otherwise, determine based on auto-deploy branch
if [ -n "<< pipeline.parameters.patch-release-commit-sha >>" ]; then
release_commit_hash=<< pipeline.parameters.patch-release-commit-sha >>
else
release_commit_hash=$(git log --all --grep="$CIRCLE_BRANCH auto-deploy" --pretty=format:"%H" -1)
fi
release_commit_hash=$(git log --all --grep="$CIRCLE_BRANCH auto-deploy" --pretty=format:"%H" -1)
git fetch origin foundation:foundation
git checkout foundation
git merge $release_commit_hash --no-edit
Expand Down
9 changes: 1 addition & 8 deletions .circleci/src/jobs/release-audius-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,7 @@ steps:
command: |
git clone --branch foundation https://github.com/AudiusProject/audius-docker-compose.git audius-docker-compose
cd audius-docker-compose
# Use custom commit hash if provided. Otherwise, determine based on auto-deploy branch
if [ -n "<< pipeline.parameters.patch-release-commit-sha >>" ]; then
release_commit_hash=<< pipeline.parameters.patch-release-commit-sha >>
else
release_commit_hash=$(git log --all --grep="$CIRCLE_BRANCH auto-deploy" --pretty=format:"%H" -1)
fi
release_commit_hash=$(git log --all --grep="$CIRCLE_BRANCH auto-deploy" --pretty=format:"%H" -1)
git fetch origin main:main
git checkout main
git merge $release_commit_hash --no-edit
Expand Down
16 changes: 0 additions & 16 deletions .circleci/src/workflows/patch-release.yml

This file was deleted.

0 comments on commit de11917

Please sign in to comment.