Skip to content

Commit f9b9e57

Browse files
revert(ci): remove PuppetCore authentication from shared workflows
- Remove PuppetCore authentication environment variables from gem_ci.yml, module_ci.yml, and tooling_mend_ruby.yml - Delete documentation on how to inject PuppetCore authentication Signed-off-by: Gavin Didrichsen <gavin.didrichsen@gmail.com>
1 parent 03d8a7d commit f9b9e57

File tree

4 files changed

+4
-104
lines changed

4 files changed

+4
-104
lines changed

.github/workflows/gem_ci.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,15 @@ on:
3030
default: false
3131
type: "boolean"
3232

33-
# ENABLE PUPPETCORE. The calling workflow must:
34-
# - Set a valid PUPPET_FORGE_TOKEN secret on its repository.
35-
# - Set ruby_version >= 3.1 to override this workflow's default 2.7; otherwise bundle install will fail.
36-
env:
37-
PUPPET_GEM_VERSION: ${{ inputs.puppet_gem_version }}
38-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
39-
PUPPET_FORGE_TOKEN: ${{ secrets.PUPPET_FORGE_TOKEN }}
40-
BUNDLE_RUBYGEMS___PUPPETCORE__PUPPET__COM: "forge-key:${{ secrets.PUPPET_FORGE_TOKEN }}"
41-
4233
jobs:
4334
spec:
4435
name: "spec"
4536
runs-on: ${{ inputs.runs_on }}
4637

38+
env:
39+
PUPPET_GEM_VERSION: ${{ inputs.puppet_gem_version }}
40+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
41+
4742
steps:
4843
- name: "checkout"
4944
uses: "actions/checkout@v4"

.github/workflows/module_ci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ on:
2525
default: '3.1'
2626
type: "string"
2727

28-
# ENABLE PUPPETCORE. The calling workflow must:
29-
# - Set a valid PUPPET_FORGE_TOKEN secret on its repository.
30-
# - Set ruby_version >= 3.1 to override this workflow's default 2.7; otherwise bundle install will fail.
31-
env:
32-
PUPPET_FORGE_TOKEN: ${{ secrets.PUPPET_FORGE_TOKEN }}
33-
BUNDLE_RUBYGEMS___PUPPETCORE__PUPPET__COM: "forge-key:${{ secrets.PUPPET_FORGE_TOKEN }}"
3428

3529
jobs:
3630
setup_matrix:

.github/workflows/tooling_mend_ruby.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ env:
2525
MEND_TOKEN: ${{ secrets.MEND_TOKEN != '' && secrets.MEND_TOKEN || inputs.token }}
2626
PRODUCT_NAME: ${{ inputs.PRODUCT_NAME != '' && inputs.PRODUCT_NAME || inputs.product_name }}
2727
REQUIRE_SECRETS: MEND_API_KEY MEND_TOKEN
28-
# ENABLE PUPPETCORE. The calling workflow must:
29-
# - Set a valid PUPPET_FORGE_TOKEN secret on its repository.
30-
# - Set ruby_version >= 3.1 to override this workflow's default 2.7; otherwise bundle install will fail.
31-
PUPPET_FORGE_TOKEN: ${{ secrets.PUPPET_FORGE_TOKEN }}
32-
BUNDLE_RUBYGEMS___PUPPETCORE__PUPPET__COM: "forge-key:${{ secrets.PUPPET_FORGE_TOKEN }}"
3328

3429
jobs:
3530
mend:

docs/how-to/how_to_inject_puppetcore_authentication_into_the_shared_workflows.md

Lines changed: 0 additions & 84 deletions
This file was deleted.

0 commit comments

Comments
 (0)