Skip to content
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 12 additions & 37 deletions FrontEnd/styles/supporters.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,23 @@

section {
ul {
display: grid;
display: flex;
flex-wrap: wrap;
gap: 30px 70px;
justify-content: center;
margin: 60px 0;
padding: 0;

li {
display: flex;
list-style: none;

> a {
display: flex;
align-items: center;
}
}

@media screen and (max-width: $mobile-breakpoint) {
gap: 20px;

li {
justify-content: center;
@media screen and (max-width: $mobile-breakpoint) {
width: 100%;
}
}
}
Expand All @@ -57,32 +55,13 @@
}
}

&.corporate,
&.infrastructure {
ul {
grid-template-columns: 1fr 1fr;

li {
justify-content: center;
}

&.solo {
grid-template-columns: 1fr;
}
}

@media screen and (max-width: $mobile-breakpoint) {
ul {
grid-template-columns: 1fr;
}
}
}

&.community {
ul {
grid-template-columns: 1fr 1fr 1fr;
justify-content: flex-start;

> li {
width: calc(100% / 3 - 70px);

li {
a:not(:hover) {
color: var(--page-text);
}
Expand All @@ -100,6 +79,8 @@
}

@media screen and (max-width: $mobile-breakpoint) {
width: 50%;

img {
margin: 0;
}
Expand All @@ -117,12 +98,6 @@
}
}
}

@media screen and (max-width: $mobile-breakpoint) {
ul {
grid-template-columns: 1fr 1fr;
}
}
}
}

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Public/images/sponsors/aws.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Public/images/sponsors/aws~dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Public/images/sponsors/contextsdk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion Public/images/sponsors/contextsdk.svg

This file was deleted.

Binary file added Public/images/sponsors/contextsdk~dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion Public/images/sponsors/contextsdk~dark.svg

This file was deleted.

Binary file removed Public/images/sponsors/emerge-tools.png
Binary file not shown.
Binary file removed Public/images/sponsors/emerge-tools~dark.png
Binary file not shown.
Binary file added Public/images/sponsors/emerge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Public/images/sponsors/emerge~dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Public/images/sponsors/macstadium.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Public/images/sponsors/macstadium~dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Public/images/sponsors/microsoft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Public/images/sponsors/microsoft~dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
![The Swift Package Index logo next to the Amazon logo](/images/blog/swift-package-index-and-aws-logos.png)

It may surprise you to learn how much hosting infrastructure a site like the Swift Package Index needs.

We obviously need a web server, or actually a few web servers, as we want redundancy so the site is never down for you, even when we do maintenance. Of course, we also need a redundant database to store all that metadata. We also need a staging site so we can test changes before they go live. There’s no point in having a redundant hosting plan if you push changes into production that completely break the site!

Then there’s our “build system” that powers all the compatibility information. That system consists of 10 very powerful machines that crunch through more than 500,000 Swift builds during a busy month. Those machines also build all the documentation that we host for almost 1,000 packages.

The build machines also generate hundreds of thousands of build logs per month and millions of documentation files that need hundreds of gigabytes of storage. We have been using [Amazon Web Services (AWS)](https://aws.amazon.com/) for this storage so far, but our costs were starting to rise as we hosted more and more documentation.

Which is why we’re delighted to announce today that AWS is [joining our set of infrastructure sponsors](/supporters) by donating credits to the project. We’ll use these credits to continue to host the logs documentation that you use every day.

We want to say a huge thank you to every one of our infrastructure sponsors for keeping this site hosted and processing. We could not do what we do without their support.

We’d also love to [thank all our supporters](/supporters) who keep this project running as smoothly as it does. Your support is invaluable.
5 changes: 5 additions & 0 deletions Resources/Blog/posts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,8 @@
summary: We recently transitioned our Mac build machines that power our compatibility and documentation build system from a manually configured and maintained collection of Mac mini machines to a new Orka cluster from MacStadium. It provides complete isolation for builds, and a more efficient use of our build machines.
published_at: 2024-07-08
published: true
- slug: welcoming-amazon-as-an-infrastructure-supporter
title: Welcoming Amazon as an infrastructure supporter
summary: We are thrilled to announce that Amazon is joining Apple as a supporter of the Swift Package Index by providing infrastructure support.
published_at: 2024-10-28
published: true
16 changes: 10 additions & 6 deletions Sources/App/Core/Supporters.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ enum Supporters {

nonisolated(unsafe) static var corporate: [Corporate] = [
.init(name: "Emerge Tools",
logo: .init(lightModeUrl: "/images/sponsors/emerge-tools.png",
darkModeUrl: "/images/sponsors/emerge-tools~dark.png"),
logo: .init(lightModeUrl: "/images/sponsors/emerge.png",
darkModeUrl: "/images/sponsors/emerge~dark.png"),
url: "https://www.emergetools.com/?utm_source=spi2&utm_medium=sponsor&utm_campaign=emerge",
advertisingCopy: "Join the future of mobile development. Trusted by top companies like Duolingo, Square, DoorDash & more…"),
.init(name: "ContextSDK",
logo: .init(lightModeUrl: "/images/sponsors/contextsdk.svg",
darkModeUrl: "/images/sponsors/contextsdk~dark.svg"),
logo: .init(lightModeUrl: "/images/sponsors/contextsdk.png",
darkModeUrl: "/images/sponsors/contextsdk~dark.png"),
url: "https://contextsdk.com",
advertisingCopy: "Intent detection with real-world context. Lean, lightweight and GDPR compliant out of the box."),
]
Expand All @@ -40,7 +40,11 @@ enum Supporters {
.init(name: "Microsoft Azure",
logo: .init(lightModeUrl: "/images/sponsors/microsoft.png",
darkModeUrl: "/images/sponsors/microsoft~dark.png"),
url: "https://azure.microsoft.com")
url: "https://azure.microsoft.com"),
.init(name: "Amazon Web Services (AWS)",
logo: .init(lightModeUrl: "/images/sponsors/aws.png",
darkModeUrl: "/images/sponsors/aws~dark.png"),
url: "https://aws.amazon.com/")
]

nonisolated(unsafe) static var community: [Community] = .gitHubSponsors
Expand All @@ -55,7 +59,7 @@ enum Supporters {
var lightModeUrl: String
var darkModeUrl: String
var width: Int = 300
var height: Int = 75
var height: Int = 100
}
}

Expand Down
1 change: 0 additions & 1 deletion Sources/App/Views/Supporters/SupportersShow+Model.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ enum SupportersShow {
.class("corporate"),
.h3("Corporate Supporters"),
.ul(
.class("solo"),
Supporters.primary.listNode
),
.ul(
Expand Down
Loading
Loading