Skip to content

Commit bffb260

Browse files
committed
Clean up files after initial release and re-enable use of ssh and key
1 parent 6327385 commit bffb260

File tree

3 files changed

+0
-97
lines changed

3 files changed

+0
-97
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -113,69 +113,6 @@ jobs:
113113
.cut_release_changes
114114
include-hidden-files: true
115115

116-
## merge-develop-into-stable:
117-
## name: Merge develop into stable
118-
## runs-on: ubuntu-latest
119-
## needs:
120-
## - update-main
121-
## environment: release
122-
## permissions:
123-
## contents: write # To be able to publish the release
124-
## steps:
125-
## - uses: actions/checkout@v4
126-
## with:
127-
## ref: stable
128-
## repository: ${{ github.repository }}
129-
## ssh-key: ${{ secrets.SALT_VMTOOLS_RELEASE_KEY }}
130-
## fetch-depth: 0
131-
132-
## - name: Configure Git
133-
## shell: bash
134-
## run: |
135-
## git config --global --add safe.directory "$(pwd)"
136-
## git config --global user.name "Salt Project Packaging"
137-
## git config --global user.email [email protected]
138-
## git config --global commit.gpgsign false
139-
140-
## - name: Download Release Details
141-
## uses: actions/download-artifact@v4
142-
## with:
143-
## name: release-details
144-
145-
## - name: Merge develop into stable
146-
## run: |
147-
## git merge --no-ff -m "Merge develop into stable for ${{ needs.update-develop.outputs.release-version }} release" origin/develop || touch .git-conflicts
148-
## if [ -f .git-conflicts ]
149-
## then
150-
## git diff
151-
## for f in $(git status | grep 'both modified' | awk '{ print $3 }')
152-
## do
153-
## git checkout --theirs "$f"
154-
## pre-commit run -av --files "$f"
155-
## git add "$f"
156-
## done
157-
## git commit -a -m "Merge develop into stable for ${{ needs.update-develop.outputs.release-version }} release(auto resolving conflicts to the develop version)"
158-
## fi
159-
160-
## - name: Tag The ${{ needs.update-develop.outputs.release-version }} Release
161-
## run: |
162-
## git tag --no-sign -m "Release ${{ needs.update-develop.outputs.release-version }}" -a ${{ needs.update-develop.outputs.release-version }}
163-
164-
## ## - name: Update svtminion.sh sha256sum's
165-
## ## run: |
166-
## ## sha256sum svtminion.sh | awk '{ print $1 }' > svtminion.sh.sha256
167-
## ## sha256sum svtminion.ps1 | awk '{ print $1 }' > svtminion.ps1.sha256
168-
## ## git commit -a -m "Update sha256 checksums" || git commit -a -m "Update sha256 checksums"
169-
170-
## ## - name: Push Changes
171-
## ## uses: ad-m/github-push-action@b87afee92c6e70ea888be6203a3e9426fda49839
172-
## ## with:
173-
## ## ssh: true
174-
## ## tags: true
175-
## ## atomic: true
176-
## ## branch: stable
177-
## ## repository: ${{ github.repository }}
178-
179116
publish-release:
180117
name: Create GitHub Release
181118
runs-on: ubuntu-latest
@@ -211,7 +148,6 @@ jobs:
211148
212149
- name: Tag The ${{ needs.update-main.outputs.release-version }} Release
213150
run: |
214-
## DGM git tag --no-sign -m "Release ${{ needs.update-main.outputs.release-version }}" -a ${{ needs.update-main.outputs.release-version }}
215151
git tag -f --no-sign -m "Release ${{ needs.update-main.outputs.release-version }}" -a ${{ needs.update-main.outputs.release-version }}
216152
217153
- name: Create Github Release
@@ -256,7 +192,6 @@ jobs:
256192
run: |
257193
echo "SH=$(sha256sum linux/svtminion.sh | awk '{ print $1 }')" >> "$GITHUB_ENV"
258194
echo "VMTS_VERSION=$(bash linux/svtminion.sh --version | awk '{ print $1 }')" >> "$GITHUB_ENV"
259-
echo "DGM SH ,${SH}, and VMTS_VERSION ,${VMTS_VERSION},"
260195
261196
- uses: actions/checkout@v4
262197
with:

.github/workflows/test-linux.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -46,42 +46,12 @@ jobs:
4646
steps:
4747
- uses: actions/checkout@v4
4848

49-
## - name: Install Python Dependencies with pip breakage
50-
## if: ${{ ( inputs.distro-slug == 'debian-11' ) || ( inputs.distro-slug == 'debian-12' ) || ( inputs.distro-slug == 'debian-13' ) || ( inputs.distro-slug == 'ubuntu-2404' ) }}
51-
## run: |
52-
## echo "DGM pip test for distro-slug ${{ inputs.distro-slug }}"
53-
## echo "DGM doing break-system-packages for distro-slug ${{ inputs.distro-slug }}"
54-
## python3 -m pip install --break-system-packages -r tests/requirements.txt
55-
56-
## - name: Install Python Dependencies without pip breakage
57-
## if: ${{ ( inputs.distro-slug != 'debian-11' ) && ( inputs.distro-slug != 'debian-12' ) && ( inputs.distro-slug != 'debian-13' ) && ( inputs.distro-slug != 'ubuntu-2404' ) }}
58-
## run: |
59-
## echo "DGM pip test for distro-slug ${{ inputs.distro-slug }}"
60-
## echo "DGM plain pip for distro-slug ${{ inputs.distro-slug }}"
61-
## python3 -m pip install -r tests/requirements.txt
62-
63-
## - name: Get Version
64-
## run: |
65-
## # We need to get the version here and make it an environment variable
66-
## # It is used to install via bootstrap and in the test
67-
## # The version is in the instance name
68-
## # sed 1st - becomes space, 2nd - becomes dot
69-
## ## DGM needs cleanup
70-
## echo "matrix instance ,${{ matrix.instance }},"
71-
## vt_parms=$(echo "${{ matrix.instance }}" | sed 's/-/ /' | sed 's/-/./')
72-
## vt_parm_ver=$(echo "$vt_parms" | awk -F ' ' '{print $2}')
73-
## echo "vt parms ,$vt_parms, vt_parms_ver ,$vt_parm_ver,"
74-
## echo "SaltVersion=$vt_parm_ver" >> $GITHUB_ENV
75-
7649
- name: VMTools Salt
7750
run: |
7851
# sed 1st - becomes space, 2nd - becomes dot
79-
## DGM needs cleanup
80-
echo "matrix instance ,${{ matrix.instance }},"
8152
bt_parms=$(echo "${{ matrix.instance }}" | sed 's/-/ /' | sed 's/-/./')
8253
bt_arg1=$(echo "$bt_parms" | awk -F ' ' '{print $1}')
8354
bt_arg2=$(echo "$bt_parms" | awk -F ' ' '{print $2}')
84-
echo "bt parms ,$bt_parms, bt_arg1 ,$bt_arg1, bt_arg2 ,$bt_arg2,"
8555
bash -x ./linux/svtminion.sh "$bt_arg1" "$bt_arg2"
8656
8757
- name: Test VMTools

tests/linux/test-linux.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,6 @@ cat /etc/salt/minion | grep 'master:\ 192.168.0.5' 1>/dev/null
219219
./svtminion.sh --remove || { _retn=$?; echo "test failed, did not uninstall the salt-minion, returned '${_retn}'"; }
220220

221221
# test with classic package installed
222-
## rpm --import https://repo.saltproject.io/py3/redhat/8/x86_64/3005/SALTSTACK-GPG-KEY.pub # DGM FIX
223-
## curl -fsSL https://repo.saltproject.io/py3/redhat/8/x86_64/3005.repo | tee /etc/yum.repos.d/salt.repo # DGM FIX
224222
# Use 3005 Redhat 9 for Rocky 9 container
225223
rpm --import ${oldpwd}/tests/classic/SALTSTACK-GPG-KEY2.pub
226224
cp -a ${oldpwd}/tests/classic/3005.repo /etc/yum.repos.d/salt.repo

0 commit comments

Comments
 (0)