Skip to content

Commit c82b047

Browse files
ci: remove marketplace integrations (#1602)
Co-authored-by: jeho <[email protected]>
1 parent 7856756 commit c82b047

File tree

4 files changed

+15
-48
lines changed

4 files changed

+15
-48
lines changed

.github/workflows/cloudtty-build-push.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515

1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919
with:
2020
fetch-depth: '2'
2121

2222
- name: Set up Docker Buildx
23-
uses: docker/setup-buildx-action@v2
23+
uses: docker/setup-buildx-action@v3
2424

2525
- name: Determine version
2626
id: determine-version
@@ -72,7 +72,7 @@ jobs:
7272
7373
- name: Login to GitHub Container Registry
7474
if: ${{ env.NEW_VERSION != null }}
75-
uses: docker/login-action@v2.1.0
75+
uses: docker/login-action@v3
7676
with:
7777
username: 'otomi'
7878
password: '${{ secrets.DOCKERHUB_OTOMI_TOKEN }}'

.github/workflows/integration.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ jobs:
263263
--docker-username=${{ env.GIT_USER }} \
264264
--docker-password='${{ secrets.NPM_TOKEN }}'
265265
- name: Checkout
266-
uses: actions/checkout@v3
266+
uses: actions/checkout@v4
267267
- name: Prepare Otomi chart
268268
if: ${{ inputs.install_profile != 'no-otomi' }}
269269
run: |
@@ -391,7 +391,7 @@ jobs:
391391
--docker-username=${{ env.GIT_USER }} \
392392
--docker-password='${{ secrets.NPM_TOKEN }}'
393393
- name: Checkout
394-
uses: actions/checkout@v3
394+
uses: actions/checkout@v4
395395
- name: Prepare Otomi chart
396396
if: ${{ inputs.install_profile != 'no-otomi' }}
397397
run: |

.github/workflows/main.yml

+7-40
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
git config --global user.email [email protected]
2727
git config --global user.name $GIT_USER
2828
- name: Checkout
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030
# - name: CI tests, image build and push tag for main or branch
3131
# uses: whoan/docker-build-with-cache-action@v5
3232
# with:
@@ -37,15 +37,15 @@ jobs:
3737
# image_tag: ${{ env.TAG }}
3838
# pull_image_and_stages: true
3939
- name: Set up Docker Buildx
40-
uses: docker/setup-buildx-action@v2
40+
uses: docker/setup-buildx-action@v3
4141
- name: Login to Github Packages
42-
uses: docker/login-action@v2.1.0
42+
uses: docker/login-action@v3
4343
with:
4444
registry: ${{ env.CACHE_REGISTRY }}
4545
username: ${{ env.GIT_USER }}
4646
password: '${{ secrets.NPM_TOKEN }}'
4747
- name: CI tests, image build and push tag for main or branch
48-
uses: docker/build-push-action@v3
48+
uses: docker/build-push-action@v5
4949
with:
5050
push: true
5151
tags: |
@@ -77,7 +77,7 @@ jobs:
7777
COMMIT_MSG: ${{ github.event.head_commit.message }}
7878
steps:
7979
- name: Checkout
80-
uses: actions/checkout@v3
80+
uses: actions/checkout@v4
8181
- name: Set env
8282
run: |
8383
git config --global user.email [email protected]
@@ -120,7 +120,7 @@ jobs:
120120
options: --user 0
121121
steps:
122122
- name: Checkout
123-
uses: actions/checkout@v3
123+
uses: actions/checkout@v4
124124
- name: Prepare chart
125125
id: prepare_chart
126126
run: |
@@ -225,7 +225,7 @@ jobs:
225225
region=nl-ams \
226226
project-id=${{ secrets.SCW_DEFAULT_PROJECT_ID }} \
227227
--wait
228-
echo "CLuster deployed successfully"
228+
echo "Cluster deployed successfully"
229229
- name: Installing new otomi release
230230
run: |
231231
# Get cluster ID and set env var
@@ -277,36 +277,3 @@ jobs:
277277
SLACK_ICON: https://github.com/redkubes.png?size=48
278278
SLACK_TITLE: CI run
279279
SLACK_USERNAME: RedKubesBot
280-
281-
execute-aws-marketplace:
282-
name: AWS Dispatch
283-
needs: chart-release
284-
if: always() && contains(needs.chart-release.result, 'success') && !github.event.act
285-
runs-on: ubuntu-latest
286-
steps:
287-
- uses: actions/github-script@v6
288-
with:
289-
github-token: ${{ secrets.ACTIONS_KEY }}
290-
script: |
291-
await github.rest.actions.createWorkflowDispatch({
292-
owner: 'redkubes',
293-
repo: 'aws-marketplace',
294-
workflow_id: 'deploy_release.yaml',
295-
ref: 'main'
296-
})
297-
execute-azure-marketplace:
298-
name: Azure Dispatch
299-
needs: chart-release
300-
if: always() && contains(needs.chart-release.result, 'success') && !github.event.act
301-
runs-on: ubuntu-latest
302-
steps:
303-
- uses: actions/github-script@v6
304-
with:
305-
github-token: ${{ secrets.ACTIONS_KEY }}
306-
script: |
307-
await github.rest.actions.createWorkflowDispatch({
308-
owner: 'redkubes',
309-
repo: 'azure-marketplace',
310-
workflow_id: 'deploy_release.yaml',
311-
ref: 'main'
312-
})

.github/workflows/otomi-tools-build-push.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222

2323
steps:
2424
- name: Checkout code
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
with:
2727
fetch-depth: '2'
2828

2929
- name: Set up Docker Buildx
30-
uses: docker/setup-buildx-action@v2
30+
uses: docker/setup-buildx-action@v3
3131

3232
- name: Determine version
3333
id: determine-version
@@ -80,7 +80,7 @@ jobs:
8080
8181
- name: Login to GitHub Container Registry
8282
if: ${{ env.NEW_VERSION != null }}
83-
uses: docker/login-action@v2.1.0
83+
uses: docker/login-action@v3
8484
with:
8585
username: 'otomi'
8686
password: '${{ secrets.DOCKERHUB_OTOMI_TOKEN }}'

0 commit comments

Comments
 (0)