Skip to content

Commit

Permalink
Merge pull request #266 from vespa-engine/aressem/add-factory-command
Browse files Browse the repository at this point in the history
Add factory command to image so that we dont need to checkout the ves…
  • Loading branch information
aressem authored Feb 19, 2025
2 parents ad25f53 + c923ecb commit e52aaa3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/almalinux-8/include/install-build-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ tar zxvf v${ATHENZ_VERSION}.tar.gz
)
rm -rf v${ATHENZ_VERSION}.tar.gz athenz-${ATHENZ_VERSION} /root/go


# Add factory command
curl -L -o /usr/local/bin/factory-command "https://raw.githubusercontent.com/vespa-engine/vespa/refs/heads/master/.buildkite/factory-command.sh"
chmod 755 /usr/local/bin/factory-command

# Cleanup
dnf clean all --enablerepo='*'
rm -rf /var/cache/yum
4 changes: 4 additions & 0 deletions build/almalinux-9/include/install-build-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ else
dnf install -y "https://github.com/aquasecurity/trivy/releases/download/v${TRIVY_VERSION}/trivy_${TRIVY_VERSION}_Linux-ARM64.rpm"
fi

# Add factory command
curl -L -o /usr/local/bin/factory-command "https://raw.githubusercontent.com/vespa-engine/vespa/refs/heads/master/.buildkite/factory-command.sh"
chmod 755 /usr/local/bin/factory-command

# Cleanup
dnf clean all --enablerepo='*'
rm -rf /var/cache/yum
Expand Down

0 comments on commit e52aaa3

Please sign in to comment.