投稿時間:2022-09-24 04:21:42 RSSフィード2022-09-24 04:00 分まとめ(27件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita AWS上にStreamlitの動作環境を作ってみた https://qiita.com/tommy_aka_jps/items/5db7bd157aa5d424712e streamlit 2022-09-24 03:51:34
AWS AWSタグが付けられた新着投稿 - Qiita AWS上にStreamlitの動作環境を作ってみた https://qiita.com/tommy_aka_jps/items/5db7bd157aa5d424712e python 2022-09-24 03:51:34
海外TECH MakeUseOf 9 Ways to Fix File Explorer Not Opening on Windows https://www.makeuseof.com/windows-file-explorer-not-opening/ windows 2022-09-23 18:15:13
海外TECH DEV Community GCP CI/CD Pipeline: Build Docker images after commits to a repo branch (Google Cloud Source Repositories) https://dev.to/af/gcp-cicd-pipeline-build-docker-images-after-commits-to-a-repo-branch-google-cloud-source-repositories-500o GCP CI CD Pipeline Build Docker images after commits to a repo branch Google Cloud Source Repositories In this article we will learn how to connect GCP s code versioning service Cloud Source Repositories to Cloud Build to automate building Docker images and pushing them to GCP Container Registry Cloud and containers have truly revolutionized deployment and management of web infrastructure Ability to build docker images triggered by a push or a pull request allows developers focus more on code and less on infrastructure The process of setting up this pipeline will follow these steps Create a repository in Cloud Source RepositoriesPush source code files to our repoCreate a trigger in Cloud Build serviceSet trigger to build a Docker image when there is a new commit to the specified branch  Creating a repository in Cloud Source RepositoriesNavigate to Cloud Source Repositories using sidebar or a search bar at the top Verify that you are creating your repository in the correct project and then click Add repository button in the top right corner Since we will be using GCP s version control we need to select Create new repository option and click Continue Next we will need to enter the name of our repo and select the project Click Create button after you are done For the final step we will clone our newly created repository to our local machine using the instructions provided You can upload your code to the repo using either SSH st option or using gcloud CLI I will let reader decide which option to use   Source filesFor this project we will have sources files Dockerfile FROM python slimRUN pip install flaskWORKDIR myappCOPY main py myapp main pyCMD python myapp main py main py from flask import Flaskapp Flask name app route def index return CI CD pipeline with GCP Cloud Source Repositories and Docker if name main app run host port Following the instructions push these files to the repo and verify that they are uploaded   Creating a Cloud Build triggerIf you are using Cloud Build for the first time you will be asked to enable the API first Click Enable to activate this API It might take a minute it is normal Click on Triggers in the sidebar To create a new trigger click on the Create new trigger button at the bottom of the page On the trigger creation page we will need to pay attention to important parts Trigger nameEvent that will trigger the action I left it as default Push to a branch Source repository click on the dropdown and select your repo and the branch that this trigger will monitor Configuration type select Dockerfile After you are done click Create to finish setting up the trigger To test our trigger we will first invoke it manually by clicking RUN button A popup will appear asking for confirmation Click Run trigger If we click the History option in the sidebar on the left we can see the build history My build has succeeded   Verifying that Dockerimage is built automaticallyGCP has a service for storing container image called Container Registry Navigate to Contianer Registry and you should see your image there And finally lets do a test with a test push Let s modify our main py file and push changes to the repository I modified the text a little and added v from flask import Flaskapp Flask name app route def index return CI CD pipeline with GCP Cloud Source Repositories and Docker v if name main app run host port Commit and push new changes to the repo It should run the trigger automatically You should see a running process in the History tab mine completed really fast Let s go to the container registry and verify that the new image there There will be two images one from running the trigger manually and the second one from pushing code to the tracked branch And yes as we can see the new image is there  That s it You have created a CI CD pipeline that builds a Docker image when new code is committed to the tracked branch 2022-09-23 18:09:40
海外TECH DEV Community GCP CI/CD Pipeline: Build Docker images after commits to a repo branch (Github) https://dev.to/af/gcp-cicd-pipeline-build-docker-images-after-commits-to-a-repo-branch-github-3381 GCP CI CD Pipeline Build Docker images after commits to a repo branch Github In this article we will learn how to create a CI CD pipeline on GCP using Cloud Build Github and Docker For this article I will be using this repository   Create a triggerFirst we would need to navigate to Code Build Select the Triggers tab in the sidebar and Create Trigger Enter the name of your trigger and select Connect new repository in the Source section You will see a sidebar that will appear on the right hand side with different options for repositories supported by Cloud Build I am using Github so I selected the first option Click Continue You will be asked to authorize Cloud Build to access your github account and repositories Select your github account and repository for this trigger Then select the Dockerfile in the Configuration section and hit Create at the bottom of the page You should see your newly created trigger with the connected repo   Run trigger manuallyLet s test our trigger by running it manually first Next to your trigger there is a button RUN A sidebar will popup on the right hand side asking you to confirm the details of deployment Press Run Trigger I can see the new image in the Container Registry Mine is called github com But it is there The trigger is working   Run trigger automaticallyAnd finally let s push new code to the repository and test the trigger for automatic build I will let reader do the code pushing If you want to see current or past builds Code Build has a section called History in the sidebar on the left It is a great to monitor builds When I pushed new code to my repository a new build was triggered right away and it appeared in the History section  That s it Thank you for reading 2022-09-23 18:08:59
海外TECH DEV Community Getting Started with Notary https://dev.to/azure/getting-started-with-notary-5eea Getting Started with NotaryIn this tutorial you ll learn how to sign a Docker image using Notary Notary is a CNCF project that allows anyone to have trust over arbitrary collections of data By using a pair of private and public keys Notary can sign and verify digital artifacts stored in OCI Open Container Initiative compliant registries such as container images a software bill of materials or scan results Once signed those artifacts can be promoted across different OCI registries without losing trust in the integrity of the artifact Using Notary reduces your chances of introducing compromised artifacts into your environments PrerequisitesDocker Setup the local container registryBefore you can begin you ll need a container registry to push and pull images to and from Distribution is an Open Source registry that supports storing container images using the OCI distribution specification It provides a simple secure and scalable private registry perfect for demonstrating Notary Run the following command to start a local instance of a Distribution docker run d p ghcr io oras project registry v alpha Build and push a container imageOnce you have the Distribution registry up and running your next step is to build and then push an image to it Run the following commands to build and push an image to the registry docker build t localhost net monitor v mainNOTE You can use any Docker image but if you don t have one in mind feel free to use the wabbit networks net monitor image Install NotationNotary is the CNCF project name and is often referenced when referring to the process of signing digital artifacts but Notation is the command line tool that does the heavy lifting Run the following commands to install Notation Download the release files curl Lo notation tar gz Extract the binary d bin mkdir bintar xvzf notation tar gz C bin notationAdd bin to the PATH variableexport PATH HOME bin PATH Notation is likely to be made available with normal package managers after it s RC release Generate a certificateWithout a certificate Notation doesn t have a way to create new signatures or verify existing ones And while Notation supports adding existing certificates it also has a helper command that will generate a new local certificate for you Run the following command to generate a new local certificate notation cert generate test default wabbit networks io Using the notation cert genereate test command automatically adds the key to the certificate to Notation to use for signing but not the public key of the certificate Sign a container imageNow that you have a container image and a certificate to sign with all that s left is to sign the container image stored on the registry Run the following command to sing the image notation sign plain http localhost net monitor v To list all the signatures for the image use the notation list command notation list plain http localhost net monitor v NOTE plain http is used to access the registry with plain HTTP by passing the need to provide a username and password or other authentication Verify the signatureThe notation verify command as the name implies verifies OCI artifacts by using the public key of the certificate to ensure the artifact hasn t been modified Before you can run the verify command you ll need to add the public key of the certificate to your Notation configuration Run the following command to add the public key notation cert add name wabbit networks io config notation localkeys wabbit networks io crtBy default the notation cert genereate test command stores the certificates under config notation localkeys Next run the following commands to verify your container image notation verify plain http localhost net monitor v Next stepsTo learn more about the Notary check out the Notary Project on GitHub 2022-09-23 18:04:25
Apple AppleInsider - Frontpage News 'Made by Google' joins fall tech event fray on October 6 https://appleinsider.com/articles/22/09/23/made-by-google-joins-fall-tech-event-fray-on-october-6?utm_medium=rss x Made by Google x joins fall tech event fray on October Google has announced the date for its Pixel centric Made by Google event joining Microsoft and presumably also Apple with fall product releases Google Pixel Buds Pixel Watch and Pixel phoneThe live event will be held on October at AM ET and Google is expected to announce its latest Pixel devices The lineup is most likely the Pixel Pixel Pro and the Google Pixel Watch Read more 2022-09-23 18:11:32
海外TECH Engadget Boeing to pay $200 million to settle charges over 'misleading' crash statements https://www.engadget.com/boeing-settle-sec-charges-737-max-safety-misleading-statements-dennis-muilenburg-183230833.html?src=rss Boeing to pay million to settle charges over x misleading x crash statementsBoeing has agreed to pay million to settle charges from the Securities and Exchange Commission The agency found that Boeing made quot materially misleading public statements quot related to crashes involving its Max aircraft The company s former CEO Dennis Muilenburg will also pay million to settle charges The SEC alleged that Boeing and Muilenburg violated the antifraud provisions of federal securities laws They neither admitted to nor denied the agency s findings The SEC alleged that after the first crash in October which caused the death of people Boeing and Muilenburg were aware that the anti stall Maneuvering Characteristics Augmentation System MCAS posed an ongoing safety concern However the company told the public that the Max was “as safe as any airplane that has ever flown the skies nbsp After a second crash in March in which people died the company and Muilenburg claimed quot there were no slips or gaps in the certification process with respect to MCAS despite being aware of contrary information quot the SEC said in a statement Following the crashes all Max planes were grounded for over months quot There are no words to describe the tragic loss of life brought about by these two airplane crashes quot SEC Chair Gary Gensler said quot In times of crisis and tragedy it is especially important that public companies and executives provide full fair and truthful disclosures to the markets The Boeing Company and its former CEO Dennis Muilenburg failed in this most basic obligation They misled investors by providing assurances about the safety of the Max despite knowing about serious safety concerns quot The settlement quot fully resolves the SEC s previously disclosed inquiry into matters relating to the Max accidents quot Boeing told CNN “Today s settlement is part of the company s broader effort to responsibly resolve outstanding legal matters related to the Max accidents in a manner that serves the best interests of our shareholders employees and other stakeholders quot Boeing previously reached a billion settlement with the Department of Justice to avoid criminal charges Last year a grand jury indicted Boeing s former chief technical pilot Mark A Forkner on fraud charges Forkner the only Boeing employee who has faced a criminal indictment in relation to the crashes was accused of deceiving the FAA s Aircraft Evaluation Group during evaluation and certification of the Max Following a four day trial earlier this year a jury found Forkner not guilty 2022-09-23 18:32:30
Cisco Cisco Blog Extraordinary Neighbors https://blogs.cisco.com/partner/extraordinary-neighbors Extraordinary NeighborsThere is no end to the ways our Distributors and Partners take the tools and resources given by Cisco and change the lives of millions of people around the globe We are all ordinary people until we come together to create truly extraordinary solutions 2022-09-23 18:57:21
海外科学 NYT > Science ‘Sobering’ Study Shows Challenges of Egg Freezing https://www.nytimes.com/2022/09/23/health/egg-freezing-age-pregnancy.html Sobering Study Shows Challenges of Egg FreezingData from a fertility center showed many women did not get pregnant because of the age at which they froze their eggs and because they did not preserve enough of them 2022-09-23 18:29:17
ニュース BBC News - Home Pound sinks as investors question huge tax cuts https://www.bbc.co.uk/news/business-63009173?at_medium=RSS&at_campaign=KARANGA finances 2022-09-23 18:21:40
ニュース BBC News - Home Ukraine 'referendums': Soldiers go door-to-door for votes in polls https://www.bbc.co.uk/news/world-europe-63013356?at_medium=RSS&at_campaign=KARANGA claim 2022-09-23 18:28:10
ニュース BBC News - Home Laver Cup: Protester sets arm on fire after entering the court https://www.bbc.co.uk/sport/tennis/63014086?at_medium=RSS&at_campaign=KARANGA london 2022-09-23 18:13:54
ニュース BBC News - Home Wales football fans praised for cleaning up in Brussels https://www.bbc.co.uk/news/uk-wales-63006903?at_medium=RSS&at_campaign=KARANGA league 2022-09-23 18:42:21
ニュース BBC News - Home England in Pakistan: Harry Brook and Ben Duckett star in convincing win in third T20 https://www.bbc.co.uk/sport/cricket/63009725?at_medium=RSS&at_campaign=KARANGA twenty 2022-09-23 18:36:30
ニュース BBC News - Home Spain women's players deny asking for coach Jorge Vilda to be sacked https://www.bbc.co.uk/sport/football/63014526?at_medium=RSS&at_campaign=KARANGA jorge 2022-09-23 18:25:29
ビジネス ダイヤモンド・オンライン - 新着記事 【漫画家・弘兼憲史が教える】 笑うに笑えない、ありふれた悲劇 「お金なんて残すな」と断言するワケ - 死ぬまで上機嫌。 https://diamond.jp/articles/-/307122 弘兼氏のさまざまな経験・知見をもとに、死ぬまで上機嫌に人生を謳歌するコツを説いている。 2022-09-24 03:55:00
ビジネス ダイヤモンド・オンライン - 新着記事 「理屈っぽくて高圧的な人」の矛盾を見抜く「最強の質問」とは? - だから、この本。 https://diamond.jp/articles/-/309888 論理的な思考が苦手で、いつも「考えが浅い」と言われてしまう……。 2022-09-24 03:50:00
ビジネス ダイヤモンド・オンライン - 新着記事 「花形」部署から外されたときにどうするか? - 課長2.0 https://diamond.jp/articles/-/305342 「花形」部署から外されたときにどうするか課長管理職は「自分の力」ではなく、「メンバーの力」で結果を出すのが仕事。 2022-09-24 03:45:00
ビジネス ダイヤモンド・オンライン - 新着記事 【プロ投資家の教え】AKB48のアナロジー - 投資家の思考法 https://diamond.jp/articles/-/309426 2022-09-24 03:40:00
ビジネス ダイヤモンド・オンライン - 新着記事 指揮者や映画監督は、どのように「数学的思考」を使っているのか? - とてつもない数学 https://diamond.jp/articles/-/310113 2022-09-24 03:35:00
ビジネス ダイヤモンド・オンライン - 新着記事 発達障害“ガチ勢”の私が挫折してたどりついた「勉強がなんとなくしんどい」を解決するスゴ技 - 独学大全 https://diamond.jp/articles/-/310154 発達障害 2022-09-24 03:30:00
ビジネス ダイヤモンド・オンライン - 新着記事 【精神科医が教える】 自分のことを棚に上げて “身勝手な正論”をいうクレーマー… 約束を守れない「残念な人」への対処法 - 精神科医Tomyが教える 心の荷物の手放し方 https://diamond.jp/articles/-/310020 【精神科医が教える】自分のことを棚に上げて“身勝手な正論をいうクレーマー…約束を守れない「残念な人」への対処法精神科医Tomyが教える心の荷物の手放し方不安や悩みが尽きない。 2022-09-24 03:25:00
ビジネス ダイヤモンド・オンライン - 新着記事 「マラウイってどんな国?」2分で学ぶ国際社会 - 読むだけで世界地図が頭に入る本 https://diamond.jp/articles/-/309407 2022-09-24 03:20:00
ビジネス ダイヤモンド・オンライン - 新着記事 【ギリシャ元財務大臣が解説する】 企業が機械化を進めても、実際は利益が出ない納得の理由 - 良書発見 https://diamond.jp/articles/-/309385 【ギリシャ元財務大臣が解説する】企業が機械化を進めても、実際は利益が出ない納得の理由良書発見混沌を極める世界情勢のなかで、将来に不安を感じている人が多いのではないだろうか。 2022-09-24 03:15:00
ビジネス ダイヤモンド・オンライン - 新着記事 【働き方ミニマリストが教える】 「カバンを軽くする」たった1つの方法 - 超ミニマル主義 https://diamond.jp/articles/-/310126 【働き方ミニマリストが教える】「カバンを軽くする」たったつの方法超ミニマル主義「手放し、効率化し、超集中」するための全技法とはベストセラー『自由であり続けるために代で捨てるべきのこと』以来、四角大輔が年ぶりに書き下ろしたビジネス書『超ミニマル主義』の中から、「サイフ」「カバン」「書類」「名刺」「ウェア」「シューズ」「仕事机」「デバイス」「部屋」といった物質、「情報」「データ」「スケジュール」「タスク」「労働時間」「ストレス」「人付き合い」といった非物質を、極限まで「最小・最軽量化」する方法を紹介していく。 2022-09-24 03:10:00
ビジネス ダイヤモンド・オンライン - 新着記事 40年以上前の名著から読み解く「平凡さ」と「狂気性」 - 【新装版】危機の構造 日本社会崩壊のモデル https://diamond.jp/articles/-/310210 『【新装版】危機の構造日本社会崩壊のモデル』では、社会学者・橋爪大三郎氏による解説に加え、年に発刊された【増補版】に掲載された「私の新戦争論」も収録されている。 2022-09-24 03:05:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 22:08:45 RSSフィード2021-06-17 22:00 分まとめ(2089件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)