Stream: t-lang

Topic: lang-team mdbook publishing


nikomatsakis (May 08 2020 at 19:26, on Zulip):

Hey @Pietro Albini or @simulacrum (sorry, not sure who else to ping) -- do you think one of you could setup https://github.com/rust-lang/lang-team/pull/15 to publish the mdbook via a depley key? This might be worth setting up a lang-team.rust-lang.org alias as well, what do you think?

simulacrum (May 08 2020 at 19:28, on Zulip):

Yeah - maybe just lang.rust-lang.org? Not sure. I can do that though

nikomatsakis (May 08 2020 at 19:29, on Zulip):

We can start with rust-lang.github.io/lang-team

nikomatsakis (May 08 2020 at 19:29, on Zulip):

I'm happy with that :)

simulacrum (May 08 2020 at 19:30, on Zulip):

Shouldn't be too hard to get the domain working

Pietro Albini (May 08 2020 at 19:46, on Zulip):

btw, deploy keys are no longer needed :tada:

simulacrum (May 08 2020 at 19:46, on Zulip):

oh?

simulacrum (May 08 2020 at 19:47, on Zulip):

/me had just set one up

Pietro Albini (May 08 2020 at 19:47, on Zulip):

they fixed the builtin gha token a couple weeks ago

simulacrum (May 08 2020 at 19:47, on Zulip):

also, @Pietro Albini, I'm running terraform plan locally and seeing some spurious edits to rust_inventories and stuff

simulacrum (May 08 2020 at 19:47, on Zulip):

oh I might need to git pull hang ong

Pietro Albini (May 08 2020 at 19:47, on Zulip):

I thought I pushed that

simulacrum (May 08 2020 at 19:47, on Zulip):

yeah I forgot to git pull

Pietro Albini (May 08 2020 at 19:48, on Zulip):

(btw, small bikeshed, lang.rust-lang.org feels weird :) )

simulacrum (May 08 2020 at 19:48, on Zulip):

okay -- so should I set this up via a static-websites thingy in terraform, right?

nikomatsakis (May 08 2020 at 19:48, on Zulip):

I tend to prefer lang-team.rust-lang.org

Pietro Albini (May 08 2020 at 19:48, on Zulip):

hold on, let me get to my computer

nikomatsakis (May 08 2020 at 19:48, on Zulip):

to lang

simulacrum (May 08 2020 at 19:48, on Zulip):

I am still seeing changes to aws_s3_bucket.temp_logs_cratesio and module.service_ecs_cluster.aws_lb.lb btw in terraform

nikomatsakis (May 08 2020 at 19:48, on Zulip):

lang feels like it would be about the language itself somehow

simulacrum (May 08 2020 at 19:49, on Zulip):

@nikomatsakis yeah, makes sense. I'm fine with lang-team

Pietro Albini (May 08 2020 at 19:49, on Zulip):

@simulacrum can you pm me the diff on discord

simulacrum (May 08 2020 at 19:49, on Zulip):

sure

simulacrum (May 08 2020 at 20:09, on Zulip):

okay we got that figured out ish and decided to bypass cloudfront, so you'll only get one level of CDN for now :)

simulacrum (May 08 2020 at 20:16, on Zulip):

@nikomatsakis http://lang-team.rust-lang.org/ :tada:

(tls coming soon)

nikomatsakis (May 08 2020 at 20:17, on Zulip):

nice

simulacrum (May 08 2020 at 20:17, on Zulip):

hm now it's yelling at me about the tls cert

simulacrum (May 08 2020 at 20:17, on Zulip):

not sure what's up with that

nikomatsakis (May 08 2020 at 20:17, on Zulip):

heh firefox redirects me to https

simulacrum (May 08 2020 at 20:18, on Zulip):

yes I mean I'm getting a tls error because the cert firefox wants to give me is the wrong one

simulacrum (May 08 2020 at 20:19, on Zulip):

mm, I'll chalk it up to dns propagation or something and if it still doesn't work in a few hours can investigate more

nikomatsakis (May 08 2020 at 21:53, on Zulip):

https://lang-team.rust-lang.org/ works now! :tada: Thanks!

simulacrum (May 08 2020 at 21:54, on Zulip):

hm it broke again for me but was working before

nikomatsakis (May 08 2020 at 21:55, on Zulip):

oh, true

nikomatsakis (May 08 2020 at 21:55, on Zulip):

maybe related to me merging a PR

simulacrum (May 08 2020 at 21:56, on Zulip):

hm I'll take a look

simulacrum (May 08 2020 at 21:56, on Zulip):

oh I think I know what's up

simulacrum (May 08 2020 at 21:58, on Zulip):

okay pushed a fix hopefully

nikomatsakis (May 08 2020 at 22:10, on Zulip):

yay!

XAMPPRocky (May 09 2020 at 14:45, on Zulip):

(deleted)

XAMPPRocky (May 09 2020 at 14:45, on Zulip):

@simulacrum Btw you might be interested in my Github Action for deploying mdbook with no setup. :slight_smile: https://github.com/XAMPPRocky/deploy-mdbook

simulacrum (May 09 2020 at 14:53, on Zulip):

I'm opposed to using things outside the rust-lang org for it, but I've wanted to use it yes.

XAMPPRocky (May 09 2020 at 15:15, on Zulip):

Well this gets relates back to the external crate maintenance topic, I would be willing to transfer it to rust-lang as I built it with the org in mind since we deploy mdbooks all the time.

simulacrum (May 09 2020 at 16:59, on Zulip):

sure yeah :)

simulacrum (May 09 2020 at 17:00, on Zulip):

I think in this case we'd just stick it in simpleinfra (or a separate repo) but under infra team "ownership" so there's not really a problem imo

XAMPPRocky (May 10 2020 at 10:49, on Zulip):

That works for me. I think it would make sense be a separate repo as I think it should remain available on the GH marketplace, and so that other mdbook users can benefit. That also reminds me to mention that I have the rust-lang and simpleinfra org names on npm, since the best way to share code between actions is publishing an npm module I thought we might want them. :slight_smile:

Last update: Jun 05 2020 at 23:00UTC