Skip to content

poc: attempt to create a simple, standard set of jobs & commands#377

Draft
effervescentia wants to merge 8 commits intomasterfrom
ben/poc-std-jobs
Draft

poc: attempt to create a simple, standard set of jobs & commands#377
effervescentia wants to merge 8 commits intomasterfrom
ben/poc-std-jobs

Conversation

@effervescentia
Copy link
Contributor

No description provided.

@vf-service-account
Copy link
Contributor

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/voiceflow/common?version=dev:1978bcd0e8528b803d1cceb3640b82f4bef1b302

@vf-service-account
Copy link
Contributor

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/voiceflow/common?version=dev:e3822b1b61042281f0a27e0fbb6b36faf57f7468

@vf-service-account
Copy link
Contributor

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/voiceflow/common?version=dev:898f13c99c0b65b8435d82d5c6172cf1cb1a52c7

@vf-service-account
Copy link
Contributor

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/voiceflow/common?version=dev:2a52db488a19e7f4d31ffef270c03b736e6348b9

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

std_checkout and std_clone can be a single job since they are basically the same (default to $CIRCLE_SHA1 and $CIRCLE_PROJECT_REPONAME)

do we have anywhere that we need multiple branches or commits upfront? CircleCI checkout defaults to a blobless checkout. But I think we may only need 2 kinds:

  • single branch shallow clone: the latest object state of single commit without history (building, linting, sonarcloud, hadolint)
  • treeless clone of master with tags: semantic-release uses commits and tags for determining next version. however, semantic-release may be doing git commands internally, i'd have to look again

working_directory: /home/circleci/code
command: |
yarn install --immutable
- std_save_cache:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i have found that CircleCI save_cache/restore_cache is good for caching between workflows, and that persist_to_workspace/attach_workspace is good for caching between jobs of the same workspace.

So we would still want to persist .yarn/cache and ./node_modules to the workspace and then any job that needs them (build, test_*, etc) would require this job and attach_workspace.

This is especially true for anything that requires the build job. Since restore_cache could pull a stale cache from a different workflow we didn't really want, but attach_workspace guarantees that whatever is attach was put there from this workflow.

ref

Copy link
Contributor

theProf commented Mar 10, 2026

@vf-service-account
Copy link
Contributor

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/voiceflow/common?version=dev:2a52db488a19e7f4d31ffef270c03b736e6348b9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants