Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Shared CI-Piplines
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
puppet-infra
Shared CI-Piplines
Commits
e79c4aad
Verified
Commit
e79c4aad
authored
1 year ago
by
Alexander Olofsson
Browse files
Options
Downloads
Patches
Plain Diff
Fix PDK 3.2.0 workarounds for older Puppet
parent
46bd9428
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
puppet-module-pipeline.yaml
+16
-6
16 additions, 6 deletions
puppet-module-pipeline.yaml
with
16 additions
and
6 deletions
puppet-module-pipeline.yaml
+
16
−
6
View file @
e79c4aad
...
...
@@ -32,13 +32,23 @@ pdk-validate:
# For PDK 3.2.0 (it reports as the unreleased 3.1.0)
if [ "$PDK_VERSION" == "3.1.0" ]; then
echo "Locking racc to 1.6.2"
sed -e '/"racc"/d' -e "/'racc'/d" -i Gemfile Gemfile.local
echo 'gem "racc", "= 1.6.2"' >> Gemfile.local
if [ "$PDK_RESOLVED_RUBY_VERSION" == "2.7.8" ]; then
echo "Locking racc to 1.4.16"
sed -e '/"racc"/d' -e "/'racc'/d" -i Gemfile Gemfile.local
echo 'gem "racc", "= 1.4.16"' >> Gemfile.local
echo "Locking rexml to 3.2.3.1"
sed -e '/"rexml"/d' -e "/'rexml'/d" -i Gemfile Gemfile.local
echo 'gem "rexml", "= 3.2.3.1"' >> Gemfile.local
else
echo "Locking racc to 1.6.2"
sed -e '/"racc"/d' -e "/'racc'/d" -i Gemfile Gemfile.local
echo 'gem "racc", "= 1.6.2"' >> Gemfile.local
echo "Locking rexml to 3.2.5"
sed -e '/"rexml"/d' -e "/'rexml'/d" -i Gemfile Gemfile.local
echo 'gem "rexml", "= 3.2.5"' >> Gemfile.local
echo "Locking rexml to 3.2.5"
sed -e '/"rexml"/d' -e "/'rexml'/d" -i Gemfile Gemfile.local
echo 'gem "rexml", "= 3.2.5"' >> Gemfile.local
fi
# For PDK 3.0.1
elif [ "$PDK_VERSION" == "3.0.1" ]; then
echo "Locking puppet_litmus to 1.2.1"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment