Testing jenkins script
This commit is contained in:
@@ -102,7 +102,7 @@ releaser:
|
||||
bom-name: spring-cloud
|
||||
# fixed-versions:
|
||||
antora:
|
||||
spring-docs-actions-url: https://github.com/spring-io/spring-doc-actions
|
||||
spring-docs-actions-url: https://github.com/ryanjbaxter/spring-doc-actions
|
||||
spring-docs-actions-tag: v0.0.16
|
||||
sync-antora-docs-command: "./action.sh"
|
||||
meta-release:
|
||||
|
||||
@@ -1 +1 @@
|
||||
updating action
|
||||
making jenkins.sh executable
|
||||
|
||||
Binary file not shown.
@@ -2,3 +2,7 @@
|
||||
0d0095113b5be7f4fcdfc972268318ec902c5f13 c7c3fa38fd33170e7fbb15541066ebe746ba1ad6 Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com> 1715202289 -0400 commit: moving action.sh
|
||||
c7c3fa38fd33170e7fbb15541066ebe746ba1ad6 18c66e805702c81fc2099cb09d2490f099581f34 Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com> 1715260171 -0400 commit: changing permissions
|
||||
18c66e805702c81fc2099cb09d2490f099581f34 193a7a691db1f7529bbd1d7f7f4947209622486c Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com> 1715263189 -0400 commit: updating action
|
||||
193a7a691db1f7529bbd1d7f7f4947209622486c b460e89cc9afdb4ecc7c1c3e4e0e1dae0cac7e63 Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com> 1715364505 -0400 commit: adding setup_ssh.sh
|
||||
b460e89cc9afdb4ecc7c1c3e4e0e1dae0cac7e63 9858d6e0d948d69e62cca0e393dfb21cfb4d7781 Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com> 1715712689 -0400 commit: adding jenkins.sh
|
||||
9858d6e0d948d69e62cca0e393dfb21cfb4d7781 ba9d397eb47402a7e9d00a6e529285341a35168b Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com> 1715712751 -0400 commit: removed runme
|
||||
ba9d397eb47402a7e9d00a6e529285341a35168b 3c1914e048ad43880aecf0ce0ad4d3a5220df39b Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com> 1715712928 -0400 commit: making jenkins.sh executable
|
||||
|
||||
@@ -2,3 +2,7 @@
|
||||
0d0095113b5be7f4fcdfc972268318ec902c5f13 c7c3fa38fd33170e7fbb15541066ebe746ba1ad6 Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com> 1715202289 -0400 commit: moving action.sh
|
||||
c7c3fa38fd33170e7fbb15541066ebe746ba1ad6 18c66e805702c81fc2099cb09d2490f099581f34 Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com> 1715260171 -0400 commit: changing permissions
|
||||
18c66e805702c81fc2099cb09d2490f099581f34 193a7a691db1f7529bbd1d7f7f4947209622486c Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com> 1715263189 -0400 commit: updating action
|
||||
193a7a691db1f7529bbd1d7f7f4947209622486c b460e89cc9afdb4ecc7c1c3e4e0e1dae0cac7e63 Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com> 1715364505 -0400 commit: adding setup_ssh.sh
|
||||
b460e89cc9afdb4ecc7c1c3e4e0e1dae0cac7e63 9858d6e0d948d69e62cca0e393dfb21cfb4d7781 Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com> 1715712689 -0400 commit: adding jenkins.sh
|
||||
9858d6e0d948d69e62cca0e393dfb21cfb4d7781 ba9d397eb47402a7e9d00a6e529285341a35168b Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com> 1715712751 -0400 commit: removed runme
|
||||
ba9d397eb47402a7e9d00a6e529285341a35168b 3c1914e048ad43880aecf0ce0ad4d3a5220df39b Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com> 1715712928 -0400 commit: making jenkins.sh executable
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
x<01><>An<41> <10><><EFBFBD>9<EFBFBD><39><EFBFBD>Z0<5A><01><><EFBFBD><1C>7<18><><EFBFBD>i<EFBFBD>#<23><><EFBFBD><EFBFBD>uz<75><7A><EFBFBD><EFBFBD>-~=^<5E>en<65>ɼ<EFBFBD>*<02><><EFBFBD>آi)j<1C><><EFBFBD>Ğ<><C49E><EFBFBD>8<EFBFBD>8<18><>T<EFBFBD>4Ȕ<06><>d<17>F
|
||||
<EFBFBD><06><><17> <09><>ΐ<EFBFBD><CE90><EFBFBD>Y<EFBFBD>ަ<EFBFBD><DEA6><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD>ѤG<EFBFBD>ޝ<EFBFBD>a<EFBFBD><EFBFBD>g_<EFBFBD>&u<><75>Z<EFBFBD>~{v<><76>M{<7B>x]><3E><04><>ye<79>];<3B>ա<EFBFBD><D5A1>W<EFBFBD><1F>j<EFBFBD><6A><EFBFBD>\<5C>*<2A>ح<EFBFBD>&<26><><EFBFBD><EFBFBD>(<28>D<EFBFBD>?<3F>^[
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
x=<3D>M<0E> <14>]s
|
||||
<EFBFBD>F<EFBFBD><EFBFBD>Gc<>G<EFBFBD>@_k<5F>-
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
x=<3D>M
|
||||
<EFBFBD>0<14>]<5D>ً<>%͏<11><08> i<1F><>6%}-<2D><>Fᛡ<EE868F>s<EFBFBD><73>!<21>[<5B>1<EFBFBD><31><EFBFBD><0E>vTp<54>;<3B>`<60>(<28>Φ<EFBFBD>24F<34>sdT<16>m<EFBFBD><6D><EFBFBD>U<><02><><EFBFBD><EFBFBD>c<EFBFBD><63>f~o<><6F>b<EFBFBD>VFsec<65><63>۶b^Ŝ2.<2E>"<22><><EFBFBD>[Uw<55>g<EFBFBD>qR9<0B><1A><><EFBFBD>4<F0BDB687>W><3E>6<>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
x<01>TMo<4D>0ݹ<><DDB9><EFBFBD><EFBFBD><16>n<EFBFBD>G<EFBFBD><1D>"<22>-<10><><EFBFBD><EFBFBD>̹JI <20>4<EFBFBD><34><EFBFBD><EFBFBD><EFBFBD>K<EFBFBD>8۰]
|
||||
$<1F><><EFBFBD>X<EFBFBD><58>*f<>߽}<7D>*<2A><><EFBFBD><EFBFBD>P<EFBFBD><15>
|
||||
<EFBFBD>b<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>|e$<06><>[Vz<1B>@5<>5<EFBFBD>U<EFBFBD>?S<>W<EFBFBD><08>n<07><>c<1D>G<EFBFBD>~<7E>k><3E>o<EFBFBD>oZ,M뻺<4D>z5<7A><35><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ə<<3C>N<03>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
193a7a691db1f7529bbd1d7f7f4947209622486c
|
||||
3c1914e048ad43880aecf0ce0ad4d3a5220df39b
|
||||
|
||||
@@ -1 +1 @@
|
||||
0d65649266e723e7033103f9b6ae757ec6580057
|
||||
76ba2479a8e84ab5431193251c8804efb4736575
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
set -f
|
||||
|
||||
setup_ssh.sh
|
||||
|
||||
echo "Synced docs"
|
||||
echo 'Synced docs' > /tmp/executed_docs
|
||||
|
||||
exit_code=$?
|
||||
|
||||
exit $exit_code
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Get the current directory
|
||||
current_dir=$(pwd)
|
||||
|
||||
# Add the current directory to the PATH variable
|
||||
export PATH=$PATH:$current_dir
|
||||
|
||||
action.sh "$@"
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Setup ssh"
|
||||
@@ -136,7 +136,8 @@ public class ProjectGitHandler implements Closeable {
|
||||
|
||||
public File cloneAndCheckoutSpringDocsActions() {
|
||||
File project = cloneProject(this.properties.getAntora().getSpringDocsActionsUrl());
|
||||
checkoutTag(project, this.properties.getAntora().getSpringDocsActionsTag());
|
||||
// TODO for testing
|
||||
// checkoutTag(project, this.properties.getAntora().getSpringDocsActionsTag());
|
||||
return project;
|
||||
}
|
||||
|
||||
|
||||
@@ -342,7 +342,7 @@ class CommandPicker {
|
||||
ProjectVersion version = new ProjectVersion(project);
|
||||
String repo = properties.getGit().getOrgName() + "/" + version.projectName;
|
||||
// TODO this needs to be a property
|
||||
return "./action.sh"
|
||||
return "./jenkins.sh"
|
||||
+ " --docs-username \"$DOCS_SERVER_SSH_USER\" --docs-host \"docs.spring.io\" --docs-ssh-key {{cat-key}} --docs-ssh-host-key \"#\" --site-path \""
|
||||
+ project.getAbsolutePath() + "/target/antora/site\" --github-repository \"" + repo + "\" --dry-run";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user