Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: app deployments CLI #5190

Merged
merged 3 commits into from
Aug 13, 2024
Merged

feat: app deployments CLI #5190

merged 3 commits into from
Aug 13, 2024

Conversation

n1ru4l
Copy link
Contributor

@n1ru4l n1ru4l commented Jul 10, 2024

CLI implementation for app deployments. Split out to avoid cluttering main with these changes once we merge the PR that introduces the API changes.

See #4746

Copy link

changeset-bot bot commented Jul 10, 2024

🦋 Changeset detected

Latest commit: e240576

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@graphql-hive/cli Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Jul 10, 2024

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-hive/cli 0.40.0-alpha-20240725065155-e240576ec49b275715015567ce1f9c4a77a51f89 npm ↗︎ unpkg ↗︎

Copy link
Contributor

github-actions bot commented Jul 10, 2024

🐋 This PR was built and pushed to the following Docker images (tag: e240576ec49b275715015567ce1f9c4a77a51f89):

Docker Bake metadata
{
"app": {
  "buildx.build.ref": "builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c/builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c0/pxlzsk2k51hyfn5w91vgtpt54",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:4fc6adfaa528a691532b0919037c98cc15b752cf5fb3385ba4a9be6ca90eb51d",
    "size": 685
  },
  "containerimage.digest": "sha256:4fc6adfaa528a691532b0919037c98cc15b752cf5fb3385ba4a9be6ca90eb51d",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/app:e240576ec49b275715015567ce1f9c4a77a51f89,ghcr.io/kamilkisiela/graphql-hive/app:feat_app_deployments_cli"
},
"composition-federation-2": {
  "buildx.build.ref": "builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c/builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c0/towdbuh1x08epkb6r8gig8w38",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:7c22a1fc479da7f988f5179d14e637fde2dacabe88f0d63e2c7216c83ce5430c",
    "size": 685
  },
  "containerimage.digest": "sha256:7c22a1fc479da7f988f5179d14e637fde2dacabe88f0d63e2c7216c83ce5430c",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/composition-federation-2:e240576ec49b275715015567ce1f9c4a77a51f89,ghcr.io/kamilkisiela/graphql-hive/composition-federation-2:feat_app_deployments_cli"
},
"emails": {
  "buildx.build.ref": "builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c/builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c0/ppyuxr2emhlf8rjyjomzrl7fx",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:a2168670981cb764742c20d4b9a0ddfc1fe99faf15ddd1995c445ed8f6e7c2cd",
    "size": 685
  },
  "containerimage.digest": "sha256:a2168670981cb764742c20d4b9a0ddfc1fe99faf15ddd1995c445ed8f6e7c2cd",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/emails:e240576ec49b275715015567ce1f9c4a77a51f89,ghcr.io/kamilkisiela/graphql-hive/emails:feat_app_deployments_cli"
},
"policy": {
  "buildx.build.ref": "builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c/builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c0/jmnniqq73xs5j1hvzrpolrwd1",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:be3f84275660c7a83599ac8f53a993d160be7c1dbc71034f4c6eb7f840360c03",
    "size": 685
  },
  "containerimage.digest": "sha256:be3f84275660c7a83599ac8f53a993d160be7c1dbc71034f4c6eb7f840360c03",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/policy:e240576ec49b275715015567ce1f9c4a77a51f89,ghcr.io/kamilkisiela/graphql-hive/policy:feat_app_deployments_cli"
},
"rate-limit": {
  "buildx.build.ref": "builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c/builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c0/myv28oxjkcuf68rw9vzyu1apo",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:1b4baf4eb08381f8b41f1bb5f7246768dbc1c29806db10461a92b65233bcd401",
    "size": 685
  },
  "containerimage.digest": "sha256:1b4baf4eb08381f8b41f1bb5f7246768dbc1c29806db10461a92b65233bcd401",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/rate-limit:e240576ec49b275715015567ce1f9c4a77a51f89,ghcr.io/kamilkisiela/graphql-hive/rate-limit:feat_app_deployments_cli"
},
"schema": {
  "buildx.build.ref": "builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c/builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c0/947k8b8vzobd643i4a0t6g9ax",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:03549a74d1b9d698f753df7a1daa6f599d7cbe3187af4aa76802aa569ac84140",
    "size": 685
  },
  "containerimage.digest": "sha256:03549a74d1b9d698f753df7a1daa6f599d7cbe3187af4aa76802aa569ac84140",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/schema:e240576ec49b275715015567ce1f9c4a77a51f89,ghcr.io/kamilkisiela/graphql-hive/schema:feat_app_deployments_cli"
},
"server": {
  "buildx.build.ref": "builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c/builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c0/bru3y9dtntsayvkk0wl2f4tgq",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:8f4955b8f59c0d6806565b6831e9688900915a13cca001c5f1fe605fe85e9e5a",
    "size": 685
  },
  "containerimage.digest": "sha256:8f4955b8f59c0d6806565b6831e9688900915a13cca001c5f1fe605fe85e9e5a",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/server:e240576ec49b275715015567ce1f9c4a77a51f89,ghcr.io/kamilkisiela/graphql-hive/server:feat_app_deployments_cli"
},
"storage": {
  "buildx.build.ref": "builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c/builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c0/kwm5jczirs4y1qmosu460oz76",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:5ca1fd7eaea1557a0270f399ad90dfeb4eed4eb8e4c3bd4f12bc2f416b525628",
    "size": 685
  },
  "containerimage.digest": "sha256:5ca1fd7eaea1557a0270f399ad90dfeb4eed4eb8e4c3bd4f12bc2f416b525628",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/storage:e240576ec49b275715015567ce1f9c4a77a51f89,ghcr.io/kamilkisiela/graphql-hive/storage:feat_app_deployments_cli"
},
"stripe-billing": {
  "buildx.build.ref": "builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c/builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c0/sxojkr8o5lxxw2ddz08phwzg5",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:96eca89f8edd90bd726a62abee4ac5688089841ad9becbff4dc4d76d0251b5cb",
    "size": 685
  },
  "containerimage.digest": "sha256:96eca89f8edd90bd726a62abee4ac5688089841ad9becbff4dc4d76d0251b5cb",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/stripe-billing:e240576ec49b275715015567ce1f9c4a77a51f89,ghcr.io/kamilkisiela/graphql-hive/stripe-billing:feat_app_deployments_cli"
},
"tokens": {
  "buildx.build.ref": "builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c/builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c0/girm12o9iue88cjk116o5ooab",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:f9bae0d6cac58c6ee4e7187a0e8dc8a2c7ae54856e41f06fe8f3151180bec4b8",
    "size": 685
  },
  "containerimage.digest": "sha256:f9bae0d6cac58c6ee4e7187a0e8dc8a2c7ae54856e41f06fe8f3151180bec4b8",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/tokens:e240576ec49b275715015567ce1f9c4a77a51f89,ghcr.io/kamilkisiela/graphql-hive/tokens:feat_app_deployments_cli"
},
"usage": {
  "buildx.build.ref": "builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c/builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c0/u116cpqg6e1w0n4ajatuvi3hd",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:44c48b793dba31015d79db8107d642710eabc5c3fbc491aa321ac4af5c5bfd74",
    "size": 685
  },
  "containerimage.digest": "sha256:44c48b793dba31015d79db8107d642710eabc5c3fbc491aa321ac4af5c5bfd74",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/usage:e240576ec49b275715015567ce1f9c4a77a51f89,ghcr.io/kamilkisiela/graphql-hive/usage:feat_app_deployments_cli"
},
"usage-estimator": {
  "buildx.build.ref": "builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c/builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c0/tqj354xzy25697oor1wc1qnjb",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:24e68f62d659eaa148c0ec741e92292b5a6acfb358407183f192582b938bb7ab",
    "size": 685
  },
  "containerimage.digest": "sha256:24e68f62d659eaa148c0ec741e92292b5a6acfb358407183f192582b938bb7ab",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/usage-estimator:e240576ec49b275715015567ce1f9c4a77a51f89,ghcr.io/kamilkisiela/graphql-hive/usage-estimator:feat_app_deployments_cli"
},
"usage-ingestor": {
  "buildx.build.ref": "builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c/builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c0/nlnom5hfm3i9fxsfqmh0wn2w7",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:d03cc024cd7fb53ac853af5d6ca06bf48d162c80ca415cc270b6680734ed0d18",
    "size": 685
  },
  "containerimage.digest": "sha256:d03cc024cd7fb53ac853af5d6ca06bf48d162c80ca415cc270b6680734ed0d18",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/usage-ingestor:e240576ec49b275715015567ce1f9c4a77a51f89,ghcr.io/kamilkisiela/graphql-hive/usage-ingestor:feat_app_deployments_cli"
},
"webhooks": {
  "buildx.build.ref": "builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c/builder-6ade53b1-2c40-4a30-9f12-93ef1c7a5a0c0/ul6zlwxuu1nyovwim07cijxj3",
  "containerimage.descriptor": {
    "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
    "digest": "sha256:538c012a8430c7404fc0b3c73836408039711a7b1be9108d455a59140b17dbe8",
    "size": 685
  },
  "containerimage.digest": "sha256:538c012a8430c7404fc0b3c73836408039711a7b1be9108d455a59140b17dbe8",
  "image.name": "ghcr.io/kamilkisiela/graphql-hive/webhooks:e240576ec49b275715015567ce1f9c4a77a51f89,ghcr.io/kamilkisiela/graphql-hive/webhooks:feat_app_deployments_cli"
}
}

@n1ru4l n1ru4l force-pushed the feat-app-deployments-cli branch from c1dd0a6 to 3a45ffc Compare July 11, 2024 09:04
@n1ru4l n1ru4l changed the base branch from feat-app-deployments to feat-app-deployments-ui July 11, 2024 09:05
Copy link
Contributor

📚 Storybook Deployment

The latest changes are available as preview in: https://50d93055.hive-storybook.pages.dev

@n1ru4l n1ru4l force-pushed the feat-app-deployments-ui branch from fc3662b to cb26f5b Compare July 12, 2024 10:48
@n1ru4l n1ru4l force-pushed the feat-app-deployments-cli branch from 3a45ffc to 487f973 Compare July 12, 2024 10:50
@n1ru4l n1ru4l force-pushed the feat-app-deployments-ui branch 4 times, most recently from e11bf0d to b9dd25d Compare July 19, 2024 09:16
Base automatically changed from feat-app-deployments-ui to main July 19, 2024 09:35
@n1ru4l n1ru4l force-pushed the feat-app-deployments-cli branch 4 times, most recently from 84128ab to 7347f9c Compare July 23, 2024 10:17
@n1ru4l n1ru4l force-pushed the feat-app-deployments-cli branch from e3a99a8 to e240576 Compare July 25, 2024 06:50
@n1ru4l n1ru4l merged commit 7039d83 into main Aug 13, 2024
27 of 28 checks passed
@n1ru4l n1ru4l deleted the feat-app-deployments-cli branch August 13, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant