iTranslated by AI
Productivity Weekly (2021-06-09 Issue)
Hello. I'm Hirakiba from the Cybozu Inc. Productivity Improvement Team.
Every Wednesday, our Productivity Improvement Team holds an internal meeting called "Productivity Weekly," where we share topics related to improving developer productivity discovered during the week.
This article is a compilation of those topics.
This is the 29th edition. Past articles can be found here.
news 📺
Terraform 1.0 General Availability
Terraform 1.0 has been officially released. Functionally, there are no major changes from 0.15.5, the latest version of the 0.x series. However, it has been decided that 1.x will be maintained for at least 18 months. (I understand this wasn't specifically defined before.)
Terraform is already widely used in various organizations, and I was curious why it only reached 1.0 now, but this is also explained in the article. HashiCorp has established the following four requirements for a product to reach version 1.0:
- deployed broadly
- major use cases are understood and well-supported
- a well-defined user experience
- the product’s technical architecture is mature and stable
In other words, it was judged that Terraform has met these four requirements. I found the requirements for reaching 1.0 to be interesting. They could serve as a good reference for releasing products.
I look forward to an even more stable Terraform in the future.
Xcode Cloud Overview - Apple Developer
Apple has announced its CI/CD service, Xcode Cloud. It allows for automated builds, testing, and deployment to TestFlight in the cloud. Previously, it was common to use macOS instances via CircleCI or GitHub Actions, or use CI/CD services specialized for mobile apps like Bitrise for Apple product native app CI/CD. However, macOS instances are more expensive than other OSs, which was challenging in terms of cost.
Xcode Cloud is still in beta and requires sign-up. Additionally, specific pricing for the official release has not yet been announced. If you're interested, let's request access to the beta[1].
Bitrise also published an article comparing Xcode Cloud with Bitrise and their thoughts on Xcode Cloud. It's worth a read.
Open Source Insights
Google has released Open Source Insights, a service for investigating dependencies in OSS libraries. Open Source Insights allows you to check dependency graphs, security warnings, and dependency licenses across npm packages, Go modules, Maven artifacts, and more.
It seems useful when you want to decide whether or not to use a specific OSS.
CI/CD Conference 2021 by CloudNative Days
The CI/CD Conference will be held online on September 3, 2021.
Currently, it is in the Call For Proposal (CFP) stage, which will be open until June 30. If you want to share your expertise on CI/CD, consider applying. I am also thinking about whether I have any good topics to share.
I'm looking forward to the event.
Changes to Docker Hub Autobuilds
Autobuilds on the free tier of Docker Hub are coming to an end. On Docker Hub, you can create images from Dockerfiles prepared via GitHub integration and the like. Until now, you could use Autobuilds for free, but starting June 18, you will not be able to use Autobuilds unless you subscribe to a paid plan. (Consideration seems to be given to those in the Docker Open Source program.)
The reason for this is an increase in operational costs due to a sharp rise in malicious users using Autobuilds for cryptocurrency mining over the past few months. Other services providing free computing resources, such as CircleCI and GitHub Actions, have suffered similar damage and are known to be spending costs on countermeasures.
- Preventing cryptomining on CircleCI | CircleCI
- GitHub Actions update: Helping maintainers combat bad actors | The GitHub Blog
Until recently, I didn't have much of a good or bad image of cryptocurrency, but with the increase in these examples, I've now come to have a bad image of cryptocurrency itself. I'm thinking every day that I hope cryptocurrency crashes so much it's no longer profitable.
It's sad, but if you were using Docker Hub Autobuilds for free, you should probably consider migrating to another CI/CD service or subscribing to a paid plan. I used Autobuilds when I was a student. I want to thank Docker Hub for providing Autobuilds for free for nearly 7 years.
know-how 🎓
New docker compose
This is an article explaining the Docker Compose CLI, which is a Go implementation of docker-compose. It covers the features of the Compose CLI and discusses comparisons and migrations from the traditional Python-based docker-compose.
I recommend this article to anyone who is not yet familiar with the Docker Compose CLI.
tool 🔨
minamijoyo/tfupdate: Update version constraints in your Terraform configurations
This is a CLI tool that makes it easy to update the versions of Terraform itself and its providers.
What's particularly helpful is that it can recursively update directories within a specified path, simplifying version updates in large repositories. Additionally, you can specify the target version as "latest" and it has a feature to list available versions, so you don't have to manually check for the latest version, which I find very convenient.
I plan to use this tool for future Terraform update tasks.
Tidbits 🍘
This is a section where I introduce topics that came up in Productivity Weekly but I either don't have the energy to cover fully, or they don't have enough content for a full write-up, so I'll just mention them briefly.
-
GitHub Enterprise Server 3.1 is now generally available
- GitHub Enterprise Server 3.1 has been officially released.
- Features like workflow visualization for Actions and auto-merge are now available in the Server edition.
-
devongovett/dprint-node: A node API for the dprint TypeScript and JavaScript code formatter
- A TypeScript/JavaScript plugin for dprint, a code formatter written in Rust.
- While Prettier often comes to mind for TS/JS formatters, dprint reportedly runs nearly 30 times faster than Prettier (benchmark).
Afterword
I feel like I haven't been able to rest well lately. I'm having trouble getting out of bed in the morning. Maybe I'm pushing myself too hard on the weekends? Taking breaks is indeed important 🛏
But there are so many things I want to do... for instance, I'm still in the middle of playing around with Oracle Cloud...
I wish there were about 36 hours in a day.
The Productivity Improvement Team holds these sharing sessions every week. If you're interested in our team, click the link below!
Bonus
Here is this week's bonus.
[2021/06/11] This Week's Kubernetes + Cloud Native + Other News
This is an article summarizing the content of kubenews, a weekly stream where they discuss interesting news and articles in the Kubernetes and Cloud Native world, written by one of the streamers, bells17. As of June 11, kubenews itself reached its 22nd episode, but this seems to be the first time it has been summarized in an article. (By the way, I just learned about kubenews myself.)
As the title suggests, it introduces many news items related to Kubernetes, Cloud Native, and associated technologies. Since kubenews itself is a video, having it summarized in an article is great for catching up on information easily. I'd like to check the video for topics that particularly catch my interest.
They mentioned that they did this as an experiment, so I don't know what will happen in the future, but I'd like to keep reading it regularly.
-
As an aside, I signed up for the beta because I wanted to try it out, but I was told it's only for those in the Apple Developer Program... Well, that's to be expected. ↩︎
Discussion