Skip to content

split gitlab ci/cd into multiple jobs

Isaac Evavold requested to merge IEVAVOLD/portal:reorg-gitlab-ci-cd into master

Splits the CI/CD script into multiple smaller jobs. Previously a single job would build the site, update the search index, and push changes to CodeCommit. This made it difficult for GitLab to validate that a merge request could be successfully built before being merged into master.

With these changes, a job named compile is solely responsible for generating the static site and not doing anything else. The static files are then passed on to the update-index and update-static-site jobs which push changes to Algolia and CodeCommit respectively. Because the compile job doesn't do any deployments, it can be run on any merge request to validate that the MR can be built and the update-index and update-static-site jobs are ONLY run when code is merged into the interop/portal master branch.

@NUWAN.KUMARASIRI @JARED.KOSANOVIC

Merge request reports