-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
515 additions
and
63 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
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
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,18 +1,17 @@ | ||
query ApplicationsStatusesQuery( | ||
$runtime: String! | ||
$name: String! | ||
$namespace: String | ||
) { | ||
application(runtime: $runtime, name: $name, namespace: $namespace) { | ||
query appstatus ($name: String!) { | ||
applicationProxyQuery( | ||
name: $name | ||
){ | ||
metadata { | ||
runtime | ||
name | ||
namespace | ||
cluster | ||
__typename | ||
} | ||
healthStatus | ||
syncStatus | ||
syncPolicy | ||
status { | ||
health { | ||
status | ||
} | ||
sync { | ||
status | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
incubating/argo-cd-sync/queries/get_app_status.orig.graphql
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,18 @@ | ||
query ApplicationsStatusesQuery( | ||
$runtime: String! | ||
$name: String! | ||
$namespace: String | ||
) { | ||
application(runtime: $runtime, name: $name, namespace: $namespace) { | ||
metadata { | ||
runtime | ||
name | ||
namespace | ||
cluster | ||
__typename | ||
} | ||
healthStatus | ||
syncStatus | ||
syncPolicy | ||
} | ||
} |
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 |
---|---|---|
@@ -1,17 +1,17 @@ | ||
kind: step-type | ||
metadata: | ||
name: argo-cd-sync | ||
version: 1.3.1 | ||
version: 1.4.2 | ||
isPublic: true | ||
description: Syncs Argo CD apps managed by our GitOps Runtimes | ||
sources: | ||
- 'https://github.com/codefresh-io/steps/tree/master/incubating/argo-cd-sync' | ||
stage: incubating | ||
maintainers: | ||
- name: Francisco Cocozza | ||
- email: [email protected] | ||
email: [email protected] | ||
- name: Laurent Rochette | ||
- email: [email protected] | ||
email: [email protected] | ||
categories: | ||
- GitOps | ||
official: true | ||
|
@@ -99,6 +99,15 @@ spec: | |
"description": "OPTIONAL - Wait for the app to be healthy after a rollback. Forces ROLLBACK to true", | ||
"default": false | ||
}, | ||
"CA_BUNDLE": { | ||
"type": "string", | ||
"description": "OPTIONAL - a base64 encoded stringnthat contain the complete CA Certificate Bundle" | ||
}, | ||
"INSECURE": { | ||
"type": "boolean", | ||
"description": "OPTIONAL - to allow the usage of a self-signed certificate in the chain to reach the API endpoint", | ||
"default": false | ||
}, | ||
"LOG_LEVEL": { | ||
"type": "string", | ||
"description": "OPTIONAL - set the log level, e.g. 'debug', 'info', 'warn', 'error', 'critical' (default 'error')", | ||
|
@@ -111,7 +120,7 @@ spec: | |
}, | ||
"IMAGE_TAG": { | ||
"type": "string", | ||
"default": "1.3.1", | ||
"default": "1.4.2", | ||
"description": "OPTIONAL - To overwrite the tag to use" | ||
} | ||
} | ||
|
@@ -145,8 +154,12 @@ spec: | |
- '[[ $key ]]=[[ $val ]]' | ||
[[- end ]] | ||
commands: | ||
[[ if .Arguments.CA_BUNDLE ]] | ||
- echo [[ .Arguments.CA_BUNDLE ]] | base64 -d >/root/bundle.pem | ||
[[ end ]] | ||
- cd /app | ||
- python3 run.py | ||
delimiters: | ||
left: '[[' | ||
right: ']]' |
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,9 @@ | ||
FROM python:alpine | ||
|
||
# using same aws-cli that was used before moving to quay images to prevent regressions | ||
ARG CLI_VERSION=1.16.284 | ||
|
||
RUN apk -uv add --no-cache groff jq less && \ | ||
pip install --no-cache-dir awscli==$CLI_VERSION | ||
|
||
WORKDIR /aws |
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
Oops, something went wrong.