Skip to content

Upload artifact and sync static assets in GitLab CI#6207

Merged
mitchellhenke merged 5 commits intomainfrom
mitchellhenke/partially-deploy-via-gitlab
Apr 28, 2022
Merged

Upload artifact and sync static assets in GitLab CI#6207
mitchellhenke merged 5 commits intomainfrom
mitchellhenke/partially-deploy-via-gitlab

Conversation

@mitchellhenke
Copy link
Contributor

@mitchellhenke mitchellhenke marked this pull request as ready for review April 18, 2022 16:09
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

Comment on lines 212 to +216
- make build_artifact ARTIFACT_DESTINATION_FILE='./tmp/idp.tar.gz'
- bundle exec ./scripts/artifact-upload './tmp/idp.tar.gz'
Copy link
Contributor

Choose a reason for hiding this comment

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

could we move ARTIFACT_DESTINATION_FILE to the variables block above and reuse it on both these lines?

Suggested change
- make build_artifact ARTIFACT_DESTINATION_FILE='./tmp/idp.tar.gz'
- bundle exec ./scripts/artifact-upload './tmp/idp.tar.gz'
- make build_artifact
- bundle exec ./scripts/artifact-upload $ARTIFACT_DESTINATION_FILE

@mitchellhenke mitchellhenke force-pushed the mitchellhenke/partially-deploy-via-gitlab branch 2 times, most recently from 93bb921 to 89b64d7 Compare April 28, 2022 19:44
Mitchell Henke added 3 commits April 28, 2022 14:59
changelog: Internal, Continuous Deployment, Enable uploading application artifacts and static assets from GitLab CI
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/partially-deploy-via-gitlab branch from 89b64d7 to c0a349b Compare April 28, 2022 19:59
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/partially-deploy-via-gitlab branch from fc8d334 to e9b7267 Compare April 28, 2022 20:40
@mitchellhenke mitchellhenke merged commit 20d1282 into main Apr 28, 2022
@mitchellhenke mitchellhenke deleted the mitchellhenke/partially-deploy-via-gitlab branch April 28, 2022 20:58
peggles2 pushed a commit that referenced this pull request May 3, 2022
* Upload artifact and sync static assets in GitLab CI

changelog: Internal, Continuous Deployment, Enable uploading application artifacts and static assets from GitLab CI

* add execute permissions to script

* fix sources for running pipeline

* add ruby cache to coverage step

* return early if current branch is not configured
peggles2 pushed a commit that referenced this pull request May 5, 2022
* Upload artifact and sync static assets in GitLab CI

changelog: Internal, Continuous Deployment, Enable uploading application artifacts and static assets from GitLab CI

* add execute permissions to script

* fix sources for running pipeline

* add ruby cache to coverage step

* return early if current branch is not configured
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