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

Ошибка сборки после инициализации репозитория git #115

Open
BessonovDevOps opened this issue Apr 20, 2022 · 0 comments
Assignees

Comments

@BessonovDevOps
Copy link

BessonovDevOps commented Apr 20, 2022

После создания репозитория git в каталоге проекта, при выполнении сборки бандла получаю ошибку:

adcm_sdk_pack -n gpbackup -p ./ -t /mnt/c/Users/dbessonov/projects/mmk
Traceback (most recent call last):
  File "/home/dbessonov/.local/bin/adcm_sdk_pack", line 38, in <module>
    tarballs = build(args.name, args.path, edition=args.edition,
  File "/home/dbessonov/.local/lib/python3.8/site-packages/adcm_client/packer/bundle_build.py", line 126, in build
    out = dict(
  File "/home/dbessonov/.local/lib/python3.8/site-packages/adcm_client/packer/bundle_build.py", line 52, in _pack
    tarname = add_build_id(
  File "/home/dbessonov/.local/lib/python3.8/site-packages/adcm_client/packer/naming_rules.py", line 125, in add_build_id      
    git_data = JenkinsRepo(path).get_git_data()
  File "/home/dbessonov/.local/lib/python3.8/site-packages/ad_ci_tools/utils.py", line 22, in get_git_data
    reponame = self.remotes.origin.url.split("/")[-1].split(".git")[0]
  File "/home/dbessonov/.local/lib/python3.8/site-packages/git/util.py", line 1001, in __getattr__
    return list.__getattribute__(self, attr)
AttributeError: 'IterableList' object has no attribute 'origin'
@Maunty Maunty self-assigned this Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants