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

velero-plugin-for-* python 2.7 EOL causing push.yml to not publish #8522

Closed
kaovilai opened this issue Dec 18, 2024 · 3 comments · Fixed by vmware-tanzu/velero-plugin-for-aws#229 or vmware-tanzu/velero-plugin-for-microsoft-azure#262
Assignees
Labels
github_actions Pull requests that update GitHub Actions code

Comments

@kaovilai
Copy link
Member

          Looks like images are not being published in https://hub.docker.com/r/velero/velero-plugin-for-aws/tags

Probably due to python 2.7 EOL

Run sudo apt-get install python2.7
  sudo apt-get install python[2](https://github.com/vmware-tanzu/velero-plugin-for-aws/actions/runs/12352241107/job/34468854424#step:4:2).7
  export CLOUDSDK_PYTHON="/usr/bin/python2"
  shell: /usr/bin/bash -e ***0***
  env:
    GOROOT: /opt/hostedtoolcache/go/1.22.10/x6[4](https://github.com/vmware-tanzu/velero-plugin-for-aws/actions/runs/12352241107/job/34468854424#step:4:4)
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package python2.[7](https://github.com/vmware-tanzu/velero-plugin-for-aws/actions/runs/12352241107/job/34468854424#step:4:8)

Originally posted by @kaovilai in #7693 (comment)

kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
Signed-off-by: Tiger Kaovilai <[email protected]>
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
Signed-off-by: Tiger Kaovilai <[email protected]>
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
Signed-off-by: Tiger Kaovilai <[email protected]>
kaovilai added a commit to kaovilai/velero-plugin-for-aws that referenced this issue Dec 18, 2024
Signed-off-by: Tiger Kaovilai <[email protected]>
kaovilai added a commit to kaovilai/velero-plugin-for-microsoft-azure that referenced this issue Dec 18, 2024
Signed-off-by: Tiger Kaovilai <[email protected]>
kaovilai added a commit to kaovilai/velero-plugin-for-microsoft-azure that referenced this issue Dec 18, 2024
Signed-off-by: Tiger Kaovilai <[email protected]>
kaovilai added a commit to kaovilai/velero-plugin-for-microsoft-azure that referenced this issue Dec 18, 2024
Signed-off-by: Tiger Kaovilai <[email protected]>
kaovilai added a commit to kaovilai/velero-plugin-for-microsoft-azure that referenced this issue Dec 18, 2024
Signed-off-by: Tiger Kaovilai <[email protected]>
kaovilai added a commit to kaovilai/velero-plugin-for-gcp that referenced this issue Dec 18, 2024
Signed-off-by: Tiger Kaovilai <[email protected]>
kaovilai added a commit to kaovilai/velero-plugin-for-gcp that referenced this issue Dec 18, 2024
Signed-off-by: Tiger Kaovilai <[email protected]>
kaovilai added a commit to kaovilai/velero-plugin-for-gcp that referenced this issue Dec 18, 2024
Signed-off-by: Tiger Kaovilai <[email protected]>
kaovilai added a commit to kaovilai/velero-plugin-for-gcp that referenced this issue Dec 18, 2024
Signed-off-by: Tiger Kaovilai <[email protected]>
kaovilai added a commit to kaovilai/velero-plugin-for-gcp that referenced this issue Dec 18, 2024
Signed-off-by: Tiger Kaovilai <[email protected]>
kaovilai added a commit to kaovilai/velero-plugin-for-gcp that referenced this issue Dec 18, 2024
Signed-off-by: Tiger Kaovilai <[email protected]>
kaovilai added a commit to kaovilai/velero-plugin-for-gcp that referenced this issue Dec 18, 2024
Signed-off-by: Tiger Kaovilai <[email protected]>
@kaovilai
Copy link
Member Author

Script used:

gfu && git branch --remote | cut -d ' '  -f 3 | grep -E '^upstream/release-' | sed 's/upstream\///g' | xargs -L 1 -S1024 -I {} sh -c "git checkout upstream/{} && (git checkout -b pushpython3{} || (git checkout pushpython3{} && git reset --hard upstream/{}))  && sed 's/python2.7/python3/g' .github/workflows/push.yml > .github/workflows/push.yml.new && mv .github/workflows/push.yml.new .github/workflows/push.yml && sed 's/python2/python3/g' .github/workflows/push.yml > .github/workflows/push.yml.new && mv .github/workflows/push.yml.new .github/workflows/push.yml && git add .github/workflows/push.yml && git commit -sm 'Fixes vmware-tanzu/velero#8522' && git push -u origin pushpython3{} --force && gh pr create --base {} --title '{}: push.yml python3' --body 'Fixes https://github.com/vmware-tanzu/velero/issues/8522'"

@kaovilai kaovilai self-assigned this Dec 18, 2024
@kaovilai kaovilai added the github_actions Pull requests that update GitHub Actions code label Dec 18, 2024
@kaovilai
Copy link
Member Author

https://github.com/vmware-tanzu/velero-plugin-for-aws/actions/runs/12388809515/job/34580589641#step:5:10

More fixes needed by upping from unsupported gcloud auth

Error: The v0 series of google-github-actions/setup-gcloud is no longer maintained. It will not receive updates, improvements, or security patches. Please upgrade to the latest supported versions: 

@kaovilai
Copy link
Member Author

superseded by #8523 as bumping python didn't fix issue since google gcloud actions also needed changing

@kaovilai kaovilai closed this as not planned Won't fix, can't repro, duplicate, stale Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code
Projects
None yet
1 participant