Skip to content

Commit 5081b7d

Browse files
committed
updating links to point to production
1 parent bb4effa commit 5081b7d

File tree

2 files changed

+37
-37
lines changed

2 files changed

+37
-37
lines changed

.github/workflows/release.yaml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- name: Run GoReleaser
7777
uses: goreleaser/goreleaser-action@v6
7878
with:
79-
args: release --clean --skip=publish --skip=validate
79+
args: release --clean
8080
env:
8181
GITHUB_TOKEN: ${{ secrets.CLI_RELEASE }}
8282
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
@@ -96,50 +96,50 @@ jobs:
9696
path: dist
9797
retention-days: 1
9898

99-
# publish-apt:
100-
# name: Publish APT
101-
# runs-on: macOS-latest
102-
# needs: [goreleaser]
103-
# env:
104-
# # Needed to publish new packages to our S3-hosted APT repo
105-
# AWS_ACCESS_KEY_ID: ${{ secrets.OBJECT_STORAGE_ACCESS_KEY_ID }}
106-
# AWS_SECRET_ACCESS_KEY: ${{ secrets.OBJECT_STORAGE_SECRET_ACCESS_KEY }}
107-
# steps:
108-
# - name: Checkout
109-
# uses: actions/checkout@v5
99+
publish-apt:
100+
name: Publish APT
101+
runs-on: macOS-latest
102+
needs: [goreleaser]
103+
env:
104+
# Needed to publish new packages to our S3-hosted APT repo
105+
AWS_ACCESS_KEY_ID: ${{ secrets.OBJECT_STORAGE_ACCESS_KEY_ID }}
106+
AWS_SECRET_ACCESS_KEY: ${{ secrets.OBJECT_STORAGE_SECRET_ACCESS_KEY }}
107+
steps:
108+
- name: Checkout
109+
uses: actions/checkout@v5
110110

111-
# # use the artifacts from the "goreleaser" job
112-
# - name: Download artifacts from workflow
113-
# uses: actions/download-artifact@v5
114-
# with:
115-
# name: goreleaser-dist-temp
116-
# path: dist
111+
# use the artifacts from the "goreleaser" job
112+
- name: Download artifacts from workflow
113+
uses: actions/download-artifact@v5
114+
with:
115+
name: goreleaser-dist-temp
116+
path: dist
117117

118-
# - name: Install Aptly
119-
# run: brew install aptly
118+
- name: Install Aptly
119+
run: brew install aptly
120120

121-
# - name: Import GPG key
122-
# uses: crazy-max/ghaction-import-gpg@v6
123-
# id: import_gpg
124-
# with:
125-
# gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
126-
# passphrase: ${{ secrets.GPG_PASSPHRASE }}
121+
- name: Import GPG key
122+
uses: crazy-max/ghaction-import-gpg@v6
123+
id: import_gpg
124+
with:
125+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
126+
passphrase: ${{ secrets.GPG_PASSPHRASE }}
127127

128-
# - name: Publish packages to APT repo
129-
# if: contains(github.ref_name, '-') == false
130-
# env:
131-
# GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
132-
# GPG_PRIVATE_KEY_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
133-
# run: ./scripts/publish-apt-packages.sh
128+
- name: Publish packages to APT repo
129+
if: contains(github.ref_name, '-') == false
130+
env:
131+
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
132+
GPG_PRIVATE_KEY_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
133+
run: ./scripts/publish-apt-packages.sh
134134

135135
publish-rpm:
136136
name: Publish RPM
137137
runs-on: ubuntu-latest
138138
needs: [goreleaser]
139139
env:
140140
# Needed to publish new packages to our S3-hosted RPM repo
141-
AWS_ACCESS_KEY_ID: ${{ secrets.TEST_OBJECT_STORAGE_ACCESS_KEY_ID }}
142-
AWS_SECRET_ACCESS_KEY: ${{ secrets.TEST_OBJECT_STORAGE_SECRET_ACCESS_KEY }}
141+
AWS_ACCESS_KEY_ID: ${{ secrets.OBJECT_STORAGE_ACCESS_KEY_ID }}
142+
AWS_SECRET_ACCESS_KEY: ${{ secrets.OBJECT_STORAGE_SECRET_ACCESS_KEY }}
143143
AWS_DEFAULT_REGION: eu01
144144
AWS_ENDPOINT_URL: https://object.storage.eu01.onstackit.cloud
145145
steps:
@@ -165,7 +165,7 @@ jobs:
165165
passphrase: ${{ secrets.GPG_PASSPHRASE }}
166166

167167
- name: Publish RPM packages
168-
# if: contains(github.ref_name, '-') == false
168+
if: contains(github.ref_name, '-') == false
169169
env:
170170
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
171171
GPG_PRIVATE_KEY_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}

scripts/publish-rpm-packages.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
# Usage: ./publish-rpm-packages.sh
55
set -eo pipefail
66

7-
PACKAGES_BUCKET_URL="https://distribution-test.object.storage.eu01.onstackit.cloud"
7+
PACKAGES_BUCKET_URL="https://packages.stackit.cloud"
88
PUBLIC_KEY_FILE_PATH="keys/key.gpg"
99
RPM_REPO_PATH="rpm/cli"
10-
RPM_BUCKET_NAME="distribution-test"
10+
RPM_BUCKET_NAME="distribution"
1111
GORELEASER_PACKAGES_FOLDER="dist/"
1212

1313
# We need to disable the key database daemon (keyboxd)

0 commit comments

Comments
 (0)