Skip to content

Update GitLab CI Pipeline#6115

Merged
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/artifact-building
Mar 28, 2022
Merged

Update GitLab CI Pipeline#6115
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/artifact-building

Conversation

@mitchellhenke
Copy link
Contributor

Updates the pipeline to:

  • Only run for PRs/MRs and main or stages/prod
  • Removes scheduled/on_push rules since we don't need them anymore
  • Switches the artifact building to use the build pool
  • Renames the cache key to avoid applying the cache by default

changelog: Internal, Continuous Integration, Limit when GitLab CI runs to avoid queuing too many builds
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/artifact-building branch from 21124ef to d414ca8 Compare March 28, 2022 16:02
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM

--exclude='./identity-idp-config' \
--exclude='./tmp' \
--exclude='./log' \
--exclude='./app/javascript/packages/**/node_modules' \
Copy link
Contributor

Choose a reason for hiding this comment

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

this should make the artifact a bunch smaller hopefully

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, definitely. My future hope is to not store any JS dependencies since they are most of the size, but I haven't looked too deeply into it.

@mitchellhenke mitchellhenke merged commit 66eaf7a into main Mar 28, 2022
@mitchellhenke mitchellhenke deleted the mitchellhenke/artifact-building branch March 28, 2022 17:39
This was referenced Mar 28, 2022
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.

2 participants