Skip to content

Commit 3867931

Browse files
authored
Merge pull request #108 from datastax/issue/CDM-15
CDM-15 : enabling snapshot version
2 parents 856d5b3 + f545e7c commit 3867931

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed
Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: Build and test jar with integration tests
2-
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
32
on: [push]
43
jobs:
5-
Explore-GitHub-Actions:
4+
CDM-Integration-Test:
65
runs-on: ubuntu-latest
76
steps:
87
- uses: actions/checkout@v3
@@ -12,12 +11,8 @@ jobs:
1211
java-version: '8'
1312
distribution: 'temurin'
1413
cache: maven
15-
- name: Build with Maven
16-
run: mvn -B package --file pom.xml
17-
1814
- name: Test SIT with cdm
1915
working-directory: SIT
2016
run: |
2117
echo "Testing SIT with cdm"
22-
chmod o+rx ./environment.sh
23-
make -f Makefile
18+
make -f Makefile

SIT/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11

2-
all: set_permissions setup test_smoke env_teardown
2+
all: setup test_smoke env_teardown
33

4-
set_permissions:
5-
chmod -R 777 ./*.sh
64
setup: build env_setup
75

86
reset: build env_reset
@@ -16,6 +14,7 @@ test_smoke_cmd:
1614
./test.sh -p smoke
1715

1816
env_setup:
17+
chmod -R 777 ./*.sh
1918
./environment.sh -m setup -j ../target/cassandra-data-migrator*.jar
2019
env_reset:
2120
./environment.sh -m reset -j ../target/cassandra-data-migrator*.jar

pom.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<properties>
1010
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
11-
<revision>3.4.0</revision>
11+
<revision>4.0.0-SNAPSHOT</revision>
1212
<scala.version>2.12.17</scala.version>
1313
<scala.main.version>2.12</scala.main.version>
1414
<spark.version>3.3.1</spark.version>
@@ -23,6 +23,9 @@
2323
<id>github</id>
2424
<name>GitHub Packages</name>
2525
<url>https://maven.pkg.github.com/datastax/cassandra-data-migrator</url>
26+
<snapshots>
27+
<enabled>false</enabled>
28+
</snapshots>
2629
</repository>
2730
</distributionManagement>
2831

0 commit comments

Comments
 (0)