Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
8734420
Update JFrog CLI ver to 1.35.3 & updated dev deps (#12)
eyalbe4 Apr 6, 2020
59bccef
Update version to 1.0.4
eyalb4doc Apr 6, 2020
3d94460
Fix README typos (#15)
eyalbe4 Apr 7, 2020
8b7608c
Add release automation (#14)
yahavi Apr 16, 2020
8db615d
Update version to 1.0.5
eyalb4doc May 13, 2020
5af30a8
Removed old CLA link
eyalb4doc Jun 13, 2020
f0811a7
Add github templates and CLA (#25)
yahavi Oct 23, 2020
80bab28
Update @actions/core version (#24)
yahavi Oct 24, 2020
0a5fee3
Add user agent (#26)
yahavi Oct 27, 2020
4452bdc
Upgade default CLI to 1.40.0 (#27)
yahavi Oct 27, 2020
fed9c97
Update version to 1.1.0
yahavi Oct 27, 2020
f872d2b
Add JFrog CLI to path even if cached (#28)
yahavi Jan 8, 2021
33f2423
Fix README link + upgrade jfrog-cli + deps upgrade (#31)
eyalbe4 Feb 3, 2021
a68cd5d
Update version to 1.1.1
yahavi Feb 16, 2021
12a27f0
Update version to 1.1.1
yahavi Feb 16, 2021
0936488
Replace jfrog-cli download URL
eyalbe4 Apr 12, 2021
fbcecdf
Replace jfrog-cli download URL
eyalbe4 Apr 12, 2021
202ef5f
Update version to 1.1.3
eyalbe4 Apr 12, 2021
93bc26f
Update CLI to 1.46.4 (#33)
yahavi Apr 19, 2021
2412b32
Add cleanup phase (#35)
yahavi Apr 20, 2021
fce99f7
Update version to 1.1.4
yahavi Apr 20, 2021
0fc7583
Change build-number and build-url (#38)
yahavi Apr 25, 2021
9532367
Update version to 1.2.0
yahavi Apr 25, 2021
32faf69
Update README.md
yahavi Apr 25, 2021
2ec8604
Update README.md
yahavi Apr 29, 2021
2f42adb
Update README.md
yahavi Apr 29, 2021
345ecb3
Update README.md
yahavi Apr 29, 2021
9bdd4be
Update cla.yml
yahavi May 14, 2021
cd5a0e8
Update dependencies (#47)
yahavi Jun 21, 2021
330d102
Be able to use version with a major of 2 (#51)
mmege Sep 12, 2021
0e93fc5
Bump path-parse from 1.0.6 to 1.0.7 (#49)
dependabot[bot] Sep 12, 2021
99fab20
Update js-yaml (#53)
yahavi Sep 12, 2021
ef7593c
Update CLI to 1.51.1
yahavi Sep 12, 2021
6868455
Update version to 1.2.1
yahavi Sep 12, 2021
dc5aa4f
Update version to v2 (#54)
yahavi Sep 12, 2021
27c96c5
Update test dependencies (#58)
yahavi Dec 20, 2021
48d7925
Add support for JFrog cli version:latest (#59)
talarian1 Feb 1, 2022
0cb4c6c
Add introduction image (#61)
yahavi Feb 15, 2022
31c9076
Bump tmpl from 1.0.4 to 1.0.5 (#55)
dependabot[bot] Feb 21, 2022
126069f
Allow using 'jf' in addition to 'jfrog' (#63)
yahavi Mar 21, 2022
5796ba4
Update dependencies (#64)
yahavi Mar 23, 2022
a9cd38c
Update CLI to 2.14.0
yahavi Mar 24, 2022
b21260c
Add free jfrog to the README (#66)
eyalbe4 Mar 25, 2022
2b4fa51
Replace tslint by eslint (#67)
yahavi Mar 27, 2022
15bdfb7
Revert to node 12 (#68)
yahavi Mar 27, 2022
0f6a04c
Update version to 2.2.1
yahavi Mar 27, 2022
479346f
Allow downloading CLI from Artifactory (#71)
yahavi Apr 10, 2022
44a19a7
Don't override environment variables (#72)
yahavi Apr 10, 2022
128e747
Update version to 2.3.0
yahavi Apr 10, 2022
6418d11
Improve remote repository documentation (#74)
yahavi Apr 25, 2022
99ebfa0
Support storing the connection details using separate environment var…
sverdlov93 Aug 15, 2022
177f5ec
Update default JFrog CLI version to 2.24.2 and add Mac ARM64 CLI Supp…
sverdlov93 Aug 15, 2022
aae975e
Update README.md (#80)
sverdlov93 Aug 17, 2022
958e540
Update version to 2.4.0 (#82)
sverdlov93 Aug 17, 2022
bee7346
Fix redundant base64 access token encoding (#83)
sverdlov93 Aug 17, 2022
11ee3f9
Update version to 2.4.1 (#84)
sverdlov93 Aug 17, 2022
d0a59b1
[Major] - Update to Node16 and actions/core@1.10 (#89)
sverdlov93 Oct 18, 2022
3222ed5
Update README.md to v3 (#90)
sverdlov93 Oct 18, 2022
3756c47
Update JFrog CLI to 2.34.5 (#93)
yahavi Feb 27, 2023
b767cc7
Update version to 3.2.0
sverdlov93 Mar 19, 2023
c91b287
Add Frogbot scanning to this repository (#95)
eyalbe4 Apr 16, 2023
2b2542d
Update JFrog CLI default version to 2.37.0 (#100)
sverdlov93 May 3, 2023
25a4f3a
Update version to 3.3.0 (#101)
sverdlov93 May 3, 2023
2d55dc4
Update npm dependencies and JFrog CLI default version to 2.44.1 (#108)
sverdlov93 Aug 1, 2023
30b44d8
Update dependencies (#110)
yahavi Nov 2, 2023
60f0b2e
Update default JFrog CLI version to 2.50.4 (#111)
yahavi Nov 2, 2023
901bb96
Update version to 3.4.1
yahavi Nov 2, 2023
ea63b04
Update JFrog CLI default to v2.52.7 (#115)
sverdlov93 Dec 26, 2023
391668d
Enable auth with OpenID Connect (#117)
eranturgeman Jan 17, 2024
37b5700
Update version to 3.5.0 (#119)
eranturgeman Jan 17, 2024
69c1043
Fix authentication flows (#122)
yahavi Jan 18, 2024
5b315b8
Bump @babel/traverse from 7.22.8 to 7.23.7 (#123)
dependabot[bot] Jan 18, 2024
674f39c
Force the cleanup script to use the tool cache (#124)
yahavi Jan 18, 2024
8fc3d00
Update version to 3.5.2
yahavi Jan 18, 2024
83b4c9d
Improve OpenID Connect integration (#125)
yahavi Jan 21, 2024
790633e
Update default JFrog CLI version to 2.52.9 (#126)
yahavi Jan 21, 2024
0f30b43
Update version to 3.5.3
yahavi Jan 21, 2024
c2665a8
Reformat readme and add table of contents (#127)
yahavi Feb 2, 2024
33a71e5
Update default runtime to node20 (#130)
rsi-mrobinson Feb 2, 2024
26da225
Update version to 4.0.0 (#131)
yahavi Feb 2, 2024
48995be
Add OIDC integration blog to the README (#135)
yahavi Mar 10, 2024
920cc93
Bump JFrog CLI to 2.53.2 (#136)
fgibelin Mar 11, 2024
d82fe26
Bump undici from 5.28.2 to 5.28.3 (#137)
yahavi Mar 11, 2024
37f65b6
Bump JFrog CLI Version to 2.54.0 (#139)
fgibelin Mar 28, 2024
7970d71
Bump undici from 5.28.3 to 5.28.4 (#143)
yahavi Apr 30, 2024
50c51e2
Update test.yml
yahavi Apr 30, 2024
6b20aa0
Update JFrog CLI to 2.56.1 (#147)
yahavi May 9, 2024
727b480
Update version to 4.0.2
yahavi May 9, 2024
425e54a
Adding OIDC token & parsed OIDC user as Action outputs (#151)
carmithersh May 20, 2024
c2349e9
Revert "Adding OIDC token & parsed OIDC user as Action outputs (#151)…
yahavi May 20, 2024
ca5ea1d
Restore "Adding OIDC token & parsed OIDC user as Action outputs (#151…
yahavi May 21, 2024
d397274
Github Job Summaries (#145)
May 29, 2024
55688f0
Add Job Summaries documentation (#154)
May 29, 2024
d730afd
Update version to 4.1.0 (#156)
May 29, 2024
ac32086
Update documentation (#157)
May 29, 2024
1405ca8
Update documentation (#158)
May 30, 2024
7c95feb
Fix job summary footer docs anchor (#161)
May 30, 2024
365964f
Fix broken URL in OIDC tests (#163)
eranturgeman Jun 4, 2024
c3a873e
Update dependencies and Update JFrog CLI to 2.58.2 (#166)
sverdlov93 Jun 22, 2024
af6814e
Mask environment variable secrets (#167)
sverdlov93 Jun 22, 2024
23d7916
Bumb JFrog CLI version to 2.59.1 (#172)
fgibelin Jul 10, 2024
aeeff2f
Update documentation (#173)
Jul 11, 2024
b6ae82d
Fix job summary color scheme not supported (#170)
Jul 11, 2024
8db8d2b
Add option to disable Job Summaries (#169)
Jul 11, 2024
8bab65d
Update version to 4.1.3 (#174)
Jul 11, 2024
08ed366
Make job summary disable input schema compatible (#175)
RobiNino Jul 28, 2024
9a326ad
Add note about overriding build values (#177)
RobiNino Jul 28, 2024
5823508
Reorder job summary sections (#176)
RobiNino Jul 29, 2024
2308cad
Update job summary documentation (#178)
RobiNino Jul 31, 2024
6265e82
Upgrade jfrog-cli and version
RobiNino Jul 31, 2024
105617d
Upgrade jfrog-cli and version
RobiNino Aug 1, 2024
768dc7d
Support OIDC for projects (#179)
RobiNino Aug 5, 2024
26532cd
Upgrade jfrog-cli and version
RobiNino Aug 6, 2024
ea984f0
Update dependencies and JFrog CLI version to 2.63.0 (#180)
sverdlov93 Aug 12, 2024
c0bbcc1
Improve readme (#181)
sverdlov93 Aug 12, 2024
fb032f7
Update JFrog CLI default version to 2.63.2 (#187)
sverdlov93 Aug 18, 2024
c4e76b5
Handle JFrog CLI `latest` version missing path on cleanup (#188)
sverdlov93 Aug 19, 2024
2a8318a
Improve cleanup code (#189)
sverdlov93 Aug 20, 2024
a978f6e
Automatic `build-add-git` & `build-publish` on post job run (#185)
sverdlov93 Sep 1, 2024
c462cde
Command Summary - New UI (#186)
Sep 1, 2024
ddac456
Bump version from 4.2.2 to 4.3.0 (#191)
Sep 1, 2024
16b3a6e
Update documentation (#193)
RobiNino Sep 1, 2024
91e6626
Fix summary header image not loading (#192)
Sep 2, 2024
49baf48
Fix Job Summary disabled on self hosted machines (#194)
Sep 2, 2024
17e5928
Upgrade version to 4.3.1 (#195)
Sep 2, 2024
900773d
Fix missing cached JFrog CLI path on cleanup task (#197)
sverdlov93 Sep 2, 2024
cb282f6
Update to version 4.3.2 (#198)
sverdlov93 Sep 2, 2024
b5613d0
Update Job Summary header (#199)
Sep 3, 2024
c10541d
Fix 'jf' path on cleanup and validate JobSummary supported CLI versio…
sverdlov93 Sep 4, 2024
4ddfa9d
Documentation Improvements (#204)
RobiNino Sep 4, 2024
254dc2c
Support uploading code scanning sarif (#203)
RobiNino Sep 4, 2024
df9cbe0
Fix connection check (#205)
RobiNino Sep 4, 2024
883a85f
Update version to 4.4.0
RobiNino Sep 4, 2024
9fe0f98
Upgrade Default CLI version (#208)
Sep 5, 2024
b9a85a8
Avoid throwing on JFrog CLI failures (#210)
RobiNino Sep 5, 2024
eefaace
Remove redundant chmod on cached executable (#212)
sverdlov93 Sep 8, 2024
f93091f
Set default JFrog CLI version to 2.68.0 (#215)
eyalbe4 Sep 19, 2024
47b70f0
Add supported commands documentation (#216)
RobiNino Sep 19, 2024
2b7ec79
Improve build info default behavior documentation (#218)
RobiNino Sep 22, 2024
18e785f
Add Commands for Enhanced Usage Insights (#224)
Nov 14, 2024
73cafc9
New OIDC fields added, including the GitHub job name and run ID (#225)
Nov 29, 2024
d788a32
Revert - New OIDC fields added, including the GitHub job name and run…
eyalbe4 Nov 29, 2024
e7cc33a
New OIDC fields added, including the GitHub job name and run ID (#231)
eyalbe4 Dec 1, 2024
da7423c
Server configuration improvements (#227)
RobiNino Dec 4, 2024
040913f
Promote version to 4.5.0
RobiNino Dec 4, 2024
fd3db35
Revert default server ID removal (#234)
RobiNino Dec 10, 2024
9615397
Promote version to 4.5.1
RobiNino Dec 10, 2024
dff217c
Fix JFrog servers configurations cleanup (#236)
Dec 16, 2024
1a69118
Support application key (#232)
SaharBracha Dec 19, 2024
4871dbe
Upgrade JFrog CLI and set usage vars to be captured by JFrog CLI (#237)
eyalbe4 Dec 23, 2024
317a362
Promote to v4.5.3 (#238)
eyalbe4 Dec 23, 2024
ac9f827
Update CLI version (#239)
Dec 26, 2024
c8a1753
Reduce `isHeaderPngAccessible()` timeout (#235)
Dec 26, 2024
f0a84f3
Update CLI version (#240)
Dec 26, 2024
68402ea
Validate badge url (#241)
Jan 5, 2025
1a51b15
Fix usage system parameters (#243)
Jan 6, 2025
812206b
Update README.md to include self-signed certificates information for …
austinfrog Jan 7, 2025
6bae8d8
Support Minor Version Tagging (#228)
hazeltonl Jan 7, 2025
f748a05
Update JFrog CLI Version (#245)
Jan 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 30 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
rules: {
'@typescript-eslint/typedef': [
'error',
{
memberVariableDeclaration: true,
variableDeclaration: true,
objectDestructuring: true,
propertyDeclaration: true,
parameter: true
}
],
'prefer-const': 'off',
'no-extra-boolean-cast': 'off',
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/no-explicit-any': 'off'
},
overrides: [
{
files: ['*.test.ts'],
rules: {
'@typescript-eslint/no-non-null-assertion': 'off'
}
}
]
};
75 changes: 75 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
name: "🐛 Bug Report"
description: Create a report to help us improve
labels: [ bug ]
body:
- type: textarea
id: description
attributes:
label: Describe the bug
description: What is the problem? A clear and concise description of the bug.
validations:
required: true

- type: textarea
id: current
attributes:
label: Current behavior
description: |
Please include full errors, uncaught exceptions, screenshots, and relevant logs.
Using environment variable JFROG_CLI_LOG_LEVEL="DEBUG" upon running the command will provide more log information.
validations:
required: true

- type: textarea
id: reproduction
attributes:
label: Reproduction steps
description: |
Provide steps to reproduce the behavior.
validations:
required: false

- type: textarea
id: expected
attributes:
label: Expected behavior
description: |
What did you expect to happen?
validations:
required: false

- type: input
id: setup-cli-version
attributes:
label: Setup JFrog CLI version
validations:
required: true

- type: input
id: cli-version
attributes:
label: JFrog CLI version
validations:
required: true

- type: input
id: os-version
attributes:
label: Workflow operating system type and version
validations:
required: true

- type: input
id: rt-version
attributes:
label: JFrog Artifactory version (if relevant)
validations:
required: false

- type: input
id: xr-version
attributes:
label: JFrog Xray version (if relevant)
validations:
required: false
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: "⭐️ Feature request"
description: Suggest an idea for this project
title: "(short feature description)"
labels: [ feature request ]
body:
- type: textarea
id: description
attributes:
label: Is your feature request related to a problem? Please describe.
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validations:
required: true

- type: textarea
id: solution
attributes:
label: Describe the solution you'd like to see
description: A clear and concise description of the new feature.
validations:
required: true

- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: If applicable, a clear and concise description of any alternative solutions or features you've considered.
validations:
required: false

- type: textarea
id: extras
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
validations:
required: false
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: "❓ Question"
description: Ask a question
title: "(short question title)"
labels: [ question ]
body:
- type: textarea
id: question
attributes:
label: How can we help?
validations:
required: true
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- [ ] All [tests](https://github.com/jfrog/setup-jfrog-cli#build-the-code) passed. If this feature is not already covered by the tests, I added new tests.
- [ ] I used `npm run format` for formatting the code before submitting the pull request.
-----
20 changes: 20 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
changelog:
exclude:
labels:
- ignore for release
categories:
- title: Breaking Changes 🚨
labels:
- breaking change
- title: Exciting New Features 🎉
labels:
- new feature
- title: Improvements 🌱
labels:
- improvement
- title: Bug Fixes 🛠
labels:
- bug
- title: Other Changes 📚
labels:
- "*"
83 changes: 83 additions & 0 deletions .github/workflows/auto-build-publish-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: Auto Build Publish Test
on:
push:
branches:
- master
# Triggers the workflow on labeled PRs only.
pull_request_target:
types: [ labeled ]
# Ensures that only the latest commit is running for each PR at a time.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.ref }}
cancel-in-progress: true

jobs:
Auto-Build-Publish-Test:
name: Auto-Build-Publish-Test (${{ matrix.os }}) - (CLI ${{ matrix.cli-version }})
if: contains(github.event.pull_request.labels.*.name, 'safe to test') || github.event_name == 'push'
strategy:
fail-fast: false
matrix:
os: [ ubuntu, windows, macos ]
cli-version: [ "latest", "2.66.0" ]
runs-on: ${{ matrix.os }}-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup Go with cache
uses: jfrog/.github/actions/install-go-with-cache@main

- name: Install local Artifactory
uses: jfrog/.github/actions/install-local-artifactory@main
with:
RTLIC: ${{ secrets.RTLIC }}

- name: Post Step to Test the Auto Build-Publish post step
uses: gacts/run-and-post-run@v1
with:
post: |
jf c add --artifactory-url http://localhost:8081/artifactory --user admin --password password; \
count=$(jf rt search "artifactory-build-info/${GITHUB_WORKFLOW}/${GITHUB_RUN_NUMBER}-*" --count 2>stderr.log); \
exit_code=$?; \
cat stderr.log; \
if [ $exit_code -ne 0 ]; then \
echo "Command failed with exit code $exit_code."; \
exit 1; \
fi; \
if [ "$count" -eq 0 ]; then \
echo "No build info found."; \
exit 1; \
fi

- name: Setup JFrog CLI
id: setup-jfrog-cli
uses: ./
with:
version: ${{ matrix.cli-version }}
env:
JF_URL: http://localhost:8081/
JF_USER: admin
JF_PASSWORD: password

- name: Create NPM Remote Repository JSON
uses: jsdaniell/create-json@v1.2.3
with:
name: "npm-remote-template.json"
json: '{
"key": "npm-remote",
"rclass": "remote",
"packageType": "npm",
"url": "https://registry.npmjs.org"
}'

- name: Configure Artifactory NPM Remote Repository
run: jf rt repo-create npm-remote-template.json
shell: bash

- name: Add npm modules to local build-info
run: |
jf npm-config --repo-resolve npm-remote
jf npm install
19 changes: 19 additions & 0 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "CLA Assistant"
on:
# issue_comment triggers this action on each comment on issues and pull requests
issue_comment:
types: [ created ]
pull_request_target:
types: [ opened, synchronize ]

jobs:
CLAssistant:
runs-on: ubuntu-latest
steps:
- name: Run CLA Check
uses: jfrog/.github/actions/cla@main
with:
event_comment_body: ${{ github.event.comment.body }}
event_name: ${{ github.event_name }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CLA_SIGN_TOKEN: ${{ secrets.CLA_SIGN_TOKEN }}
Loading