Skip to content

Commit

Permalink
Merge pull request #299 from puzzle/lab-issues-fmacheleidt
Browse files Browse the repository at this point in the history
fix compatibility issues during techlab exec
  • Loading branch information
fmacheleidt authored Oct 24, 2023
2 parents df9d2de + cdd06d1 commit 3435a52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion local_env/create-ssh-keys.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

ssh-keygen -t rsa -b 4096 -N "" -f techlab.key -C ""
ssh-keygen -t ed25519 -N "" -f techlab.key -C ""

TECHLAB_PUBLIC_KEY="$(cat techlab.key.pub)"

Expand Down
2 changes: 1 addition & 1 deletion local_env/master/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jenkins/jenkins:2.375.1
FROM jenkins/jenkins:lts-jdk11

# skip the setup wizard
ENV JAVA_OPTS "-Djenkins.install.runSetupWizard=false -Dpermissive-script-security.enabled=true -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8"
Expand Down
4 changes: 1 addition & 3 deletions local_env/master/jenkins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ jenkins:
authorizationStrategy:
loggedInUsersCanDoAnything:
allowAnonymousRead: false
remotingSecurity:
enabled: true
nodes:
- permanent:
name: "ssh-agent-docker"
Expand All @@ -23,7 +21,7 @@ jenkins:
launcher:
ssh:
credentialsId: "bf5bb957-18bc-45ca-baa8-e7e3cb652405"
host: "jenkins_slave_docker"
host: "jenkins_agent_docker"
port: 22
javaPath: "^${JAVA_HOME}/bin/java"
sshHostKeyVerificationStrategy: "nonVerifyingKeyVerificationStrategy"
Expand Down

0 comments on commit 3435a52

Please sign in to comment.