Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release February 2025 #1296

Open
wants to merge 582 commits into
base: master
Choose a base branch
from
Open

Release February 2025 #1296

wants to merge 582 commits into from

Conversation

nedvedba
Copy link
Collaborator

This pull request is to track the progress of the deployment to production for February 12, 2025.

Comment on lines +1 to +13
#!/bin/bash
# Description
#
# This script sets up a collection directory for DataFed.
# It checks for necessary permissions and environment variables,
# creates the directory if it doesn't exist, and sets the correct ownership.
set -euf -o pipefail

readonly SCRIPT=$(realpath "${BASH_SOURCE}")
readonly SOURCE=$(dirname "$SCRIPT")
readonly PROJECT_ROOT=$(realpath "${SOURCE}"/../../)
readonly FILENAME=$(basename "${BASH_SOURCE}")

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a nice script but I don't remember seeing any admin documentation for it's use.

# implications on the CI pipelines as well as the ability to detect problems
# when standing up datafed.
# -e turns on failures if script hits a problem
set -euf -o pipefail

SCRIPT=$(realpath "$0")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should have been BASH_SOURCE

Comment on lines 13 to +15
packages=("host" "libtool" "build-essential" "g++" "gcc" "autoconf"
"automake" "make" "git" "python3-pkg-resources" "python3-pip" "pkg-config"
"libglobus-common-dev" "wget" "jq" "sudo" "libboost-all-dev" "python3-venv")
"libglobus-common-dev" "wget" "jq" "sudo" "libboost-all-dev" "python3-venv" "libgssapi-krb5-2")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documentation is missing for how and why each of these are needed.

Comment on lines +5 to +13
# -e has been added back, password file deletion should be handled by another
# means such as the CI after script section. If the API fails to install, it
# could lead to improper testing the CI env.
#
# -e has been removed so that if an error occurs the PASSWORD File is deleted
# and not left lying around
#
# -u has been removed because we have no guarantees that the env variables are
# defined
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should have dates so it is clear which comment is the newest.

Comment on lines +52 to +64
// {
// name: 'firefox',
// use: {
// ...devices['Desktop Firefox'],
// },
// },

// {
// name: 'webkit',
// use: {
// ...devices['Desktop Safari'],
// },
// },
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be removed.

Fix bug in CI scripts associated with repo and gcs image build
dbGetRaw(const char *a_url_path,
const std::vector<std::pair<std::string, std::string>> &a_params,
std::string &a_result);
bool dbGetRaw(const std::string url, std::string &a_result);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

url should probably be a const reference.

Comment on lines +56 to 62
RUN curl -OL https://download.arangodb.com/arangodb312/DEBIAN/Release.key; apt-key add - < Release.key

# RUN echo 'deb https://download.arangodb.com/arangodb311/DEBIAN/ /' | tee /etc/apt/sources.list.d/arangodb.list
# If trust the site but the gpg key has expired can add [trusted=yes]
# i.e.
RUN echo 'deb [trusted=yes] https://download.arangodb.com/arangodb311/DEBIAN/ /' | tee /etc/apt/sources.list.d/arangodb.list
RUN echo 'deb [trusted=yes] https://download.arangodb.com/arangodb312/DEBIAN/ /' | tee /etc/apt/sources.list.d/arangodb.list
RUN apt update
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ArangoDB version should be defined in one place and used consistently everywhere else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High Highest priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Release] Manage DataFed v2025.2.12.14.01 Release
4 participants