Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
db6a1f0
deps: Update `apollo-parser` to `v0.3.2` (#2103)
abernix Nov 15, 2022
24c0c46
chore(deps): update all non-major packages >= 1.0
renovate[bot] Nov 15, 2022
7a931de
fix(deps): update rust crate hyper-rustls to 0.23.1
renovate[bot] Nov 15, 2022
f17d073
reconcile `dev` after v1.4.0 release on `main` (#2122)
abernix Nov 16, 2022
5306abe
docs: remove note about external spaceport in advanced configuration …
lennyburdette Nov 16, 2022
519a52f
add a supergraph configmap option to the helm chart (#2119)
Nov 17, 2022
5ed584b
chore(deps): update rust crate reqwest to 0.11.13
renovate[bot] Nov 17, 2022
538a069
fix(deps): update rust crate indexmap to 1.9.2
renovate[bot] Nov 17, 2022
f08aa5f
fix(deps): update rust crate serde_json to 1.0.88
renovate[bot] Nov 18, 2022
e4f9dfb
fix(deps): update all non-major packages >= 1.0
renovate[bot] Nov 19, 2022
9493735
Improve errors when subgraph service returns a non-2xx status code (#…
col Nov 21, 2022
8a7888e
update documentation to reflect new examples structure (#2133)
Nov 21, 2022
d4060a9
fix(deps): update rust crate bytes to 1.3.0
renovate[bot] Nov 21, 2022
0689ab1
chore: update spaceport proto file (#2141)
bnjjj Nov 22, 2022
5412cd9
provide multi-arch (amd64/arm64) docker images for the router (#2138)
Nov 22, 2022
50b4943
fix(deps): update all non-major packages >= 1.0
renovate[bot] Nov 22, 2022
655689a
Fix naming inconsistency of telemetry.metrics.common.attributes.route…
BrynCooke Nov 23, 2022
562f7ff
fix(deps): update dependency @apollo/server to v4.2.1
renovate[bot] Nov 23, 2022
6e18e3a
fix(deps): update rust crate miette to 5.5.0
renovate[bot] Nov 24, 2022
c1569e8
Docs: Update cors match regex example: (#2152)
o0Ignition0o Nov 24, 2022
a4f0cdf
improve router docker debug image (#2142)
Nov 24, 2022
474ac76
Request retries for subgraph queries (#2006)
Nov 24, 2022
f6e0ef8
Add configuration and features to logging (#2040)
bnjjj Nov 24, 2022
9da6890
handle mutations containing `@defer` (#2102)
Nov 24, 2022
c42f0d8
refactor the APQ implementation (#2129)
Nov 24, 2022
2039105
add configuration for trace_id (#2131)
bnjjj Nov 24, 2022
4d59d90
fix(deps): update rust crate flate2 to 1.0.25
renovate[bot] Nov 24, 2022
cfb421a
Fixes #2123 (#2162)
BrynCooke Nov 28, 2022
a4fd9fc
recent changes to add support for local repos broke the script (#2163)
Nov 28, 2022
5792c1f
request retries are deactivated by default on mutations (#2160)
Nov 28, 2022
ad6e931
in memory and Redis cache configuration (#2155)
Nov 28, 2022
d8f9625
chore(deps): update all non-major packages >= 1.0
renovate[bot] Nov 28, 2022
c1dea9c
fix(deps): update dependency @apollo/server to v4.2.2
renovate[bot] Nov 28, 2022
6cbbec1
update apollo-rs (#2177)
goto-bus-stop Nov 29, 2022
736066d
fix(deps): update rust crate async-trait to 0.1.59
renovate[bot] Nov 29, 2022
3b75a35
verify that deferred fragment acts as a boundary for nullability rule…
Dec 1, 2022
80b5047
chore: update protobuf (#2187)
Dec 1, 2022
4360256
fix: panic when dev mode enabled with empty config file (#2195)
bnjjj Dec 2, 2022
fda9f15
Docs: Add a disclaimer for users who set up health-checks and prometh…
o0Ignition0o Dec 2, 2022
728552f
Added Apollo Tracing support for `@defer`. (#2190)
BrynCooke Dec 2, 2022
20a1453
stabilize Redis caching for APQ and query plan (#2176)
Dec 2, 2022
665a5bd
fix(deps): update rust crate tower-http to 0.3.5
renovate[bot] Dec 2, 2022
3dc757e
fix(deps): update rust crate libc to 0.2.138
renovate[bot] Dec 3, 2022
a492343
chore(deps): update rust crate insta to 1.22.0
renovate[bot] Dec 3, 2022
f65752c
fix(deps): update rust crate serde to 1.0.149
renovate[bot] Dec 5, 2022
aeb4bcf
Partially automate release (#2202)
BrynCooke Dec 5, 2022
5839fce
release: v1.5.0
Dec 5, 2022
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
2 changes: 1 addition & 1 deletion .cargo/config
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[alias]
xtask = "run --locked --package xtask --"
xtask = "run --locked --package xtask --manifest-path xtask/Cargo.toml --"
76 changes: 68 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,11 @@ commands:
command: |
set -e -o pipefail
cargo about --version || cargo install cargo-about
- run:
name: Install cargo edit if not present
command: |
set -e -o pipefail
cargo edit --version || cargo install cargo-edit
- save_cache:
key: rust-<< pipeline.parameters.cache_version >>-extra-tools-<< parameters.os >>
paths:
Expand Down Expand Up @@ -486,16 +491,17 @@ jobs:
name: Docker build
command: |
ROUTER_TAG=ghcr.io/apollographql/router
# Build debug image
docker build --build-arg ROUTER_RELEASE=${VERSION} -f dockerfiles/Dockerfile.router -t ${ROUTER_TAG}:${VERSION}-debug .
# Build release image
docker build --build-arg ROUTER_RELEASE=${VERSION} -f dockerfiles/Dockerfile.router -t ${ROUTER_TAG}:${VERSION} .
# Create a multi-arch builder which works properly under qemu
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker context create buildx-build
docker buildx create --driver docker-container --use buildx-build
docker buildx inspect --bootstrap
# Note: GH Token owned by apollo-bot2, no expire
echo ${GITHUB_OCI_TOKEN} | docker login ghcr.io -u apollo-bot2 --password-stdin
# Push debug image
docker push ${ROUTER_TAG}:${VERSION}-debug
# Push release image
docker push ${ROUTER_TAG}:${VERSION}
# Build and push debug image
docker buildx build --platform linux/amd64,linux/arm64 --push --build-arg ROUTER_RELEASE=${VERSION} -f dockerfiles/Dockerfile.router -t ${ROUTER_TAG}:${VERSION}-debug .
# Build and push release image
docker buildx build --platform linux/amd64,linux/arm64 --push --build-arg ROUTER_RELEASE=${VERSION} -f dockerfiles/Dockerfile.router -t ${ROUTER_TAG}:${VERSION} .
- run:
name: Helm build
command: |
Expand All @@ -510,6 +516,23 @@ jobs:
# Push chart to repository
helm push ${CHART} oci://ghcr.io/apollographql/helm-charts

prepare_release:
parameters:
release_type:
type: string
docker:
- image: cimg/base:stable
resource_class: small
steps:
- checkout
- gh/setup
- linux_install_baseline
- install_extra_tools:
os: linux_amd
- run:
command: >
cargo xtask release prepare << parameters.release_type >>

workflows:
ci_checks:
jobs:
Expand Down Expand Up @@ -538,6 +561,43 @@ workflows:
parameters:
platform:
[macos_test, windows_test, amd_linux_test, arm_linux_test]
- prepare_major_release_approval:
type: approval
requires:
- test
filters:
branches:
only:
- dev
- prepare_minor_release_approval:
type: approval
requires:
- test
filters:
branches:
only:
- dev
- prepare_patch_release_approval:
type: approval
requires:
- test
filters:
branches:
only:
- dev
- prepare_release:
release_type: "major"
requires:
- prepare_major_release_approval
- prepare_release:
release_type: "minor"
requires:
- prepare_minor_release_approval
- prepare_release:
release_type: "patch"
requires:
- prepare_patch_release_approval

release:
jobs:
- build_release:
Expand Down
Loading