-
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.
* adding misc cleanup: checks for v1 and next tags, prettier/eslint autofix, integration tests as part of PR, updated fixutres, switch repo to use https instead of git (this may need to be configurable rather than assumed) * fix linting rules * add debugging support when action fails
- Loading branch information
Showing
16 changed files
with
191 additions
and
21 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
INPUT_ACTION=upsert | ||
INPUT_ACCESSTOKEN= | ||
INPUT_BASEURL=https://MY_SERVER_BASE_URL | ||
INPUT_NAME=test | ||
INPUT_NAMESPACE=default | ||
INPUT_PROJECT=default | ||
INPUT_CLUSTERNAME=in-cluster | ||
INPUT_PATH=fixtures | ||
INPUT_VALUESFILE=fixtures/values.yml | ||
INPUT_DRYRUN=false | ||
GITHUB_REF=refs/branches/develop | ||
GITHUB_SHA=1234567 | ||
GITHUB_SERVER_URL=https://github.com | ||
GITHUB_REPOSITORY=Owner/Repo | ||
GITHUB_STEP_SUMMARY=/dev/stdout | ||
INPUT_TOKENS={"TAG": "latest"} | ||
INPUT_LABELS={} | ||
INPUT_INFO={} |
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 @@ | ||
# What changed | ||
|
||
Describe your changes here. | ||
|
||
<!-- | ||
## Release Notes | ||
If you want to add additional information to the release notes include them here. Otherwise omit this section. | ||
--> |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
on: | ||
push: | ||
branches: | ||
- releases/v1 | ||
|
||
jobs: | ||
verify_action_works: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ejhayes/action-argocd-deploy@releases/v1 | ||
with: | ||
dryRun: true | ||
clientId: username | ||
clientSecret: password | ||
clusterName: 'default' | ||
baseUrl: https://example.com | ||
name: my-service | ||
namespace: default | ||
path: fixtures | ||
project: default | ||
valuesFile: fixtures/values.yaml | ||
tokens: | | ||
TAG: latest | ||
annotations: | | ||
myannotation: "true" | ||
labels: | | ||
group: group-a | ||
env: prod | ||
info: | | ||
rev: ${{ github.ref }} | ||
sha: ${{ github.sha }} |
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,2 +1,3 @@ | ||
.env | ||
dist | ||
node_modules |
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 @@ | ||
dist |
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,3 @@ | ||
apiVersion: v2 | ||
name: argo-cd | ||
version: 1.0.0 |
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,6 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: rds-cluster-config | ||
data: | ||
myKey: { { .Values.my_config } } |
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 @@ | ||
my_config: __TAG__ |
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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