Skip to content

Commit

Permalink
ci: Workaround for 1st headless build release
Browse files Browse the repository at this point in the history
  • Loading branch information
jamilraichouni committed Oct 23, 2024
1 parent b180888 commit baf5041
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 26 deletions.
25 changes: 6 additions & 19 deletions .github/workflows/build-addon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Run pre-commit
run: |-
pre-commit run --all-files
setup-build-environment:
build-addons:
strategy:
matrix:
capella:
Expand All @@ -55,11 +55,14 @@ jobs:
# jdk:
# name: "jdk-17.0.11+9"
# url: "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.11%2B9/OpenJDK17U-jdk_x64_linux_hotspot_17.0.11_9.tar.gz"
name: Setup build environment for Capella ${{ matrix.capella.version }}
addon:
- rest-api
name: Setup build environment for Capella ${{ matrix.capella.version }} and build addon ${{ matrix.addon }}
needs: [quality]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
Expand Down Expand Up @@ -99,22 +102,6 @@ jobs:
fi
tar xzf jdtls.tar.gz
rm *.tar.gz
build-addons:
name: Build addons
needs: [quality, setup-build-environment]
runs-on: ubuntu-latest
strategy:
matrix:
capella_version:
- '6.0.0'
# - '6.1.0'
# - '7.0.0'
addon:
- rest-api
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# - name: Install `capella-addons` CLI tool
# run: |-
# pip install .
Expand Down
7 changes: 0 additions & 7 deletions capella_addons/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
import lxml.builder
import lxml.etree

import capella_addons

logging.basicConfig(level=logging.INFO, format="%(levelname)s - %(message)s")
logger = logging.getLogger(__name__)
response_stdout_generator = itertools.count(1)
Expand Down Expand Up @@ -61,11 +59,6 @@ class BuildWorkspaceStatus(Enum):


@click.group()
@click.version_option(
version=capella_addons.__version__,
prog_name="eclipse-plugin-builders",
message="%(prog)s %(version)s",
)
@click.option(
"-v",
"--verbose",
Expand Down

0 comments on commit baf5041

Please sign in to comment.