-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
9 changed files
with
210 additions
and
105 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Script-Languages-Container-CI 1.3.2, 2023-07-07 | ||
|
||
Code name: Bugfix for the Bugfix in 1.3.1 | ||
|
||
## Summary | ||
|
||
This release fixes a bug which was in the Bugfix in 1.3.1 | ||
|
||
## Bug Fixes | ||
|
||
- #44: CIPrepare creates the log file as a directory | ||
|
||
## Features / Enhancements | ||
|
||
n/a | ||
|
||
## Documentation | ||
|
||
n/a | ||
|
||
## Refactoring | ||
|
||
n/a |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import logging | ||
import os | ||
from pathlib import Path | ||
|
||
import pytest | ||
from exasol_integration_test_docker_environment.lib.base import luigi_log_config | ||
|
||
from exasol_script_languages_container_ci.lib.ci_build import CIBuild | ||
from exasol_script_languages_container_ci.lib.ci_prepare import CIPrepare | ||
|
||
def test(flavors_path, | ||
test_containers_folder, | ||
mock_settings_env_vars): | ||
test_type = "successful" | ||
flavor_path = str(flavors_path / test_type) | ||
test_container_folder = str(test_containers_folder / test_type) | ||
CIPrepare().prepare() | ||
CIBuild().build( | ||
flavor_path=(flavor_path,), | ||
rebuild=False, | ||
commit_sha="COMMIT_SHA", | ||
build_docker_repository="input_docker_build_repository", | ||
docker_user=None, | ||
docker_password=None, | ||
test_container_folder=test_container_folder | ||
) | ||
log_path = Path(os.environ[luigi_log_config.LOG_ENV_VARIABLE_NAME]) | ||
assert log_path.is_file() |
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