Commit 380a7b5a authored by krichter722's avatar krichter722

initial commit

parents
Pipeline #14030814 failed with stage
in 7 minutes and 11 seconds
# @TODO:
# - figure out how to share script code between different jobs
# - Figure out in how far it makes sense to test on different OS. In case that makes sense, testing on Ubuntu 14.04 is painful since it doesn't provide OpenJDK 8 out-of-the-box.
variables:
GIT_SUBMODULE_STRATEGY: recursive
# necessary to allow specific runners to clone the project1 submodule, see https://stackoverflow.com/a/42224451/1797006 for details
before_script:
- apt-get update
main:
image: debian:sid
script:
- apt-get install --yes git maven openjdk-8-jdk ssh
- apt-get install --yes python3
- git submodule update --init --recursive
- mount
#- git clone --branch local1 https://github.com/krichter722/arquillian-spacelift.git && cd arquillian-spacelift && mvn --batch-mode install && cd ..
#- git clone --branch absolute_file_debugging https://github.com/krichter722/arquillian-extension-drone.git && cd arquillian-extension-drone && mvn --batch-mode install && cd ..
- mvn --batch-mode install -DskipITs=true # --batch-mode batch mode makes Maven less verbose
- cd gitlab-ci-file-creation && mvn --batch-mode -Parquillian-glassfish-embedded verify -Dbrowser=phantomjs && cd ..
[submodule "gitlab-ci-file-creation"]
path = gitlab-ci-file-creation
url = https://gitlab.com/krichter/gitlab-ci-file-creation
Subproject commit 8d7cfb28a27fe028bd7b8ded58db0c9ef6a29e67
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>richtercloud</groupId>
<artifactId>gitlab-ci-file-creation-aggregator</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>gitlab-ci-file-creation-aggregator</name>
<modules>
<module>gitlab-ci-file-creation</module>
</modules>
</project>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE resources PUBLIC
"-//GlassFish.org//DTD GlassFish Application Server 3.1 Resource Definitions//EN"
"http://glassfish.org/dtds/glassfish-resources_1_5.dtd">
<resources>
<!-- <jdbc-resource pool-name="ArquillianEmbeddedDerbyPool"
jndi-name="jdbc/arquillian"/>
<jdbc-connection-pool name="ArquillianEmbeddedDerbyPool"
res-type="javax.sql.DataSource"
datasource-classname="org.apache.derby.jdbc.EmbeddedDataSource"
is-isolation-level-guaranteed="false">
<property name="databaseName" value="target/databases/derby"/>
<property name="createDatabase" value="create"/>
</jdbc-connection-pool>-->
<jdbc-resource enabled="true" jndi-name="jdbc/project1-test-db" object-type="user" pool-name="connectionPool">
<description/>
</jdbc-resource>
<jdbc-connection-pool allow-non-component-callers="false"
associate-with-thread="false"
connection-creation-retry-attempts="0"
connection-creation-retry-interval-in-seconds="10"
connection-leak-reclaim="false"
connection-leak-timeout-in-seconds="0"
connection-validation-method="auto-commit"
datasource-classname="org.apache.derby.jdbc.EmbeddedDataSource"
fail-all-connections="false"
idle-timeout-in-seconds="300"
is-connection-validation-required="false"
is-isolation-level-guaranteed="true"
lazy-connection-association="false"
lazy-connection-enlistment="false"
match-connections="false"
max-connection-usage-count="0"
max-pool-size="32"
max-wait-time-in-millis="60000"
name="connectionPool"
non-transactional-connections="false"
pool-resize-quantity="2"
res-type="javax.sql.DataSource"
statement-timeout-in-seconds="-1"
steady-pool-size="8"
validate-atmost-once-period-in-seconds="0"
wrap-jdbc-objects="false">
<property name="URL" value="jdbc:derby://localhost:1528/project1-test-db"/>
<property name="User" value="project1"/>
<property name="Password" value="project1"/>
<property name="databaseName" value="project1-test-db"/>
<!-- the database name shouldn't match any submodule names because
then their project directory can be mixed up when running
Maven from different base directories -->
<property name="portNumber" value="1528"/>
<property name="serverName" value="localhost"/>
<property name="connectionAttributes" value="create=true"/>
</jdbc-connection-pool>
</resources>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment