conan-io / training

(Deprecated) Support code for conan 1.X trainings
MIT License
62 stars 38 forks source link

conan training docker environment needs an update #94

Open fg68 opened 2 years ago

fg68 commented 2 years ago

Hello conan & artifactory staff,

thanks for the training environment which helped me so far. Currently the provided image(s) need an update because

  1. the new conancenter is not configured in container; it still points to the old bintray (workaround: conan remote update conan-center https://center.conan.io conan remote rename conan-center conancenter)
  2. even with the changes from point 1 SSL verification fails with: HTTPSConnectionPool(host='center.conan.io', port=443): Max retries exceeded with url: /v1/ping (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1076)'))) (workaround at this point: conan remote update conancenter https://center.conan.io false)

There may be some other issues coming with the change to the new conancenter I am not aware of yet but the above may pose a blocker for novices starting with conan.

memsharded commented 2 years ago

Hi @fg68

Can you please make sure you got the latest update? If you update the repo and build docker environment, it should get the latest 1.43.1 image, which is using the right conancenter remote.

fg68 commented 2 years ago

Hi James,

I updated the git repo about one or two weeks ago. I did not make a full new clone or throw away the docker container.

I will update again soon and notify you.

Regards Frank

Von: James @.> Gesendet: Dienstag, 21. Dezember 2021 13:27 An: conan-io/training @.> Cc: Gierschner, Frank @.>; Mention @.> Betreff: Re: [conan-io/training] conan training docker environment needs an update (Issue #94)

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hi @fg68https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffg68&data=04%7C01%7Cfrank.gierschner%40dentsplysirona.com%7Cc733551687884fb9255008d9c47d32c0%7Cbc74e59c5fa341579c376e5063d11a62%7C0%7C0%7C637756864276093382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=SKYD7YxivRI6%2FfST7bEboA2nY18A7XDyy7D29oxMMEU%3D&reserved=0

Can you please make sure you got the latest update? If you update the repo and build docker environment, it should get the latest 1.43.1 image, which is using the right conancenter remote.

- Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fconan-io%2Ftraining%2Fissues%2F94%23issuecomment-998738156&data=04%7C01%7Cfrank.gierschner%40dentsplysirona.com%7Cc733551687884fb9255008d9c47d32c0%7Cbc74e59c5fa341579c376e5063d11a62%7C0%7C0%7C637756864276093382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=EhaH4p88Q%2FBJTkhtj0IMnBGbj0e9Q8p4llACanVqrO4%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOS2XN6DOER4XBZ4ONCTMRLUSBXBRANCNFSM5KP64QHA&data=04%7C01%7Cfrank.gierschner%40dentsplysirona.com%7Cc733551687884fb9255008d9c47d32c0%7Cbc74e59c5fa341579c376e5063d11a62%7C0%7C0%7C637756864276093382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=7A%2B207i0rmIdEpuax1oPxl5eV3f66%2BQnX5ag%2BHjIgjw%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cfrank.gierschner%40dentsplysirona.com%7Cc733551687884fb9255008d9c47d32c0%7Cbc74e59c5fa341579c376e5063d11a62%7C0%7C0%7C637756864276093382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=8mFBe%2BkBdQbpgPWh4FMZZUyCABl0u2Xxabne20aPdxY%3D&reserved=0 or Androidhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cfrank.gierschner%40dentsplysirona.com%7Cc733551687884fb9255008d9c47d32c0%7Cbc74e59c5fa341579c376e5063d11a62%7C0%7C0%7C637756864276093382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=EgDxyBUGU3i6Fz9GXlYBnClii6M8E72GNMnx2fyifaE%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>


Sirona Dental Systems GmbH Sitz der Gesellschaft / registered address: Fabrikstra?e 31, 64625 Bensheim Registergericht / court of registry: Amtsgericht Darmstadt, HRB 24948 Gesch?ftsf?hrer / Managing Director: Dr. Cord St?hler, Jan Siefert, Rainer Raschke Aufsichtsratsvorsitzender / Chairman of the Supervisory Board: Dr. Alexander Voelcker


Diese E-Mail ist ausschliesslich fuer den angesprochenen Adressaten bestimmt und kann vertrauliche Informationen beinhalten.

This e-mail is intended only for the designated recipient(s). It may contain confidential or proprietary information.

fg68 commented 2 years ago

Hi James.

I cloned the whole stuff again (into an empty dir) but it does not run.

I am using the environment setup for the advanced course which has changed imho:

docker-compose --env-file .ci.env -f docker-compose-ci.yml -f docker-compose.yml up -d

Unfortunately there is no .ci.env, only .env. Using that I came out that there is also no docker-compose.yml.

Additional question: Does the new setup require docker version 4.x ?

Regards Frank

Von: James @.> Gesendet: Dienstag, 21. Dezember 2021 13:27 An: conan-io/training @.> Cc: Gierschner, Frank @.>; Mention @.> Betreff: Re: [conan-io/training] conan training docker environment needs an update (Issue #94)

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hi @fg68https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffg68&data=04%7C01%7Cfrank.gierschner%40dentsplysirona.com%7Cc733551687884fb9255008d9c47d32c0%7Cbc74e59c5fa341579c376e5063d11a62%7C0%7C0%7C637756864276093382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=SKYD7YxivRI6%2FfST7bEboA2nY18A7XDyy7D29oxMMEU%3D&reserved=0

Can you please make sure you got the latest update? If you update the repo and build docker environment, it should get the latest 1.43.1 image, which is using the right conancenter remote.

- Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fconan-io%2Ftraining%2Fissues%2F94%23issuecomment-998738156&data=04%7C01%7Cfrank.gierschner%40dentsplysirona.com%7Cc733551687884fb9255008d9c47d32c0%7Cbc74e59c5fa341579c376e5063d11a62%7C0%7C0%7C637756864276093382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=EhaH4p88Q%2FBJTkhtj0IMnBGbj0e9Q8p4llACanVqrO4%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOS2XN6DOER4XBZ4ONCTMRLUSBXBRANCNFSM5KP64QHA&data=04%7C01%7Cfrank.gierschner%40dentsplysirona.com%7Cc733551687884fb9255008d9c47d32c0%7Cbc74e59c5fa341579c376e5063d11a62%7C0%7C0%7C637756864276093382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=7A%2B207i0rmIdEpuax1oPxl5eV3f66%2BQnX5ag%2BHjIgjw%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cfrank.gierschner%40dentsplysirona.com%7Cc733551687884fb9255008d9c47d32c0%7Cbc74e59c5fa341579c376e5063d11a62%7C0%7C0%7C637756864276093382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=8mFBe%2BkBdQbpgPWh4FMZZUyCABl0u2Xxabne20aPdxY%3D&reserved=0 or Androidhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cfrank.gierschner%40dentsplysirona.com%7Cc733551687884fb9255008d9c47d32c0%7Cbc74e59c5fa341579c376e5063d11a62%7C0%7C0%7C637756864276093382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=EgDxyBUGU3i6Fz9GXlYBnClii6M8E72GNMnx2fyifaE%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>


Sirona Dental Systems GmbH Sitz der Gesellschaft / registered address: Fabrikstra?e 31, 64625 Bensheim Registergericht / court of registry: Amtsgericht Darmstadt, HRB 24948 Gesch?ftsf?hrer / Managing Director: Dr. Cord St?hler, Jan Siefert, Rainer Raschke Aufsichtsratsvorsitzender / Chairman of the Supervisory Board: Dr. Alexander Voelcker


Diese E-Mail ist ausschliesslich fuer den angesprochenen Adressaten bestimmt und kann vertrauliche Informationen beinhalten.

This e-mail is intended only for the designated recipient(s). It may contain confidential or proprietary information.

fg68 commented 2 years ago

Hi James.

Sorry for the 3rd SPAM.

I skipped the informations from the details section and just performed my docker-compose up -d and then it works, BUT ...

  1. conan remote list still yields the bintray
  2. conan --version is 1.33.1 and this cannot work with some exercises like "Unit Tests with gtest"

This should be fixed, too.

Regards Frank

Von: James @.> Gesendet: Dienstag, 21. Dezember 2021 13:27 An: conan-io/training @.> Cc: Gierschner, Frank @.>; Mention @.> Betreff: Re: [conan-io/training] conan training docker environment needs an update (Issue #94)

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hi @fg68https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffg68&data=04%7C01%7Cfrank.gierschner%40dentsplysirona.com%7Cc733551687884fb9255008d9c47d32c0%7Cbc74e59c5fa341579c376e5063d11a62%7C0%7C0%7C637756864276093382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=SKYD7YxivRI6%2FfST7bEboA2nY18A7XDyy7D29oxMMEU%3D&reserved=0

Can you please make sure you got the latest update? If you update the repo and build docker environment, it should get the latest 1.43.1 image, which is using the right conancenter remote.

- Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fconan-io%2Ftraining%2Fissues%2F94%23issuecomment-998738156&data=04%7C01%7Cfrank.gierschner%40dentsplysirona.com%7Cc733551687884fb9255008d9c47d32c0%7Cbc74e59c5fa341579c376e5063d11a62%7C0%7C0%7C637756864276093382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=EhaH4p88Q%2FBJTkhtj0IMnBGbj0e9Q8p4llACanVqrO4%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOS2XN6DOER4XBZ4ONCTMRLUSBXBRANCNFSM5KP64QHA&data=04%7C01%7Cfrank.gierschner%40dentsplysirona.com%7Cc733551687884fb9255008d9c47d32c0%7Cbc74e59c5fa341579c376e5063d11a62%7C0%7C0%7C637756864276093382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=7A%2B207i0rmIdEpuax1oPxl5eV3f66%2BQnX5ag%2BHjIgjw%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Cfrank.gierschner%40dentsplysirona.com%7Cc733551687884fb9255008d9c47d32c0%7Cbc74e59c5fa341579c376e5063d11a62%7C0%7C0%7C637756864276093382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=8mFBe%2BkBdQbpgPWh4FMZZUyCABl0u2Xxabne20aPdxY%3D&reserved=0 or Androidhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Cfrank.gierschner%40dentsplysirona.com%7Cc733551687884fb9255008d9c47d32c0%7Cbc74e59c5fa341579c376e5063d11a62%7C0%7C0%7C637756864276093382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=EgDxyBUGU3i6Fz9GXlYBnClii6M8E72GNMnx2fyifaE%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>


Sirona Dental Systems GmbH Sitz der Gesellschaft / registered address: Fabrikstra?e 31, 64625 Bensheim Registergericht / court of registry: Amtsgericht Darmstadt, HRB 24948 Gesch?ftsf?hrer / Managing Director: Dr. Cord St?hler, Jan Siefert, Rainer Raschke Aufsichtsratsvorsitzender / Chairman of the Supervisory Board: Dr. Alexander Voelcker


Diese E-Mail ist ausschliesslich fuer den angesprochenen Adressaten bestimmt und kann vertrauliche Informationen beinhalten.

This e-mail is intended only for the designated recipient(s). It may contain confidential or proprietary information.