Skip to content

Commit

Permalink
chore: run yarn lint-fix
Browse files Browse the repository at this point in the history
Signed-off-by: hainenber <[email protected]>
  • Loading branch information
hainenber committed Nov 21, 2024
1 parent afe4d2d commit 8e6da38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions jenkins/jenkins-agent/cloud-config.java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ packages:
apt:
preserve_sources_list: true

# Use self-host Sonatype Nexus as apt proxy.
# Use self-host Sonatype Nexus as apt proxy.
bootcmd:
- echo $(ip route | grep -e "^default" | cut -f3 -d" ") > /etc/OUTER_HOST_IP_ADDRESS.conf
- echo "deb http://$(cat /etc/OUTER_HOST_IP_ADDRESS.conf):8081/repository/apt-proxy noble main universe multiverse" >> /etc/apt/sources.list
Expand Down Expand Up @@ -80,6 +80,6 @@ write_files:
encoding: text/plain
defer: true

# Substitute the variable with actual apt mirror URL
# Substitute the variable with actual apt mirror URL
runcmd:
- sed -i.bak "s/OUTER_HOST_IP_ADDRESS/$(cat /etc/OUTER_HOST_IP_ADDRESS.conf)/g" /home/jenkins/.m2/settings.xml
- sed -i.bak "s/OUTER_HOST_IP_ADDRESS/$(cat /etc/OUTER_HOST_IP_ADDRESS.conf)/g" /home/jenkins/.m2/settings.xml
2 changes: 1 addition & 1 deletion jenkins/jenkins-agent/cloud-config.javascript.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ packages:
apt:
preserve_sources_list: true

# Use self-host Sonatype Nexus as apt proxy.
# Use self-host Sonatype Nexus as apt proxy.
bootcmd:
- echo $(ip route | grep -e "^default" | cut -f3 -d" ") > /etc/OUTER_HOST_IP_ADDRESS.conf
- echo "deb http://$(cat /etc/OUTER_HOST_IP_ADDRESS.conf):8081/repository/apt-proxy noble main universe multiverse" >> /etc/apt/sources.list
Expand Down

0 comments on commit 8e6da38

Please sign in to comment.