@@ -78,34 +78,34 @@ jobs:
7878 git config --global user.email test@example.com
7979 git config --global user.name "Tester McPerson"
8080
81- -name :Generate and configure GPG for signing commits and tags in E2E tests
82- run :|
83- # Generate a GPG key for test@example.com and store the output from stderr
84- GPG_OUTPUT=$(echo "Key-Type: default
85- Key-Length: 2048
86- Subkey-Type: default
87- Subkey-Length: 2048
88- Name-Real: Tester McPerson
89- Name-Email: test@example.com
90- Expire-Date: 0
91- %no-protection" | gpg --pinentry-mode loopback --batch --generate-key 2>&1)
92-
93- # Find and extract the revocation file path from sdterr
94- REVOCATION_FILE=$(echo "$GPG_OUTPUT" | grep '.rev' | tr '\n' ' ' | awk -F "'" '{print $4}')
95-
96- # Get the GPG key ID and the full fingerprint
97- export GPG_KEY_ID=$(gpg --list-secret-keys --keyid-format LONG | grep sec | awk '{print $2}' | cut -d'/' -f2)
98- export GPG_FULL_KEY_ID=$(gpg --list-secret-keys --keyid-format LONG | grep "$GPG_KEY_ID" | grep -v "sec" | awk '{print $1}' | cut -d'/' -f2)
99-
100- # Export fingerprint and the path to the revocation file to GITHUB_ENV
101- # This allows the last step in this job to revoke and delete the key
102- echo "GPG_FULL_KEY_ID=$GPG_FULL_KEY_ID" >> $GITHUB_ENV
103- echo "REVOCATION_FILE=$REVOCATION_FILE" >> $GITHUB_ENV
104-
105- # Setup git signing for commits and tags
106- git config commit.gpgsigntrue
107- git config tag.gpgsigntrue
108- git config --global user.signingkey $GPG_KEY_ID
81+ # - name: Generate and configure GPG for signing commits and tags in E2E tests
82+ # run: |
83+ # # Generate a GPG key for test@example.com and store the output from stderr
84+ # GPG_OUTPUT=$(echo "Key-Type: default
85+ # Key-Length: 2048
86+ # Subkey-Type: default
87+ # Subkey-Length: 2048
88+ # Name-Real: Tester McPerson
89+ # Name-Email: test@example.com
90+ # Expire-Date: 0
91+ # %no-protection" | gpg --pinentry-mode loopback --batch --generate-key 2>&1)
92+
93+ # # Find and extract the revocation file path from sdterr
94+ # REVOCATION_FILE=$(echo "$GPG_OUTPUT" | grep '.rev' | tr '\n' ' ' | awk -F "'" '{print $4}')
95+
96+ # # Get the GPG key ID and the full fingerprint
97+ # export GPG_KEY_ID=$(gpg --list-secret-keys --keyid-format LONG | grep sec | awk '{print $2}' | cut -d'/' -f2)
98+ # export GPG_FULL_KEY_ID=$(gpg --list-secret-keys --keyid-format LONG | grep "$GPG_KEY_ID" | grep -v "sec" | awk '{print $1}' | cut -d'/' -f2)
99+
100+ # # Export fingerprint and the path to the revocation file to GITHUB_ENV
101+ # # This allows the last step in this job to revoke and delete the key
102+ # echo "GPG_FULL_KEY_ID=$GPG_FULL_KEY_ID" >> $GITHUB_ENV
103+ # echo "REVOCATION_FILE=$REVOCATION_FILE" >> $GITHUB_ENV
104+
105+ # # Setup git signing for commits and tags
106+ # git config commit.gpgsign true
107+ # git config tag.gpgsign true
108+ # git config --global user.signingkey $GPG_KEY_ID
109109
110110 -name :Run parallel distributed builds and tests on each node version
111111uses :jameshenry/parallel-bash-commands@v1
@@ -133,16 +133,16 @@ jobs:
133133if :${{ always() }}
134134run :npx nx-cloud stop-all-agents
135135
136- -name :Revoke and delete GPG key
137- # It's important that we always run this step, otherwise the key will remain active if any of the steps above fail
138- if :${{ always() }}
139- run :|
140- # As instructed in the text of revocation file, there is a colon that needs to be removed manually
141- sed -i "s/:-----BEGIN PGP PUBLIC KEY BLOCK-----/-----BEGIN PGP PUBLIC KEY BLOCK-----/" $REVOCATION_FILE
136+ # - name: Revoke and delete GPG key
137+ # # It's important that we always run this step, otherwise the key will remain active if any of the steps above fail
138+ # if: ${{ always() }}
139+ # run: |
140+ # # As instructed in the text of revocation file, there is a colon that needs to be removed manually
141+ # sed -i "s/:-----BEGIN PGP PUBLIC KEY BLOCK-----/-----BEGIN PGP PUBLIC KEY BLOCK-----/" $REVOCATION_FILE
142142
143- # Revoke the key and delete it
144- gpg --yes --import $REVOCATION_FILE
145- gpg --batch --yes --delete-secret-and-public-key $GPG_FULL_KEY_ID
143+ # # Revoke the key and delete it
144+ # gpg --yes --import $REVOCATION_FILE
145+ # gpg --batch --yes --delete-secret-and-public-key $GPG_FULL_KEY_ID
146146
147147agents :
148148name :Nx Cloud - Agent - node-${{ matrix.node }}-agent-${{ matrix.agent }}
@@ -165,34 +165,34 @@ jobs:
165165 git config --global user.email test@example.com
166166 git config --global user.name "Tester McPerson"
167167
168- -name :Generate and configure GPG for signing commits and tags in E2E tests
169- run :|
170- # Generate a GPG key for test@example.com and store the output from stderr
171- GPG_OUTPUT=$(echo "Key-Type: default
172- Key-Length: 2048
173- Subkey-Type: default
174- Subkey-Length: 2048
175- Name-Real: Tester McPerson
176- Name-Email: test@example.com
177- Expire-Date: 0
178- %no-protection" | gpg --pinentry-mode loopback --batch --generate-key 2>&1)
179-
180- # Find and extract the revocation file path from sdterr
181- REVOCATION_FILE=$(echo "$GPG_OUTPUT" | grep '.rev' | tr '\n' ' ' | awk -F "'" '{print $4}')
182-
183- # Get the GPG key ID and the full fingerprint
184- export GPG_KEY_ID=$(gpg --list-secret-keys --keyid-format LONG | grep sec | awk '{print $2}' | cut -d'/' -f2)
185- export GPG_FULL_KEY_ID=$(gpg --list-secret-keys --keyid-format LONG | grep "$GPG_KEY_ID" | grep -v "sec" | awk '{print $1}' | cut -d'/' -f2)
186-
187- # Export fingerprint and the path to the revocation file to GITHUB_ENV
188- # This allows the last step in this job to revoke and delete the key
189- echo "GPG_FULL_KEY_ID=$GPG_FULL_KEY_ID" >> $GITHUB_ENV
190- echo "REVOCATION_FILE=$REVOCATION_FILE" >> $GITHUB_ENV
191-
192- # Setup git signing for commits and tags
193- git config commit.gpgsigntrue
194- git config tag.gpgsigntrue
195- git config --global user.signingkey $GPG_KEY_ID
168+ # - name: Generate and configure GPG for signing commits and tags in E2E tests
169+ # run: |
170+ # # Generate a GPG key for test@example.com and store the output from stderr
171+ # GPG_OUTPUT=$(echo "Key-Type: default
172+ # Key-Length: 2048
173+ # Subkey-Type: default
174+ # Subkey-Length: 2048
175+ # Name-Real: Tester McPerson
176+ # Name-Email: test@example.com
177+ # Expire-Date: 0
178+ # %no-protection" | gpg --pinentry-mode loopback --batch --generate-key 2>&1)
179+
180+ # # Find and extract the revocation file path from sdterr
181+ # REVOCATION_FILE=$(echo "$GPG_OUTPUT" | grep '.rev' | tr '\n' ' ' | awk -F "'" '{print $4}')
182+
183+ # # Get the GPG key ID and the full fingerprint
184+ # export GPG_KEY_ID=$(gpg --list-secret-keys --keyid-format LONG | grep sec | awk '{print $2}' | cut -d'/' -f2)
185+ # export GPG_FULL_KEY_ID=$(gpg --list-secret-keys --keyid-format LONG | grep "$GPG_KEY_ID" | grep -v "sec" | awk '{print $1}' | cut -d'/' -f2)
186+
187+ # # Export fingerprint and the path to the revocation file to GITHUB_ENV
188+ # # This allows the last step in this job to revoke and delete the key
189+ # echo "GPG_FULL_KEY_ID=$GPG_FULL_KEY_ID" >> $GITHUB_ENV
190+ # echo "REVOCATION_FILE=$REVOCATION_FILE" >> $GITHUB_ENV
191+
192+ # # Setup git signing for commits and tags
193+ # git config commit.gpgsign true
194+ # git config tag.gpgsign true
195+ # git config --global user.signingkey $GPG_KEY_ID
196196
197197 -name :Install node v${{ matrix.node }} and dependencies
198198uses :./.github/actions/install-node-and-dependencies
@@ -209,13 +209,13 @@ jobs:
209209env :
210210NX_AGENT_NAME :node-${{ matrix.node }}-agent-${{ matrix.agent }}
211211
212- -name :Revoke and delete GPG key
213- # It's important that we always run this step, otherwise the key will remain active if any of the steps above fail
214- if :${{ always() }}
215- run :|
216- # As instructed in the text of revocation file, there is a colon that needs to be removed manually
217- sed -i "s/:-----BEGIN PGP PUBLIC KEY BLOCK-----/-----BEGIN PGP PUBLIC KEY BLOCK-----/" $REVOCATION_FILE
212+ # - name: Revoke and delete GPG key
213+ # # It's important that we always run this step, otherwise the key will remain active if any of the steps above fail
214+ # if: ${{ always() }}
215+ # run: |
216+ # # As instructed in the text of revocation file, there is a colon that needs to be removed manually
217+ # sed -i "s/:-----BEGIN PGP PUBLIC KEY BLOCK-----/-----BEGIN PGP PUBLIC KEY BLOCK-----/" $REVOCATION_FILE
218218
219- # Revoke the key and delete it
220- gpg --yes --import $REVOCATION_FILE
221- gpg --batch --yes --delete-secret-and-public-key $GPG_FULL_KEY_ID
219+ # # Revoke the key and delete it
220+ # gpg --yes --import $REVOCATION_FILE
221+ # gpg --batch --yes --delete-secret-and-public-key $GPG_FULL_KEY_ID