Skip to content

Commit

Permalink
Update versions and add gitlab-workflow Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
SDawley committed Jul 25, 2023
1 parent 7f80d55 commit 97bfbe1
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 8 deletions.
33 changes: 33 additions & 0 deletions gitlab.gitlab-workflow/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#
# Copyright (c) 2020-2023 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#

ARG extension_image

FROM registry.access.redhat.com/ubi8/${extension_image}

ARG extension_repository
ARG extension_revision
ARG extension_name
ARG extension_manager
ARG extension_vsce

USER root
WORKDIR /

RUN npm install -g ${extension_manager}

RUN mkdir ./${extension_name}-src && cd ./${extension_name}-src && \
git clone ${extension_repository} ${extension_name} && \
cd ./${extension_name} && git checkout ${extension_revision} && \
rm -rf ./.git && tar -czvf /${extension_name}-sources.tar.gz ./ && \
npm install -g @vscode/vsce@${extension_vsce} [email protected] && \
if [[ -f yarn.lock ]]; then yarn install; \
else npm install --unsafe-perm=true --allow-root; fi && \
npm run package && \
mv ./dist-desktop/gitlab-workflow-*.vsix /gitlab.gitlab-workflow.vsix
17 changes: 9 additions & 8 deletions plugin-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
},
"gitlab.gitlab-workflow": {
"repository": "https://gitlab.com/gitlab-org/gitlab-vscode-extension.git/",
"revision": "v3.68.0",
"revision": "v3.68.4",
"update": "true"
},
"golang.go": {
Expand Down Expand Up @@ -85,13 +85,14 @@
"update": "true"
},
"ms-python.black-formatter": {
"comment": "Version: 2023.3.0-dev",
"repository": "https://github.com/microsoft/vscode-black-formatter",
"revision": "2023.3.0-dev",
"revision": "e0f7830d7d76d92d4f0d7deb840a0d7fd4cbf788",
"update": "true"
},
"ms-python.python": {
"repository": "https://github.com/microsoft/vscode-python",
"revision": "2023.12.0",
"revision": "v2023.12.0",
"update": "true"
},
"ms-toolsai.jupyter": {
Expand Down Expand Up @@ -153,8 +154,8 @@
},
"redhat.ansible": {
"repository": "https://github.com/ansible/vscode-ansible",
"revision": "v2.4.78",
"update": "true",
"revision": "v2.4",
"update": "false",
"packageManager": "[email protected]"
},
"redhat.fabric8-analytics": {
Expand Down Expand Up @@ -218,14 +219,14 @@
},
"redhat.vscode-yaml": {
"repository": "https://github.com/redhat-developer/vscode-yaml",
"revision": "1.13.0",
"revision": "1.14.0",
"update": "true",
"packageManager": "[email protected]"
},
"sonarsource.sonarlint-vscode": {
"repository": "https://github.com/SonarSource/sonarlint-vscode",
"revision": "3.19.2",
"update": "true"
"revision": "3.19.2+73908",
"update": "false"
},
"sonatypecommunity.vscode-iq-plugin": {
"repository": "https://github.com/sonatype-nexus-community/vscode-iq-plugin",
Expand Down

0 comments on commit 97bfbe1

Please sign in to comment.