Stream: kaizen

Topic: Code deploys


view this post on Zulip Logbot (Oct 16 2024 at 16:04):

jerodsanto just successfully deployed 51ce73830256b3db6e21f3f8df73a4a604c68201

view this post on Zulip Jerod Santo (Oct 16 2024 at 16:06):

Ok so that worked :sweat_smile:

Now I have to figure out how to get the commit message in a reliable way. Has anyone done this before? I'm not a GH Actions expert by any means...

Also, once you get the message itself, how do you best wrap/format it for Zulip display?

view this post on Zulip Jerod Santo (Oct 16 2024 at 16:08):

Hmm also can you not mute a specific topic inside a channel? I can see people wanting to mute this one but not all of the other kazen'ing that's going on...

view this post on Zulip Jerod Santo (Oct 16 2024 at 16:10):

CleanShot 2024-10-16 at 11.09.04@2x.png

Ok it looks like you can mute a topic inside a channel. I was just confused by the wording on this popover...

view this post on Zulip Philip Durbin (Oct 16 2024 at 23:29):

It looks like Zulip itself sends commits to a channel: https://chat.zulip.org/#narrow/channel/8-commits/topic/zulip.20.2F.20main/near/1963618

view this post on Zulip Philip Durbin (Oct 16 2024 at 23:33):

Based on https://github.com/zulip/zulip/blob/9.2/.github/workflows/zulip-ci.yml#L258 maybe they use https://github.com/zulip/github-actions-zulip/blob/main/send-message/README.md ?

view this post on Zulip Philip Durbin (Oct 16 2024 at 23:33):

Oh, send-message is what you're already using. :sweat_smile:

view this post on Zulip Daniel Buckmaster (Oct 17 2024 at 01:06):

Jerod Santo said:

I was just confused by the wording on this popover...

Ah dang that's unfortunate. On mobile it's much clearer with a "Mute topic" menu option.

view this post on Zulip Jerod Santo (Oct 17 2024 at 13:36):

Philip Durbin said:

It looks like Zulip itself sends commits to a channel

Seems like they are only reporting failures on that one.

- name: Report status to CZO
        if: ${{ failure() && github.repository == 'zulip/zulip' && github.event_name == 'push' }}
        uses: zulip/github-actions-zulip/send-message@v1
        with:
          api-key: ${{ secrets.ZULIP_BOT_KEY }}
          email: "github-actions-bot@chat.zulip.org"
          organization-url: "https://chat.zulip.org"
          to: "automated testing"
          topic: ${{ steps.failure_report_string.outputs.topic }}
          type: "stream"
          content: ${{ steps.failure_report_string.outputs.content }}

view this post on Zulip Logbot (Oct 17 2024 at 16:54):

jerodsanto just successfully deployed f168c4ea

Attempt to fix short SHA fetching in Actions

view this post on Zulip Philip Durbin (Oct 17 2024 at 23:25):

@Jerod Santo you fixed it! Seems like ${{ github.event.commits[0].message }} is working for you based on https://github.com/thechangelog/changelog.com/blob/f168c4ead1da6025f2cc3a52d9973dc781adf0fb/.github/workflows/dagger_on_namespace.yml#L80

view this post on Zulip Logbot (Oct 18 2024 at 13:55):

jerodsanto just successfully deployed b8343c69:

Tweak Zulip deploy message format

view this post on Zulip Logbot (Oct 23 2024 at 18:50):

jerodsanto just successfully deployed 1dab3df0:

Blech! (mix deps.get_dev strikes again)

view this post on Zulip Logbot (Oct 24 2024 at 15:02):

jerodsanto just successfully deployed 50462905:

Fix call to queue an Overcast ping

view this post on Zulip Jerod Santo (Oct 24 2024 at 15:46):

ok so what's the easiest/best way to have this post "the list of commits since the last deploy"?

view this post on Zulip Logbot (Oct 24 2024 at 16:39):

jerodsanto just successfully deployed 9d150fd0:

Reduce Overcast ping rate limit

view this post on Zulip Logbot (Oct 30 2024 at 20:39):

jerodsanto just successfully deployed 19246f72:

Add chapters to Zulip new episode messages

view this post on Zulip Logbot (Oct 31 2024 at 14:21):

jerodsanto just successfully deployed 49263608:

[admin] Add daily subs chart

view this post on Zulip Logbot (Nov 06 2024 at 14:44):

jerodsanto just successfully deployed 0db349cc:

Improve header links in News emails

view this post on Zulip Logbot (Nov 06 2024 at 20:15):

jerodsanto just successfully deployed 622dfe31:

Add Merch link to header nav

view this post on Zulip Logbot (Nov 08 2024 at 20:32):

jerodsanto just successfully deployed bf0bc864:

Link to the episode before the chapters in Zulip messages

view this post on Zulip Logbot (Nov 15 2024 at 15:41):

jerodsanto just successfully deployed 86c763cb:

update <itunes:explicit> tag from "no" to "false" (#531)

Signed-off-by: Alex Zamai <zamaialexander@gmail.com>

Signed-off-by: Alex Zamai <zamaialexander@gmail.com>

Signed-off-by: Alex Zamai <zamaialexander@gmail.com>


Signed-off-by: Alex Zamai <zamaialexander@gmail.com>

view this post on Zulip Logbot (Nov 20 2024 at 15:33):

jerodsanto just successfully deployed f1814e03:

Various episode/news img tweaks

view this post on Zulip Logbot (Nov 21 2024 at 19:15):

jerodsanto just successfully deployed de716075:

Subtitle size tweak

view this post on Zulip Logbot (Nov 25 2024 at 17:21):

jerodsanto just successfully deployed d69bc734:

Link up sotl 2024 form

view this post on Zulip Logbot (Nov 27 2024 at 16:46):

jerodsanto just successfully deployed 3440f5e0:

Enable team members to replace changelog_dev with a prod db dump (#533)

There is a single command to run:

just restore-dev-db-from-prod

This implies that:

Part of this change we exposed a few more private recipes and made it
clear who they are meant for:

We also added just add-oban-pro-repo so that we make this integration
easier for team members - I always forget about it!

Signed-off-by: Gerhard Lazu <gerhard@changelog.com>

Single tool to rule them all :fist: icu4c seems to be working on macOS 14.7
ARM now. Checked that the new command works as expected. Also confirmed
that CI works locally.

Also run:

npx browserslist@latest --update-db

Signed-off-by: Gerhard Lazu <gerhard@changelog.com>


Signed-off-by: Gerhard Lazu <gerhard@changelog.com>

view this post on Zulip Logbot (Dec 05 2024 at 16:41):

jerodsanto just successfully deployed 7c1500d9:

Enable team members to run dev with a Neon db branch (#534)

Single command:

just dev-with-neon-branch gerhard-2024-11-29

The above uses a branch that I created on the 29th of November. You can
create a new Neon db branch today, using your $USER, with the following
command:

just neon-create-branch

This will create e.g. USER-YYYY-MM-DD prod db branch.

Here is a list of all the new commands that go well together:

[team]
dev-with-neon-branch branch                  # Run app in dev mode with $branch
neon-branch-connection branch *ARGS          # Show $branch connection details
neon-branches                                # List prod db branches
neon-create-branch                           # Create a new branch off the prod db

This change also removes the now redundant way of creating Neon db branches.

Follow-up to:

Signed-off-by: Gerhard Lazu <gerhard@changelog.com>

view this post on Zulip Logbot (Dec 05 2024 at 16:46):

jerodsanto just successfully deployed 5933c0c2:

Improve on the Zulip auth app integration (#535)

We want to reference all secrets from 1Password so that when we need to
rotate anything, we simply update the values in 1Password and restart
the app so that it reads the new values just-in-time, at boot time.

FTR:

Signed-off-by: Gerhard Lazu <gerhard@changelog.com>

view this post on Zulip Logbot (Dec 05 2024 at 17:11):

jerodsanto just successfully deployed 2182a223:

Announce deploys in Zulip from GitHub runners too (#536)

If Namespace.so was to fail - Always run 2 of everything™ - we want to
notify Zulip of a deploy when we fallback to the GitHub runner.

Signed-off-by: Gerhard Lazu <gerhard@changelog.com>

view this post on Zulip Logbot (Dec 10 2024 at 19:17):

jerodsanto just successfully deployed 3b0af88d:

Linkify chapters in Zulip new episode messages


Last updated: Dec 12 2024 at 16:47 UTC