#7545 Create container/fedora-container-image dist-git repo in src.stg.fp.o
Closed: Fixed 5 years ago by mizdebsk. Opened 5 years ago by cverna.

  • Describe what you need us to do:

I would like to test building the fedora container base image in OSBS, in order get something working it would be easier if I could test the build in stg but for that I need the dist-git repo to be created.

The repo that I need in stg is https://src.fedoraproject.org/container/fedora-container-image

  • When do you need this? (YYYY/MM/DD)
    When possible

  • When is this no longer needed or useful? (YYYY/MM/DD)

  • If we cannot complete your request, what is the impact?


Metadata Update from @mizdebsk:
- Issue assigned to mizdebsk
- Issue priority set to: Waiting on Assignee (was: Needs Review)

5 years ago

Done, I've created an empty repo. @mohanboddu will create corresponding PDC entier.

I used the following script (saving it for myself in case it is needed later).

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
#!/usr/bin/python3

import requests

headers = {'Authorization': 'token XXXXXX'}
data = {
    'namespace': 'container',
    'name': 'fedora-container-image',
    'description': 'Fedora Base Image',
    'url': '',
    'wait': True
}

resp = requests.post('https://src.stg.fedoraproject.org/api/0/new', data=data, headers=headers)
print(resp.status_code)
print(resp.text)

Metadata Update from @mizdebsk:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)
- Issue tagged with: src.fp.o, staging

5 years ago

Login to comment on this ticket.

Metadata