-
Notifications
You must be signed in to change notification settings - Fork 416
Nats box adder #45713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Nats box adder #45713
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
852efa9
Added config for nats-box (dummy package)
AnmolVirdi f49ad76
Fixed description
AnmolVirdi 195c105
Fixed profile.sh issue
AnmolVirdi f704d26
Added figlet to Nats-box utilities list
AnmolVirdi d48233e
Fixed linting issues
AnmolVirdi 497a677
Removed bash from test environment since it's not needed
AnmolVirdi 38ae985
Updated nats-box tests
AnmolVirdi 52fcc76
Merge branch 'main' into nats-box-adder
AnmolVirdi aac6810
Fixed exec permissions for entrypoint
AnmolVirdi 5744bec
Fixed read access for entrypoint
AnmolVirdi d14f521
Added version update instructions for nats-box
AnmolVirdi 806c4a9
Fixed epoch number
AnmolVirdi ed187aa
Merge branch 'main' into nats-box-adder
AnmolVirdi a27405a
Update nats-box.yaml
AnmolVirdi c25e984
Remove nats util packages from package layer
AnmolVirdi 6f24005
Updated version
AnmolVirdi 01c1aa4
Updated commit hash
AnmolVirdi e32b86b
Merge branch 'main' into nats-box-adder
AnmolVirdi 4fe53f7
Merge branch 'main' into nats-box-adder
AnmolVirdi d09006f
Merge branch 'main' into nats-box-adder
AnmolVirdi 3941e1b
Merge branch 'main' into nats-box-adder
AnmolVirdi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,45 @@ | ||
| package: | ||
| name: nats-box | ||
| version: 0.17.0 | ||
| epoch: 0 | ||
| description: NATS utilities toolbox. | ||
| dependencies: | ||
| runtime: | ||
| - bash | ||
| - ca-certificates | ||
| - curl | ||
| - figlet | ||
| - jq | ||
| copyright: | ||
| - license: Apache-2.0 | ||
|
|
||
| environment: | ||
| contents: | ||
| packages: | ||
| - busybox | ||
|
|
||
| pipeline: | ||
| - uses: git-checkout | ||
| with: | ||
| repository: https://github.com/nats-io/nats-box | ||
| tag: v${{package.version}} | ||
| expected-commit: dd2fba50b95c5a8b708bc23bd3ed7ee068cef2cc | ||
|
|
||
| - runs: | | ||
| mkdir -p ${{targets.destdir}}/etc/profile.d | ||
Dentrax marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| sed -i 's/^.*MARKER-REPLACE-LINE-IN-CI.*/echo "nats-box v${{package.version}}" >\&2/' profile.sh | ||
| install -Dm755 profile.sh ${{targets.destdir}}/etc/profile.d | ||
| install -Dm755 entrypoint.sh ${{targets.destdir}}/entrypoint.sh | ||
|
|
||
| update: | ||
| enabled: true | ||
| github: | ||
| identifier: nats-io/nats-box | ||
| strip-prefix: v | ||
|
|
||
| test: | ||
| pipeline: | ||
| - name: "Verify entrypoint.sh and profile.sh files" | ||
| runs: | | ||
| test -s "../../etc/profile.d/profile.sh" | ||
| test -s "../../entrypoint.sh" | ||
AnmolVirdi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.