Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix echo errors that fail ci #14

Merged
merged 1 commit into from
Oct 7, 2022
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .github/workflows/sztp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
sztp-push:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package:
- agent
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ RUN curl -kL https://watsen.net/support/sztpd-simulator-0.0.11.tgz | tar -zxvf -
WORKDIR /tmp/sztpd-simulator/pki
RUN sed -i 's/localhost/bootstrap/g' sztpd1/sbi/end-entity/openssl.cnf && \
make pki && \
echo # SBI Port certificates && \
echo SBI Port certificates && \
cat sztpd1/sbi/end-entity/my_cert.pem sztpd1/sbi/intermediate2/my_cert.pem > /tmp/cert_chain.pem && \
openssl crl2pkcs7 -nocrl -certfile /tmp/cert_chain.pem -outform DER -out /tmp/cert_chain.cms && \
echo # client cert (DevID) trust anchor && \
echo client cert DevID trust anchor && \
cat client/root-ca/my_cert.pem client/intermediate1/my_cert.pem client/intermediate2/my_cert.pem > /tmp/ta_cert_chain.pem && \
openssl crl2pkcs7 -nocrl -certfile /tmp/ta_cert_chain.pem -outform DER -out /tmp/ta_cert_chain.cms && \
echo # TODO: remove this line and run test from agent container instead && \
echo TODO: remove this line and run test from agent container instead && \
cat sztpd1/sbi/root-ca/my_cert.pem sztpd1/sbi/intermediate1/my_cert.pem > /opi.pem

# configurations, images, templates
Expand Down