<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Other Topics on Alex Maestretti</title>
    <link>https://retiari.us/categories/other/</link>
    <description>Recent content in Other Topics on Alex Maestretti</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 13 Sep 2018 22:31:21 +0800</lastBuildDate>
    
	<atom:link href="https://retiari.us/categories/other/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>How this site deploys</title>
      <link>https://retiari.us/posts/my-first-post/</link>
      <pubDate>Tue, 07 May 2019 12:56:35 -0700</pubDate>
      
      <guid>https://retiari.us/posts/my-first-post/</guid>
      <description>This is the first post! So naturally it needs to explain the build and deploy pipeline for this website. From Google Cloud Platform (GCP): Source Repositories, Builder, and Firebase. The site itself is a static site generated by Hugo.
Google Cloud Source Repositories Are git repositories integrated into the GCP environment. You can use gcloud form the Goolge Cloud SDK (builtin to Cloud Shell) to authenticate rather than setting up SSH keys.
git config --global credential.&#39;https://source.developers.google.com&#39;.helper gcloud.sh  Then you can use git as normal, as well as control google specific aspects of the repositories gcloud source repos commands.
Google Cloud Builder Uses a series of docker containers to build your project. We use two community docker containers for our steps. First to generate the site from the code repository with Hugo, and then to deploy it to Firebase static hosting. In the future I plan to develop a stage that pulls new content from Google Drive so I can maintain this site from gDocs.
Firebase Hosts the static site. This requires granting the Cloud Builder role access to Firebase in the IAM console. Firebase also takes care of TLS and DNS once you link your custom domain, in this case from GoDaddy.</description>
    </item>
    
  </channel>
</rss>