Skip to content
Open
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
0e2a054
Tes artifactory-oidc
DavidVtwilio Aug 3, 2026
061441c
Test 2
DavidVtwilio Aug 3, 2026
1a98cef
Pinning SHAs
DavidVtwilio Aug 3, 2026
81dea04
New action version
DavidVtwilio Aug 3, 2026
b02f7cf
Installing bundler
DavidVtwilio Aug 3, 2026
3407723
New test
DavidVtwilio Aug 3, 2026
30c4620
New actions version test
DavidVtwilio Aug 3, 2026
8de2e52
New test
DavidVtwilio Aug 3, 2026
feafee9
Trying with config file
DavidVtwilio Aug 3, 2026
7b531d8
Trying now with config file
DavidVtwilio Aug 3, 2026
2ee2a58
Testing with envs
DavidVtwilio Aug 3, 2026
400c7a6
Testing with envs 2
DavidVtwilio Aug 3, 2026
f523fc2
Testing with envs 3
DavidVtwilio Aug 4, 2026
25cae58
test with checksum disabled
DavidVtwilio Aug 4, 2026
ab42181
try to install newer bundler
DavidVtwilio Aug 4, 2026
e5861b9
Using setup-ruby
DavidVtwilio Aug 4, 2026
fba32c8
Testing with setup-ruby action
DavidVtwilio Aug 4, 2026
20b0441
Testing with setup-ruby action 2
DavidVtwilio Aug 4, 2026
9ab8c51
Yet another test
DavidVtwilio Aug 4, 2026
30d47b6
Yet another test 2
DavidVtwilio Aug 4, 2026
544b1b4
Werid test
DavidVtwilio Aug 4, 2026
72a7094
Installing latest bundler
DavidVtwilio Aug 4, 2026
6e8cae2
Test with full url
DavidVtwilio Aug 4, 2026
c528be7
Test with full url without username
DavidVtwilio Aug 4, 2026
9acc6e1
Test with full logs
DavidVtwilio Aug 4, 2026
faaad6a
using old bundler just to test
DavidVtwilio Aug 4, 2026
6d274c9
using username
DavidVtwilio Aug 4, 2026
3b7b53f
using escaped username
DavidVtwilio Aug 4, 2026
8efebed
Cleanup test
DavidVtwilio Aug 4, 2026
d973634
Clenup test 2
DavidVtwilio Aug 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Test Artifactory OIDC (Ruby)
on:
workflow_dispatch:
push:
branches: [dv/test-artifactory-oidc]

jobs:
test-oidc:
runs-on: ubuntu-x64
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- uses: twilio/sdk-actions/artifactory-oidc@f56aaebb29a9fed8ac0efd45085f7e8a98112968
with:
ecosystem: ruby
- uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b
with:
ruby-version: "3.2"
bundler: "2.7"
- name: Set Bundler credentials for Artifactory
run: |
bundle config set --global twilio.jfrog.io "$(printenv 'BUNDLE_TWILIO__JFROG__IO')"
bundle config set --global mirror.https://rubygems.org/ "$(printenv 'BUNDLE_MIRROR__HTTPS://RUBYGEMS__ORG/')"
- name: Verify Bundler mirror is configured
run: |
echo "Ruby: $(ruby --version)"
echo "Bundler version: $(bundle --version)"
env | grep BUNDLE_MIRROR || true
env | grep BUNDLE_TWILIO || true
printenv 'BUNDLE_MIRROR__HTTPS://RUBYGEMS__ORG/' | grep -q "twilio.jfrog.io" \
&& echo "OK — mirror points to Artifactory" \
|| { echo "FAIL — mirror not set"; exit 1; }
- name: Test bundle install through Artifactory
run: |
bundle install --verbose
echo "bundle install succeeded"
Loading