Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirianni committed Feb 22, 2024
1 parent dd52650 commit 539bc4b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
run: |
{
echo 'TLS_CA_CERT<<EOF'
cat /tmp/step/ca.crt
cat step/ca.crt
echo EOF
} >> "$GITHUB_ENV"
Expand All @@ -79,8 +79,8 @@ jobs:
-e BINDPLANE_TLS_CERT=/bindplane.crt \
-e BINDPLANE_TLS_KEY=/bindplane.key \
-p 3001:3001 \
-v /tmp/step/bindplane.crt:/bindplane.crt \
-v /tmp/step/bindplane.key:/bindplane.key \
-v $(pwd)/step/bindplane.crt:/bindplane.crt \
-v $(pwd)/step/bindplane.key:/bindplane.key \
ghcr.io/observiq/bindplane-ee:${{ matrix.bindplane_versions }}
- name: Wait for BindPlane
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/scripts/tls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,31 @@ curl -L -s -o step.tar.gz \
tar -xzf step.tar.gz
mv step_0.22.0/bin/step /usr/local/bin/step

mkdir /tmp/step
mkdir step

ls -la /tmp/step
ls -la step

step certificate create \
sudo step certificate create \
ca.internal \
/tmp/step/ca.crt /tmp/step/ca.key \
step/ca.crt step/ca.key \
--profile root-ca \
--no-password \
--insecure \
--not-after=8760h

step certificate create \
sudo step certificate create \
bindplane.internal \
/tmp/step/bindplane.crt /tmp/step/bindplane.key \
step/bindplane.crt step/bindplane.key \
--profile leaf \
--not-after 2160h \
--no-password \
--insecure \
--ca /tmp/step/ca.crt \
--ca-key /tmp/step/ca.key
--ca step/ca.crt \
--ca-key step/ca.key

sudo chmod -R 0644 /tmp/step
sudo chmod -R 0644 step

sudo ls -la /tmp/step

whoami
echo $USER
cat step/ca.crt
cat step/ca.key
cat step/bindplane.crt
cat step/bindplane.key

0 comments on commit 539bc4b

Please sign in to comment.