Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 22 additions & 11 deletions .pipelines/azure-pipelines-rolling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ resources:

variables:
# Static site produces no compiled binaries.
runCodesignValidationInjection: false
- name: runCodesignValidationInjection
value: false
- group: OData-Shared
- name: AZURE_ARTIFACTS_FEED
value: $(ODataFeed)

extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
Expand Down Expand Up @@ -64,15 +68,22 @@ extends:
- checkout: self
lfs: true
submodules: recursive

- task: NuGetAuthenticate@1
displayName: 'Authenticate to the feed'

# Build the site with Jekyll using the Ruby toolchain on the agent.
- script: |
set -euo pipefail
ruby --version
export GEM_HOME="$BUILD_SOURCESDIRECTORY/.gem"
export PATH="$GEM_HOME/bin:$PATH"
gem install bundler --no-document
bundle --version
bundle config set --local path 'vendor/bundle'
bundle install --jobs 4 --retry 3
bundle exec jekyll build --config _config.yml --future
- task: Bash@3
displayName: 'Build the site'
inputs:
targetType: inline
script: |
set -euo pipefail
ruby --version
export GEM_HOME="$BUILD_SOURCESDIRECTORY/.gem"
export PATH="$GEM_HOME/bin:$PATH"
gem install bundler --no-document
bundle --version
bundle config set --local path 'vendor/bundle'
bundle install --jobs 4 --retry 3
bundle exec jekyll build --config _config.yml --future