Skip to content

Commit

Permalink
Revert "ci: reuse docs artifacts for the build step"
Browse files Browse the repository at this point in the history
This reverts commit 7ccc893.

Since we are now using a container to build the documentation, we can
build it for the ISO in the `build` step directly and simplify the CI
workflow.

Refs: #1830
Signed-off-by: Sylvain Laperche <sylvain.laperche@scality.com>
  • Loading branch information
slaperche-scality committed Oct 4, 2019
1 parent e866b01 commit 8208a17
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions eve/main.yml
Expand Up @@ -12,15 +12,11 @@ stages:
type: local
steps:
- TriggerStages:
name: Trigger docs building
stage_names:
- docs
haltOnFailure: true
- TriggerStages:
name: Trigger build, lint and unit tests stages simultaneously
name: Trigger build, docs and lint stages simultaneously
stage_names:
- build
- buildprev
- docs
- lint
- unit_tests
haltOnFailure: true
Expand Down Expand Up @@ -65,18 +61,10 @@ stages:
method: clobber
retryFetch: true
haltOnFailure: true
- ShellCommand: &download_pdf_doc
name: Fetch pre-built PDF documentation
command: >
mkdir -p docs/_build/latex &&
curl -s -XGET -o docs/_build/latex/MetalK8s.pdf
"%(prop:artifacts_private_url)s/latex/MetalK8s.pdf"
haltOnFailure: true
- ShellCommand:
name: build everything
env:
PYTHON_SYS: python3.6
IN_CI: 'True'
# There are 3 CPUs available for Docker, and 1 for `doit` in the Pod.
# Given the network IO-bound nature of some of the build steps, and
# most build steps running in Docker, set concurrency to 4.
Expand Down Expand Up @@ -136,8 +124,6 @@ stages:
bash -c '
source metalk8s-%(prop:product_version_prev)s/VERSION &&
echo %(prop:product_version_prev)s.$VERSION_PATCH$VERSION_SUFFIX'
- ShellCommand: *download_pdf_doc
- ShellCommand:
name: build everything
env:
Expand Down

0 comments on commit 8208a17

Please sign in to comment.