Skip to content

Commit

Permalink
MGMT-15964: Bump assisted-installer, assisted-installer-agent, assist…
Browse files Browse the repository at this point in the history
…ed-service to latest versions

The dependencies in the swarm project have been too old for some time.
This PR addresses that by bumping versions to the latest.
  • Loading branch information
paul-maidment committed May 23, 2024
1 parent a77957e commit 31dde93
Show file tree
Hide file tree
Showing 9,039 changed files with 2,408,828 additions and 4,636 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion Dockerfile.assisted-swarm-build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.ci.openshift.org/openshift/release:golang-1.17
FROM registry.ci.openshift.org/openshift/release:golang-1.21
ENV GO111MODULE=on
ENV GOFLAGS=""

Expand Down
3 changes: 3 additions & 0 deletions agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ def run_agent(self, next_state):
cluster_hosts_file.write(json.dumps(self.cluster_agent_config.cluster_hosts))
cluster_hosts_file_path = cluster_hosts_file.name

self.logging.info(f"swarm_agent_config.agent_image_path: {self.swarm_agent_config.agent_image_path}")

new_agent_params = assisted_swarm.NewAgentParams(
service_url=self.service_url,
infra_env_id=self.infraenv_id,
Expand All @@ -278,6 +280,7 @@ def run_agent(self, next_state):
)

response = self.swarm_agent_config.swarm_client.create_new_agent(new_agent_params=new_agent_params)
self.logging.info(f"response: {response}")
try:
return next_state if self.wait_for_completion(response.id) else self.state
finally:
Expand Down
98 changes: 0 additions & 98 deletions assisted_swarm_client/README.md

This file was deleted.

29 changes: 0 additions & 29 deletions assisted_swarm_client/assisted_swarm/__init__.py

This file was deleted.

6 changes: 0 additions & 6 deletions assisted_swarm_client/assisted_swarm/api/__init__.py

This file was deleted.

Loading

0 comments on commit 31dde93

Please sign in to comment.