ui-gui: archive-mgr: added initial parameters for the archive type #72
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install_sm_notests.yml | |
# | |
# (C) 2024 Dr. Bassler & Co. Managementberatung GmbH | |
# | |
# Installs the Stoage Manager (SM) without test execution | |
# | |
# @author Denys Chaykovskiy | |
# | |
name: Install SM only no tests | |
on: | |
push: | |
branches: [ "dev-denys" ] | |
pull_request: | |
branches: [ "dev-denys" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '15.x' | |
- name: Install dependencies | |
run: npm install | |
- name: Install raml2html | |
run: npm i -g raml2html | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: maven | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Create registry folder | |
run: mkdir /home/runner/work/prosEOregistry | |
- name: Check docker status | |
run: systemctl status docker | |
- name: Create settings.xml in .m2 | |
run: | | |
cd ~/.m2 | |
echo '<settings><profiles><profile><id>dev-local</id><!-- or any other id you prefer --><activation><activeByDefault>true</activeByDefault></activation><properties><docker.registry>localhost:5000</docker.registry></properties></profile></profiles></settings>' > ~/.m2/settings.xml | |
ls -la | |
- name: Create local registry | |
run: docker run -d -p 5000:5000 --restart always -e STORAGE_DELETE_ENABLED=true -v /home/runner/work/prosEOregistry:/var/lib/registry --name registry registry:2 | |
- name: Add openjdk container | |
run: | | |
docker pull openjdk:11 | |
docker tag openjdk:11 localhost:5000/openjdk:11 | |
docker push localhost:5000/openjdk:11 | |
- name: Show docker images | |
run: docker images | |
- name: Show docker containers | |
run: docker container ls | |
- name: Install SM only no tests | |
run: mvn -B install --file pom.xml -pl storage-mgr -am -Dmaven.test.skip=true |