bob.admin issueshttps://gitlab.idiap.ch/bob/bob.admin/-/issues2018-04-19T10:51:20Zhttps://gitlab.idiap.ch/bob/bob.admin/-/issues/82A script to deploy staging conda packages to our root channel2018-04-19T10:51:20ZAmir MOHAMMADIA script to deploy staging conda packages to our root channelAll conda packages are released into https://www.idiap.ch/software/bob/conda/label/staging/ and they are working.
There is also a conda meta package there called `bob` which has pinned all packages to the exact versions.
Now, we need a ...All conda packages are released into https://www.idiap.ch/software/bob/conda/label/staging/ and they are working.
There is also a conda meta package there called `bob` which has pinned all packages to the exact versions.
Now, we need a script that extracts the list of packages from this `bob` conda package and copies exactly those
packages (only the packages that are inside our staging channel) into our root channel.
While copying, the following cares must be taken:
* The copy process should not overwrite anything under any circumstances.
* If the destination files already exist, this means that the release somehow is broken. So it's better to check if all files don't exist before copying over.
* If something goes wrong, probably bob needs to tagged again. So, do not recover from errors in the script.
* It's a good idea (probably have to since channel priorities could have prevented some issues to surface) to install all bob packages from the root channel after they are copied over and run the nosetests to make sure everything is working.
* a python-based script is preferred over bash.Conda-based CIAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/bob/bob.admin/-/issues/77Getting conda package conflict on the CI2018-03-14T10:47:17ZAmir MOHAMMADIGetting conda package conflict on the CIThis happens on mac python 2.7 only: See: https://gitlab.idiap.ch/bob/bob.bio.face/-/jobs/126422
```
failed to get install actions, retrying. exception was: The following specifications were found to be in conflict:
- bob.bio.face==...This happens on mac python 2.7 only: See: https://gitlab.idiap.ch/bob/bob.bio.face/-/jobs/126422
```
failed to get install actions, retrying. exception was: The following specifications were found to be in conflict:
- bob.bio.face==3.3.1b0=py27h0955f8a_6
- bob.db.replay
Use "conda info <package>" to see the dependencies for each package.
```
If someone has some insights, it would be great.Conda-based CIAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/bob/bob.admin/-/issues/73We probably need 2 build config variants2018-06-06T11:19:30ZAndré AnjosWe probably need 2 build config variantsWith the nightlies building in stable/beta modes, it came to my mind that we actually also need two versions of the `conda_build_config.yaml` file: one that corresponds to the versions of dependencies we'd like to have for the next relea...With the nightlies building in stable/beta modes, it came to my mind that we actually also need two versions of the `conda_build_config.yaml` file: one that corresponds to the versions of dependencies we'd like to have for the next release and that we use to compile the masters of every package for checking and one that corresponds to the versions of dependencies we had for the last stable release.
If we don't do this separation we'll be recompiling the stable builds (which are not uploaded by default) every night as soon as dependencies change.
In fact, I wonder if we need to keep checking the stable builds once we have released them... @amohammadi: your input would be good here.Conda-based CIAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/bob/bob.admin/-/issues/72DAV check-upload is not working as intended2018-02-27T15:52:42ZAndré AnjosDAV check-upload is not working as intendedExample: https://gitlab.idiap.ch/bob/bob.conda/-/jobs/124880/raw
Result: Packages keep uploading at every iteration
Expected result: Only packages that were not already uploaded are uploaded.Example: https://gitlab.idiap.ch/bob/bob.conda/-/jobs/124880/raw
Result: Packages keep uploading at every iteration
Expected result: Only packages that were not already uploaded are uploaded.Conda-based CIAndré AnjosAndré Anjoshttps://gitlab.idiap.ch/bob/bob.admin/-/issues/62Linux builds end with an error: binstar_client.errors.Unauthorized: ('Authori...2018-01-17T10:03:50ZAmir MOHAMMADILinux builds end with an error: binstar_client.errors.Unauthorized: ('Authorization header was not given', 401)```
Using Anaconda API: https://api.anaconda.org
[ERROR]
Traceback (most recent call last):
File "/opt/miniconda/bin/anaconda", line 6, in <module>
sys.exit(binstar_client.scripts.cli.main())
File "/opt/miniconda/lib/python3.6/s...```
Using Anaconda API: https://api.anaconda.org
[ERROR]
Traceback (most recent call last):
File "/opt/miniconda/bin/anaconda", line 6, in <module>
sys.exit(binstar_client.scripts.cli.main())
File "/opt/miniconda/lib/python3.6/site-packages/binstar_client/scripts/cli.py", line 88, in main
description=__doc__, version=version)
File "/opt/miniconda/lib/python3.6/site-packages/binstar_client/scripts/cli.py", line 66, in binstar_main
return args.main(args)
File "/opt/miniconda/lib/python3.6/site-packages/binstar_client/commands/upload.py", line 218, in main
user = aserver_api.user()
File "/opt/miniconda/lib/python3.6/site-packages/binstar_client/__init__.py", line 231, in user
self._check_response(res)
File "/opt/miniconda/lib/python3.6/site-packages/binstar_client/__init__.py", line 216, in _check_response
raise ErrCls(msg, res.status_code)
binstar_client.errors.Unauthorized: ('Authorization header was not given', 401)
```
see: https://gitlab.idiap.ch/bob/bob.extension/-/jobs/115373
cross: #35Conda-based CIAndré AnjosAndré Anjos