forked from quarkiverse/quarkus-argocd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request quarkiverse#41 from iocanel/fix-workflow
Troubleshoot build-test
- Loading branch information
Showing
6 changed files
with
35 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Build and test the plugin | ||
name: CLI integration test | ||
|
||
on: | ||
workflow_dispatch: | ||
|
@@ -68,6 +68,9 @@ jobs: | |
alias quarkus="java -jar ${GITHUB_WORKSPACE}/quarkus-cli.jar" | ||
echo "## Create a Quarkus project" | ||
TMP_DIR=$(mktemp -d) | ||
pushd $TMP_DIR | ||
quarkus create app | ||
cd code-with-quarkus | ||
|
@@ -76,7 +79,7 @@ jobs: | |
git config user.email "[email protected]" | ||
git config user.name "Quarkus coder" | ||
git remote add origin git@github.com:quarkiverse/code-with-quarkus.git | ||
git remote add origin https://github.com/quarkiverse/code-with-quarkus.git | ||
git add . | ||
git commit -asm "Initial upload" | ||
|
@@ -87,6 +90,10 @@ jobs: | |
echo "## Compile the quarkus app" | ||
mvn -B install -Dno-format | ||
# Troubleshooting information | ||
ls -al | ||
git log | ||
echo "## Generate the Argo CD application" | ||
quarkus argocd application generate | ||
|
@@ -106,4 +113,5 @@ jobs: | |
echo "## ArgoCD file has not been generated properly !" | ||
cat ".argocd/code-with-quarkus-deploy.yaml" | ||
exit 1 | ||
fi | ||
fi | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
${project.version} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters