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

fix: docker-release GHA fails with pathspec error #27925

Merged
merged 7 commits into from
Apr 8, 2024

Conversation

mistercrunch
Copy link
Member

@mistercrunch mistercrunch commented Apr 5, 2024

SUMMARY

Fixing error reported here #27378 (comment) where the GHA for building docker release is unable to git checkout the git-ref provided. This PR changes the fetch-depth to 0, effectively doing a full clone of the repo as opposed to a shallow clone.

I'm unclear on why this stopped working as I used it many times successfully in the past.

The code here was tested with the following command:

gh workflow run docker-release.yml -r fix_release_docker --field release=3.1.2 --field git-ref=3.1.2 --field force-latest=true

Executing here:
https://github.com/apache/superset/actions/runs/8575368927

@github-actions github-actions bot added the github_actions Pull requests that update GitHub Actions code label Apr 5, 2024
@mistercrunch mistercrunch marked this pull request as draft April 5, 2024 20:07
@mistercrunch mistercrunch marked this pull request as ready for review April 5, 2024 21:18
@michael-s-molina michael-s-molina merged commit 5377b6c into master Apr 8, 2024
51 checks passed
@rusackas rusackas deleted the fix_release_docker branch April 8, 2024 17:32
@michael-s-molina
Copy link
Member

@mistercrunch I was able to successfully run Docker Publish Release after merging this PR but for some reason it didn't update Docker Hub with the ARM version. Am I missing any step?

EnxDev pushed a commit to EnxDev/superset that referenced this pull request Apr 15, 2024
qleroy pushed a commit to qleroy/superset that referenced this pull request Apr 28, 2024
jzhao62 pushed a commit to jzhao62/superset that referenced this pull request May 16, 2024
vinothkumar66 pushed a commit to vinothkumar66/superset that referenced this pull request Nov 11, 2024
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 4.1.0 labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels github_actions Pull requests that update GitHub Actions code preset-io size/S 🚢 4.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants