Skip to content

Commit

Permalink
ci: restore old
Browse files Browse the repository at this point in the history
  • Loading branch information
chesedo committed Nov 22, 2022
1 parent 0bab759 commit cb27671
Showing 1 changed file with 73 additions and 74 deletions.
147 changes: 73 additions & 74 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@ commands:
- persist_to_workspace:
root: artifacts
paths:
# - shuttle-${CIRCLE_TAG}-<< parameters.target >>.tar.gz
- shuttle--<< parameters.target >>.tar.gz
- shuttle-${CIRCLE_TAG}-<< parameters.target >>.tar.gz

jobs:
workspace-fmt:
Expand Down Expand Up @@ -352,93 +351,93 @@ workflows:
version: 2
ci:
jobs:
# - workspace-fmt
# - workspace-clippy:
# name: workspace-clippy-<< matrix.framework >>
# requires:
# - workspace-fmt
# matrix:
# parameters:
# framework: ["web-axum", "web-rocket", "web-poem", "web-thruster", "web-tide", "web-tower","web-warp", "web-salvo", "bot-serenity"]
# - check-standalone:
# matrix:
# parameters:
# path:
# - resources/aws-rds
# - resources/persist
# - resources/secrets
# - resources/shared-db
# - service-test:
# requires:
# - workspace-clippy
# - platform-test:
# requires:
# - workspace-clippy
# matrix:
# parameters:
# crate: ["shuttle-deployer", "cargo-shuttle", "shuttle-codegen", "shuttle-common", "shuttle-proto", "shuttle-provisioner"]
# - e2e-test:
# requires:
# - service-test
# - platform-test
# - check-standalone
# filters:
# branches:
# only: production
# - build-and-push:
# requires:
# - e2e-test
# filters:
# branches:
# only: production
- workspace-fmt
- workspace-clippy:
name: workspace-clippy-<< matrix.framework >>
requires:
- workspace-fmt
matrix:
parameters:
framework: ["web-axum", "web-rocket", "web-poem", "web-thruster", "web-tide", "web-tower","web-warp", "web-salvo", "bot-serenity"]
- check-standalone:
matrix:
parameters:
path:
- resources/aws-rds
- resources/persist
- resources/secrets
- resources/shared-db
- service-test:
requires:
- workspace-clippy
- platform-test:
requires:
- workspace-clippy
matrix:
parameters:
crate: ["shuttle-deployer", "cargo-shuttle", "shuttle-codegen", "shuttle-common", "shuttle-proto", "shuttle-provisioner"]
- e2e-test:
requires:
- service-test
- platform-test
- check-standalone
filters:
branches:
only: production
- build-and-push:
requires:
- e2e-test
filters:
branches:
only: production
- build-binaries-linux:
name: build-binaries-x86_64
image: ubuntu-2204:2022.04.1
target: x86_64-unknown-linux-musl
resource_class: medium
# requires:
# - build-and-push
# filters:
# tags:
# only: /^v.*/
# branches:
# only: production
requires:
- build-and-push
filters:
tags:
only: /^v.*/
branches:
only: production
- build-binaries-linux:
name: build-binaries-aarch64
image: ubuntu-2004:202101-01
target: aarch64-unknown-linux-musl
resource_class: arm.medium
# requires:
# - build-and-push
# filters:
# tags:
# only: /^v.*/
# branches:
# only: production
requires:
- build-and-push
filters:
tags:
only: /^v.*/
branches:
only: production
- build-binaries-windows
# requires:
# - build-and-push
# filters:
# tags:
# only: /^v.*/
# branches:
# only: production
requires:
- build-and-push
filters:
tags:
only: /^v.*/
branches:
only: production
- build-binaries-mac
# requires:
# - build-and-push
# filters:
# tags:
# only: /^v.*/
# branches:
# only: production
requires:
- build-and-push
filters:
tags:
only: /^v.*/
branches:
only: production
- publish-github-release:
requires:
- build-binaries-x86_64
- build-binaries-aarch64
- build-binaries-windows
- build-binaries-mac
# filters:
# tags:
# only: /^v.*/
# branches:
# only: production
filters:
tags:
only: /^v.*/
branches:
only: production

0 comments on commit cb27671

Please sign in to comment.