Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Do not use the api_gateway.url. #1288

Merged
merged 1 commit into from
Aug 12, 2019
Merged

Conversation

pattivacek
Copy link
Collaborator

Continue to use the old URLs provided by treehub.url and the ostree.server field of treehub.json.

This is a partial revert of 6794911.

@codecov-io
Copy link

codecov-io commented Aug 9, 2019

Codecov Report

Merging #1288 into master will decrease coverage by 0.18%.
The diff coverage is 84.21%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1288      +/-   ##
==========================================
- Coverage   79.32%   79.13%   -0.19%     
==========================================
  Files         175      175              
  Lines       10367    10359       -8     
==========================================
- Hits         8224     8198      -26     
- Misses       2143     2161      +18
Impacted Files Coverage Δ
src/sota_tools/server_credentials.cc 93.42% <84.21%> (-0.63%) ⬇️
src/libaktualizr/storage/sqlstorage_base.h 60% <0%> (-40%) ⬇️
src/libaktualizr/storage/sqlstorage_base.cc 74.32% <0%> (-6.09%) ⬇️
src/libaktualizr/uptane/directorrepository.cc 95.71% <0%> (-1.43%) ⬇️
src/libaktualizr/storage/sql_utils.h 84.5% <0%> (-1.41%) ⬇️
src/libaktualizr/crypto/crypto.cc 86.05% <0%> (-0.8%) ⬇️
src/libaktualizr/primary/sotauptaneclient.cc 91.51% <0%> (-0.61%) ⬇️
src/libaktualizr/storage/sqlstorage.cc 75.89% <0%> (-0.39%) ⬇️
src/libaktualizr/package_manager/ostreemanager.cc 77.96% <0%> (+1.69%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fce6da4...a7f7b30. Read the comment docs.

Continue to use the old URLs provided by tufrepo.url and the
ostree.server field of treehub.json.

This reverts some of the logic of 6794911, which was unfortunately
prematurly developed and merged before testing with a real
implementation.

Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
@pattivacek
Copy link
Collaborator Author

Manual testing with advancedtelematic/meta-updater#532 confirms that the bug is fixed. However, we need to update the creds in CI to be able to test this automatically. I think it's probably not worth holding this up for that unless that is easy to do.

@pattivacek pattivacek merged commit 0377851 into master Aug 12, 2019
@pattivacek pattivacek deleted the fix/OTA-3490/treehub-url branch August 12, 2019 15:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants